#
769de168 |
| 23-Jul-2020 |
Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> |
net/bnxt: fix port default rule create/destroy
Currently, the flow_ids of port_to_app/app_to_port & tx_cfa_action for the first port are getting over-written by the second port because these fields
net/bnxt: fix port default rule create/destroy
Currently, the flow_ids of port_to_app/app_to_port & tx_cfa_action for the first port are getting over-written by the second port because these fields are stored in the ulp context which is common across the ports.
This patch fixes the problem by having per port structure to store these fields.
Fixes: 9f702636d7ba ("net/bnxt: add port default rules for ingress and egress")
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
show more ...
|
#
0a58be6f |
| 23-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add access to NAT global register
Add support to enable or disable the NAT global registers. The NAT feature is enabled in hardware during initialization and disabled at deinitialization o
net/bnxt: add access to NAT global register
Add support to enable or disable the NAT global registers. The NAT feature is enabled in hardware during initialization and disabled at deinitialization of the application.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
cef3749d |
| 17-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: update TruFlow resource allocation numbers
The truflow session open allocation parameters are updated to support NAT records, L2 context regions, engress encap features.
Signed-off-by: Ki
net/bnxt: update TruFlow resource allocation numbers
The truflow session open allocation parameters are updated to support NAT records, L2 context regions, engress encap features.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
show more ...
|
#
6eb4ccff |
| 17-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: modify default egress rule for VF representor
The default egress rule should include buffer descriptor action record only if the VF representor is enabled.
Signed-off-by: Kishore Padmanab
net/bnxt: modify default egress rule for VF representor
The default egress rule should include buffer descriptor action record only if the VF representor is enabled.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
8cc50a63 |
| 17-Jul-2020 |
Peter Spreadborough <peter.spreadborough@broadcom.com> |
net/bnxt: modify resource management scheme
Add support for new resource manager to manage CFA resources. TCAM is split into high and low regions now and CFA resource types are being updated accordi
net/bnxt: modify resource management scheme
Add support for new resource manager to manage CFA resources. TCAM is split into high and low regions now and CFA resource types are being updated accordingly.
Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Farah Smith <farah.smith@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
c8636edd |
| 15-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: increase number of egress flow entries
Increase the number of egress flow entries.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnat
net/bnxt: increase number of egress flow entries
Increase the number of egress flow entries.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
16dbe6ab |
| 06-Jul-2020 |
Somnath Kotur <somnath.kotur@broadcom.com> |
net/bnxt: enable filter ctrl ops for port representor
Inorder to offload flows on the vfrep device, it must be populated with rte_flow_ops.
This patch enables the same.
Signed-off-by: Somnath Kotu
net/bnxt: enable filter ctrl ops for port representor
Inorder to offload flows on the vfrep device, it must be populated with rte_flow_ops.
This patch enables the same.
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
98487d72 |
| 06-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: cleanup and refactor session management
The return value of some functions is explicitly ignored in cases where scope id may not be valid for internal EM entries. Additional minor refactor
net/bnxt: cleanup and refactor session management
The return value of some functions is explicitly ignored in cases where scope id may not be valid for internal EM entries. Additional minor refactoring and cleanups - Change log level for some log messages to DEBUG instead of ERR. - Check data size conformity and log appropriate message.
Signed-off-by: Michael Wildt <michael.wildt@broadcom.com> Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
4eb53395 |
| 06-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: use source property for VXLAN encap/decap
The vxlan encap and decap flows need to allocate the source record property and populate the action fields during the flow parsing.
Signed-off-by
net/bnxt: use source property for VXLAN encap/decap
The vxlan encap and decap flows need to allocate the source record property and populate the action fields during the flow parsing.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
show more ...
|
#
9cf9c838 |
| 02-Jul-2020 |
Somnath Kotur <somnath.kotur@broadcom.com> |
net/bnxt: add ULP flow counter manager
The Flow counter manager allocates memory to hold the software view of the counters where the on-chip counter data will be accumulated along with another memor
net/bnxt: add ULP flow counter manager
The Flow counter manager allocates memory to hold the software view of the counters where the on-chip counter data will be accumulated along with another memory block that will be shadowing the on-chip counter data i.e where the raw counter data will be DMAed into from the chip. It also keeps track of the first HW counter ID as that will be needed to retrieve the counter data in bulk using a TF API. It issues this cmd in an rte_alarm thread that keeps running every second.
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
45e8e1d4 |
| 02-Jul-2020 |
Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> |
net/bnxt: enhance port DB
1. Add "enum bnxt_ulp_intf_type” as the second parameter for the port & func helper functions 2. Return vfrep related port & func information in the helper functions 3.
net/bnxt: enhance port DB
1. Add "enum bnxt_ulp_intf_type” as the second parameter for the port & func helper functions 2. Return vfrep related port & func information in the helper functions 3. Allocate phy_port_list dynamically based on port count 4. Introduce ulp_func_id_tbl array for book keeping func related information indexed by func_id
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
bbc5f1a0 |
| 02-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support internal exact match entries
Added support for the internal exact match entries.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru
net/bnxt: support internal exact match entries
Added support for the internal exact match entries.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
55aeaac3 |
| 02-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support IF table processing
Added support for if table processing in the ulp mapper layer. This enables support for the default partition action record pointer interface table.
Signed-off
net/bnxt: support IF table processing
Added support for if table processing in the ulp mapper layer. This enables support for the default partition action record pointer interface table.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
f0ca77fd |
| 02-Jul-2020 |
Mike Baucom <michael.baucom@broadcom.com> |
net/bnxt: support internal encap records
Modifications to allow internal encap records to be supported: - Modified the mapper index table processing to handle encap without an action record - Modi
net/bnxt: support internal encap records
Modifications to allow internal encap records to be supported: - Modified the mapper index table processing to handle encap without an action record - Modified the session open code to reserve some 64 Byte internal encap records on tx - Modified the blob encap swap to support encap without action record
Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
c828d590 |
| 02-Jul-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: integrate with the latest TF core changes
ULP changes to integrate with the latest session open interface in tf_core
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Si
net/bnxt: integrate with the latest TF core changes
ULP changes to integrate with the latest session open interface in tf_core
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
410e5b8b |
| 02-Jul-2020 |
Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> |
net/bnxt: modify port DB dev interface
Modify ulp_port_db_dev_port_intf_update prototype to take "struct rte_eth_dev *" as the second parameter.
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@b
net/bnxt: modify port DB dev interface
Modify ulp_port_db_dev_port_intf_update prototype to take "struct rte_eth_dev *" as the second parameter.
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
cd01ecff |
| 12-Jun-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: rename fields in device params structure
The fields in the device params structure are renamed to reflect the usage of those fields.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@
net/bnxt: rename fields in device params structure
The fields in the device params structure are renamed to reflect the usage of those fields.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
c7020c21 |
| 12-Jun-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support internal exact match flows
Added support of internal exact match flows and the action mark is supported for these flows.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broa
net/bnxt: support internal exact match flows
Added support of internal exact match flows and the action mark is supported for these flows.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
8ce17d56 |
| 12-Jun-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: divide ULP template database to smaller modules
The ulp template db file is broken into three parts namely the table, class and action files.
Signed-off-by: Kishore Padmanabha <kishore.pa
net/bnxt: divide ULP template database to smaller modules
The ulp template db file is broken into three parts namely the table, class and action files.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
ba404aac |
| 12-Jun-2020 |
Shuanglin Wang <shuanglin.wang@broadcom.com> |
net/bnxt: set maximum flow count
User could set max flow count by passing a devarg "-w 0000:0d:00.0,max_num_kflows=64" to a DPDK application; The value must be not less than 32K and be power-of-2; t
net/bnxt: set maximum flow count
User could set max flow count by passing a devarg "-w 0000:0d:00.0,max_num_kflows=64" to a DPDK application; The value must be not less than 32K and be power-of-2; the default value is 32K.
Signed-off-by: Shuanglin Wang <shuanglin.wang@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
86015ee3 |
| 12-May-2020 |
Mike Baucom <michael.baucom@broadcom.com> |
net/bnxt: fix allocation of ULP context
Fix to allocate bnxt ulp context when TRUFLOW is enabled. This patch reduces the size of struct bnxt.
Fixes: 313ac35ac701 ("net/bnxt: support ULP session man
net/bnxt: fix allocation of ULP context
Fix to allocate bnxt ulp context when TRUFLOW is enabled. This patch reduces the size of struct bnxt.
Fixes: 313ac35ac701 ("net/bnxt: support ULP session manager init")
Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
b58398d9 |
| 25-Apr-2020 |
Shahaji Bhosle <sbhosle@broadcom.com> |
net/bnxt: add Truflow flush-timer to alloc table scope
Updated the params list to include flush timer, this will allow users to set the HW flush timer value in 10th of second. Setting 0 will disable
net/bnxt: add Truflow flush-timer to alloc table scope
Updated the params list to include flush timer, this will allow users to set the HW flush timer value in 10th of second. Setting 0 will disable the pending cache flush feature.
Signed-off-by: Shahaji Bhosle <sbhosle@broadcom.com> Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
dc8ee812 |
| 15-Apr-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add port database
The port database is a repository of the port details it is used by the ulp code to query any port related details.
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com
net/bnxt: add port database
The port database is a repository of the port details it is used by the ulp code to query any port related details.
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
show more ...
|
#
072cb4a8 |
| 17-Apr-2020 |
Mike Baucom <michael.baucom@broadcom.com> |
net/bnxt: add default identifiers to ULP mapper
- Added ulp_mapper_init/deinit to allocate/deallocate mapper data for storing the default identifiers - Modified the template_db to include the new
net/bnxt: add default identifiers to ULP mapper
- Added ulp_mapper_init/deinit to allocate/deallocate mapper data for storing the default identifiers - Modified the template_db to include the new opcode for accessing the default ids. - Modified the result and key field builders to use the new opcode for writing the default ids into blobs
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
show more ...
|
#
74bcfc06 |
| 15-Apr-2020 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add session and function flow flush
The ulp flow flush has been extended to support session flow flush and function flow flush. The session flow flush is called when there the device is so
net/bnxt: add session and function flow flush
The ulp flow flush has been extended to support session flow flush and function flow flush. The session flow flush is called when there the device is sole owner of the session and it deletes all the flows associated with that session. The function flow flush is called if the device function is not the sole owner of the session, it deletes all the flows that are associated with that device function.
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
show more ...
|