|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2 |
|
| #
6639a8b6 |
| 03-Nov-2021 |
Kishore Padmanabha <[email protected]> |
net/bnxt: update log messages in TruFlow path
Some of the error level log messages are made debug level messages. When Truflow is not enabled then Truflow init error messages are moved to debug leve
net/bnxt: update log messages in TruFlow path
Some of the error level log messages are made debug level messages. When Truflow is not enabled then Truflow init error messages are moved to debug level instead.
Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Shahaji Bhosle <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
3d372e8d |
| 03-Nov-2021 |
Shahaji Bhosle <[email protected]> |
net/bnxt: increase flow scale for Thor
* Updated defines and data types to allow 256 VFRs. * Increased the encap record cache to support 256 to 4K entries. So VxLAN connections can be scaled to 4K
net/bnxt: increase flow scale for Thor
* Updated defines and data types to allow 256 VFRs. * Increased the encap record cache to support 256 to 4K entries. So VxLAN connections can be scaled to 4K entries.
Signed-off-by: Shahaji Bhosle <[email protected]> Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Randy Schacher <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1 |
|
| #
1993b267 |
| 30-May-2021 |
Shahaji Bhosle <[email protected]> |
net/bnxt: cleanup ULP parser and mapper
1. Disable accum_stats for Thor 2. Delete the generic port table for default flow 3. The packet mask to calculate the number of packets must be 28 bits. 4. In
net/bnxt: cleanup ULP parser and mapper
1. Disable accum_stats for Thor 2. Delete the generic port table for default flow 3. The packet mask to calculate the number of packets must be 28 bits. 4. Increase the WC TCAM entries to 512 per application and add 2 shared L2 context TCAM entries to match identifiers for flow scaling 5. Ignore multiple critical resources in ULP flow database 6. Renamed conditional code update to function opcode. 7. Updated TRUFLOW debug logs to support the above changes. 8. As part of the HA cleanup, the shared session name now allows the user to designate that the session uses the wc_tcam regions within the shared session. 9. The CFA action pointer does not exist if there is no support for VF representor, so no need to display the message for use case where there is no support for VF representors. 10. Cleanup flow counter software accumulation. 11. When an application exits ungracefully, the HA code now clears the appropriate shared WC region and sets the HA state. 12. Removal of unnecessary INFO message. The message is an indicator that the ports are being removed from DPDK, but all cleanup has not completed. Once the cleanup is completed, the timer will be stopped.
Signed-off-by: Shahaji Bhosle <[email protected]> Signed-off-by: Mike Baucom <[email protected]> Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Randy Schacher <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
6b70a956 |
| 30-May-2021 |
Mike Baucom <[email protected]> |
net/bnxt: process resource lists before session open
Shared sessions require both named and unnamed resources to be requested during a tf_open_session. ULP uses named resources for global resources
net/bnxt: process resource lists before session open
Shared sessions require both named and unnamed resources to be requested during a tf_open_session. ULP uses named resources for global resources that are pre-allocated and remain through the life of the application. Unnamed resources are generally per flow resources and allocated on demand. The sum of both named and unnamed resources must be requested when initializing the session. The ulp_init now processes both lists prior to calling tf_open_session for both shared and regular sessions.
Signed-off-by: Mike Baucom <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Randy Schacher <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
3fe124d2 |
| 30-May-2021 |
Kishore Padmanabha <[email protected]> |
net/bnxt: support Thor platform
1. Add templates to support Thor platform. 2. Flow counter manager is not enabled if no flow counters are configured. 3. Mark database is not enabled if mark actio
net/bnxt: support Thor platform
1. Add templates to support Thor platform. 2. Flow counter manager is not enabled if no flow counters are configured. 3. Mark database is not enabled if mark action is not supported. 4. Removed application to port default flow. 5. Add allocate and write for the global registry file. 6. Multiple default flow templates are combined to one. 7. Remove default loopback action record, this is required in order to support multiple platforms. 8. Enable port table support in the generic table. 9. remove global template table in order to support multiple platforms. 10. Add support to get parent VNIC from port table database. 11. VF representor action mark is made optional since not all configurations need representor support. 12. Add layer 4 ports to computational fields. 13. Update templates to support the above changes. 14. Add support for wildcard.
Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
255add67 |
| 30-May-2021 |
Kishore Padmanabha <[email protected]> |
net/bnxt: refactor TRUFLOW processing
1. The flow database opcode is updated to split the alloc push resource item so it can be controlled using the control table.
2. The class and action match sig
net/bnxt: refactor TRUFLOW processing
1. The flow database opcode is updated to split the alloc push resource item so it can be controlled using the control table.
2. The class and action match signatures are populated with pattern ids that are matched against template pattern id to reject any unsupported class and action combinations.
3. The flow DB opcode should be no op when accessing the global registry identifiers.
4. The resource function for branch is changed to control so that it is extended to perform flow database operations and not just branch operations.
5. The conditional goto processing now supports negative numbers to support looping of the mapper tables to support flow ranges and also enable conditional fail goto to support failure path mapper tables.
6. The field mapper opcode is updated to add all ones to fields that support exact match.
7. Added key info and identifier list to whitney action templates The whitney plus templates are updated to use the mapper infrastructure changes.
8. The partition interface table configuration of the default egress rule for the representor interface needs to use the reserved parif interface that is specific to each platform. The pipeline for the representor interface is broken since incorrect parif configuration cause the miss path packets to be dropped.
9. In the mapper table processing, if a failure condition is hit due to invalid memory type then use the conditional goto failure configuration instead of jumping to next table. This causes ipv6 exact match entry to be skipped. This patch fixes that issue.
Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Shahaji Bhosle <[email protected]> Reviewed-by: Randy Schacher <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
59ae4961 |
| 30-May-2021 |
Kishore Padmanabha <[email protected]> |
net/bnxt: add conditional goto processing
The condition execute of the mapper tables have goto field that defines the offset of the next table to be processed instead of sequential processing of the
net/bnxt: add conditional goto processing
The condition execute of the mapper tables have goto field that defines the offset of the next table to be processed instead of sequential processing of the tables, this improving the performance. Also, modify key and mask field opcode processing
Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
a2417601 |
| 30-May-2021 |
Kishore Padmanabha <[email protected]> |
net/bnxt: identify duplicate flows
Conflict resolution feature allows rejection of flows based on the previously added flows that conflict. For instance, a five tuple flow is added and then you add
net/bnxt: identify duplicate flows
Conflict resolution feature allows rejection of flows based on the previously added flows that conflict. For instance, a five tuple flow is added and then you add a new flow with only 4 tuple instead having same layer2 details then it will be rejected.
Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
2addc463 |
| 27-Jan-2021 |
Ajit Khaparde <[email protected]> |
net/bnxt: update copyright year
Update copyright year in various files.
Signed-off-by: Ajit Khaparde <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by
net/bnxt: update copyright year
Update copyright year in various files.
Signed-off-by: Ajit Khaparde <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by: Kalesh AP <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
188bf91d |
| 26-Oct-2020 |
Venkat Duvvuru <[email protected]> |
net/bnxt: refactor flow id allocation
Currently, the flow id is allocated inside ulp_mapper_flow_create. However with vxlan decap feature if F2 flow comes before F1 flow then F2 is cached and not re
net/bnxt: refactor flow id allocation
Currently, the flow id is allocated inside ulp_mapper_flow_create. However with vxlan decap feature if F2 flow comes before F1 flow then F2 is cached and not really installed in the hardware which means the code will return without calling ulp_mapper_flow_create. But, ULP has to still return valid flow id to the stack. Hence, move the flow id allocation outside ulp_mapper_flow_create.
Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
30683082 |
| 09-Oct-2020 |
Kishore Padmanabha <[email protected]> |
net/bnxt: combine default and regular flows
The default and regular flows are stored in the same flow table instead of different flow tables. This should help code reuse and reducing the number of a
net/bnxt: combine default and regular flows
The default and regular flows are stored in the same flow table instead of different flow tables. This should help code reuse and reducing the number of allocations. So combine default and regular flows in flow database.
Signed-off-by: Kishore Padmanabha <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
0c9fe336 |
| 09-Oct-2020 |
Mike Baucom <[email protected]> |
net/bnxt: consolidate template table processing
The table processing has been consolidated to be able to reuse the same code for action and classification template processing.
Signed-off-by: Mike B
net/bnxt: consolidate template table processing
The table processing has been consolidated to be able to reuse the same code for action and classification template processing.
Signed-off-by: Mike Baucom <[email protected]> Reviewed-by: Kishore Padmanabha <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
fac8177a |
| 30-Sep-2020 |
Chenbo Xia <[email protected]> |
drivers/net: fix port id size
The ethdev port id should be 16 bits now. This patch changes the variable size of port id in some net drivers from 8 bits to 16 bits.
Fixes: 09b23f8b9df6 ("net/bnxt: f
drivers/net: fix port id size
The ethdev port id should be 16 bits now. This patch changes the variable size of port id in some net drivers from 8 bits to 16 bits.
Fixes: 09b23f8b9df6 ("net/bnxt: fix port stop process and cleanup resources") Fixes: 769de16872ab ("net/bnxt: fix port default rule create/destroy") Fixes: 50370662b727 ("net/ice: support device and queue ops") Fixes: a50d7cbbdad7 ("net/qede: support registers dump") Cc: [email protected]
Signed-off-by: Chenbo Xia <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
ce9875d7 |
| 22-Sep-2020 |
Somnath Kotur <[email protected]> |
net/bnxt: support representors on remote host domain
In the Stingray use case, representors are conventionally run inside the SoC domain representing functions that are on the X86 domain. In order t
net/bnxt: support representors on remote host domain
In the Stingray use case, representors are conventionally run inside the SoC domain representing functions that are on the X86 domain. In order to support this mechanism of building representors for endpoints that are not in the same host domain, additional dev args have been in the PMD like so: rep-based-pf=<physical index> rep-is-pf=<VF=0 or PF=1> where `rep-based-pf` specifies the physical index of the base PF that the representor is derived off of. Since representor(s) can be created for endpoint PFs as well, rename struct bnxt_vf_representor to bnxt_representor and other such dev_ops and function names. devargs have also been extended to specify the exact CoS queue along with flow control enablement to be used for the conduit between the representor and the endpoint function. This is how a sample devargs would look with all the extended devargs
-w 0000:06:02.0,host-based-truflow=1,representor=[1],rep-based-pf=8, rep-is-pf=1,rep-q-r2f=1,rep-fc-r2f=0,rep-q-f2r=1,rep-fc-f2r=1
Call CFA_PAIR_ALLOC only in case of Stingray instead of CFA_VFR_ALLOC.
Signed-off-by: Somnath Kotur <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Venkat Duvvuru <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
09b23f8b |
| 11-Sep-2020 |
Kishore Padmanabha <[email protected]> |
net/bnxt: fix port stop process and cleanup resources
The port deinitialization now cleans up all the resources properly. If all the ports are stopped then ULP context is freed. Added fix to update
net/bnxt: fix port stop process and cleanup resources
The port deinitialization now cleans up all the resources properly. If all the ports are stopped then ULP context is freed. Added fix to update the correct tfp pointer in the ULP context with the changes to support multi control channels.
Fixes: 70e64b27af5b ("net/bnxt: support ULP session manager cleanup") Cc: [email protected]
Signed-off-by: Kishore Padmanabha <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Shahaji Bhosle <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3 |
|
| #
b308d5a2 |
| 29-Jul-2020 |
Somnath Kotur <[email protected]> |
net/bnxt: cleanup and check ULP context allocation
Set ulp_ctx explicitly to NULL in ulp_ctx_deinit() so that representor init is aborted if parent ulp context is not initialized. Also check for the
net/bnxt: cleanup and check ULP context allocation
Set ulp_ctx explicitly to NULL in ulp_ctx_deinit() so that representor init is aborted if parent ulp context is not initialized. Also check for the same before creation of port default rules. Additional checks added in VF rep dev ops for proper parent dev initialization, to avoid null pointer dereference.
Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure") Fixes: 313ac35ac701 ("net/bnxt: support ULP session manager init") Cc: [email protected]
Signed-off-by: Somnath Kotur <[email protected]> Reviewed-by: Venkat Duvvuru <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
769de168 |
| 23-Jul-2020 |
Venkat Duvvuru <[email protected]> |
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 <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by: Kishore Padmanabha <[email protected]>
show more ...
|
| #
f7df1c75 |
| 23-Jul-2020 |
Kishore Padmanabha <[email protected]> |
net/bnxt: configure PARIF for egress rules
The parif for the egress rules need to be dynamically configured based on the port type. PARIF is handler to a partition of the physical port.
Signed-off-
net/bnxt: configure PARIF for egress rules
The parif for the egress rules need to be dynamically configured based on the port type. PARIF is handler to a partition of the physical port.
Signed-off-by: Kishore Padmanabha <[email protected]> Reviewed-by: Mike Baucom <[email protected]>
show more ...
|
| #
4182be0d |
| 23-Jul-2020 |
Kishore Padmanabha <[email protected]> |
net/bnxt: configure PARIF for offload miss rules
PARIF is handler to a partition of the physical port. For the offload miss rules, the parif miss path needs to be considered. The higher parif are re
net/bnxt: configure PARIF for offload miss rules
PARIF is handler to a partition of the physical port. For the offload miss rules, the parif miss path needs to be considered. The higher parif are reserved for handling this.
Signed-off-by: Kishore Padmanabha <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
|
Revision tags: v20.08-rc2 |
|
| #
6eb4ccff |
| 17-Jul-2020 |
Kishore Padmanabha <[email protected]> |
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 <[email protected]> Signed-off-by: Somnath Kotur <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
|
Revision tags: v20.08-rc1 |
|
| #
e2b58f37 |
| 06-Jul-2020 |
Kishore Padmanabha <[email protected]> |
net/bnxt: support index opcode constant
Add support for index opcode constant so that parif configuration could be constant value.
Signed-off-by: Kishore Padmanabha <[email protected]
net/bnxt: support index opcode constant
Add support for index opcode constant so that parif configuration could be constant value.
Signed-off-by: Kishore Padmanabha <[email protected]> Signed-off-by: Somnath Kotur <[email protected]> Signed-off-by: Venkat Duvvuru <[email protected]> Reviewed-by: Mike Baucom <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|
| #
d0eaabd4 |
| 02-Jul-2020 |
Venkat Duvvuru <[email protected]> |
net/bnxt: fill mapper parameters with default rules
Default rules are needed for the packets to be punted between the following entities in the non-offloaded path 1. Device PORT to DPDK App 2. DPDK
net/bnxt: fill mapper parameters with default rules
Default rules are needed for the packets to be punted between the following entities in the non-offloaded path 1. Device PORT to DPDK App 2. DPDK App to Device PORT 3. VF Representor to VF 4. VF to VF Representor
This patch fills all the relevant information in the computed fields & the act_prop fields for the flow mapper to create the necessary tables in the hardware to enable the default rules.
Signed-off-by: Venkat Duvvuru <[email protected]> Signed-off-by: Somnath Kotur <[email protected]> Reviewed-by: Ajit Khaparde <[email protected]>
show more ...
|