#
2aa70990 |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: add track type feature to tables
Added track type field to the mapper tables so that resources can be tracked by session id or function id. By default, the track type is session id
net/bnxt/tf_ulp: add track type feature to tables
Added track type field to the mapper tables so that resources can be tracked by session id or function id. By default, the track type is session id unless specified as function id.
This patch also includes a couple of additional changes.
action template consolidation for Thor/Thor2 Reduced the number of action templates in order to reduce duplication and make more permutations of actions easier to handle going forward.
Change on GPE flow creation/deletion Corrected the tunnel type for GPE flow creation; Corrected the port number for GPE flow deletion.
This patch also updates template files for the following list of changes, that are being added in this patch.
- add track type feature to tables - action template consolidation for Thor/Thor2
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Farah Smith <farah.smith@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
94dbd6cf |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: support dynamic tunnel ports
Added support for dynamic tunnel udp ports. Based on the flow udp destination port of the tunnel packet is configured at runtime.
This patch also inclu
net/bnxt/tf_ulp: support dynamic tunnel ports
Added support for dynamic tunnel udp ports. Based on the flow udp destination port of the tunnel packet is configured at runtime.
This patch also includes the following additional changes related to this feature.
updates to dynamic tunnel ports Added logic to consider explicit tunnel port configurations so that it can work with dynamic tunnel port configuration.
fix seg fault in context access The list iteration may return null when no entries are present, the subsequent code should consider that be protected in parenthesis.
Set the default VxLAN tunnel port If the tunnel port was not specified, the default one should be configured to 4789 within the flow parser. Failure to do so will result in a failed flow creation.
multiple flow support for tunnel flows Added support to break tunnel flows into outer and inner match so that scale of the tunnel flows can be improved.
This patch also updates template files for the following list of changes, that are being added in this patch.
- support for dynamic tunnel ports - updates to dynamic tunnel ports - multiple flow support for tunnel flows
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Shuanglin Wang <shuanglin.wang@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
22b65613 |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: support flow priority
Enabled support for application flow priority. When flows are specified with priority then the flow is placed in tcam at the appropriate location based on the
net/bnxt/tf_ulp: support flow priority
Enabled support for application flow priority. When flows are specified with priority then the flow is placed in tcam at the appropriate location based on the priority.
This patch also updates template files needed to support this feature.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
83f916bd |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: support jump action
Enable support for jump action for generic application. The group id specified in jump action chains flows that specify that group id in the group attribute.
Th
net/bnxt/tf_ulp: support jump action
Enable support for jump action for generic application. The group id specified in jump action chains flows that specify that group id in the group attribute.
This patch also updates template files needed to support this feature.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Shuanglin Wang <shuanglin.wang@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
49cdf043 |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: support tunnel flow stats
Added support for vxlan tunnel flow stats for thor2.
This patch also updates template files needed to support this feature.
Signed-off-by: Kishore Padman
net/bnxt/tf_ulp: support tunnel flow stats
Added support for vxlan tunnel flow stats for thor2.
This patch also updates template files needed to support this feature.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
32bdbf44 |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: support feature bit
Added feature bit support to enable support for setting default destination mac for ingress flows that do not specify destination mac address.
This patch also p
net/bnxt/tf_ulp: support feature bit
Added feature bit support to enable support for setting default destination mac for ingress flows that do not specify destination mac address.
This patch also provides the below related change.
Added support for function operand size so correct size of the data is used.
This patch also updates template files for the following list of changes, that are being added in this patch.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
af50070e |
| 07-Nov-2024 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt/tf_ulp: support overlapping flows
Added support for overlapping flows. That is flows with header protocols that overlap each other. For instance, a flow with eth /ipv4 is overlapped by anot
net/bnxt/tf_ulp: support overlapping flows
Added support for overlapping flows. That is flows with header protocols that overlap each other. For instance, a flow with eth /ipv4 is overlapped by another flow eth / ipv4 / tcp.
This patch also includes a few related changes:
flow scale improvement Added logic to add flows to wildcard tcam if flows fail to be added to exact match table.
add conditional list processing Added functional operation to perform conditional list assignment.
add flow overlap feature for thor2 Add flow overlap feature to thor2 platform.
combine vfrep and non-vfrep template capability changed the pipeline to support both vfr and non-vfr without modifications or recompilation.
fix compilation error Fixed compilation issue in generic table search function.
fix build warnings In matcher, initialized composite variable with extra braces.
This patch also updates the template files for the following list of changes, that are being added in this patch.
- add support for overlapping flows - flow scale improvement - add conditional list processing - add flow overlap feature for thor2 - combine vfrep and non-vfrep template capability
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
dd0191d5 |
| 07-Nov-2024 |
Shuanglin Wang <shuanglin.wang@broadcom.com> |
net/bnxt/tf_ulp: support Thor2 ULP layer
This patch includes the support for following features that enable Thor2 support in the ULP layer:
1. Added support for ulp initialization on Thor2 platform
net/bnxt/tf_ulp: support Thor2 ULP layer
This patch includes the support for following features that enable Thor2 support in the ULP layer:
1. Added support for ulp initialization on Thor2 platform. This involved breaking the functionality that is common and not common between Thor and Thor2 platforms. 2. MPC support for Thor2. This feature enables the access of the DRAM memory location in the HOST CPU for Exact match flows and Action records for those flows. 3. Added support for VF's on Thor2 platform. 4. Added support to offload traffic between two VF's on the system. 5. Renamed all BNXT_TF_DBG macros to BNXT_DRV_DBG. 6. Added logic to get error conditions in the flow create path. 7. Added support for Geneve header and set TTL action parsing. 8. Add mpc batching to ulp flow create for Thor2.
This patch also updates the template files for the changes that are being added in this patch.
Signed-off-by: Shuanglin Wang <shuanglin.wang@broadcom.com> Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Manish Kurup <manish.kurup@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
2921498c |
| 07-Nov-2024 |
Mike Baucom <michael.baucom@broadcom.com> |
net/bnxt/tf_ulp: miscellaneous fixes
Template compiler modifications for v3 api: Compile named/unnamed shared app resources for the applications that are capable.
Change app id signature wi
net/bnxt/tf_ulp: miscellaneous fixes
Template compiler modifications for v3 api: Compile named/unnamed shared app resources for the applications that are capable.
Change app id signature with base zero offset: The app id is used in the calculation of the matching signatures and as app id value increases the output of the signature also increases to keep up the scale, the app id is reset to zero based offset. Also fix some whitespace errors.
Add support for vxlan-gpe: Add support for enabling UPAR1 and UPAR2 to parse vxlan-gpe/nsh/ipv4 and vxlan-gpe/nsh/ipv6 packets for.
Default parif handling for single port cards: Update Ingress default and offloaded flows to use driver function parif, instead of physical port parif. We have cards that use single physical port with two PFs on the same physical port, this causes the default physical port parif to be over written by the second PF. If you use driver function parif then single port with more than one PF can use its own parif and not step on each other.
Note: We cannot support TWO VFs on the same PF, because driver function parif is based on PF fw id, so if two VFs on same PF are offloading flows they will get the same driver function parifs and this will interfere with each other.
Support vxlan flow with vxlan-gpe port: The patch adds the APP_CAP_CUST_VXLAN flag, so that the app can create a custom vxlan flow, instead of vxlan-gpe flow, when the custom vxlan port is 4790.
Synchronize async event handler and Truflow init: If Truflow is not initialized then bail out in async event handler gracefully. Add a new macro ulp_is_default_session_active().
Reduce the log level from info to debug: Default VFR action record get api in templates that do not support VFR report an info message which looks like an error. But it is benign and doesn't impact the functionality. So change the log level to debug from info.
Read upar_in_use from tunnel_dst_port_alloc response: This patch reads the upar_in_use field from hwrm_tunnel_dst_port_alloc's response and stores inside the bp structure.
Add API to configure hot upgrade: This patch adds an API that can be called to configure hot upgrade. If this API is not called then the driver relies on the environment variable to configure the hot upgrade feature.
Add parser changes to support custom VxLAN: This patch writes UPAR1 tunnel header type to the computational field at index VXLAN_IP_UPAR_ID.
Free custom vxlan tunnel port: The current code invokes ulp_cust_vxlan_free() while detaching a port from the session. This is incorrect since it should be freed only when the session reference count goes to zero. So move this to bnxt_ulp_deinit().
Parse UDP dport 4789 as VxLAN conditionally: Currently, the ULP parser is parsing UDP dport 4789 as VxLAN unconditionally. However for some apps, the requirement may be to consider UDP dport 4789 as non-tunnel. This patch fixes the problem by parsing UDP dport 4789 as non-tunnel when needed.
Delete flow context for the port being deleted: Flow manager is running in alarm thread and the main thread is deleting the flow context causing garbage data to request flow count. Delete the ulp context before deleting the flows so that flow manager thread does not dereference invalid ulp context.
Validate ulp context while parsing L4 proto type: In ulp_rte_l4_proto_type_update() we try to access bp->ulp_ctx without checking if it is valid. Add error checking and return if ulp_ctx has not been initialized. Otherwise it could crash the application.
Fix a crash seen in bnxt_ulp_port_init(), in some conditions: The function bnxt_ulp_init() invokes ulp_ha_mgr_open() which could fail in some conditions. As part of the error processing and cleanup, bnxt_ulp_deinit() is called which frees ulp_ctx->cfg_data. When the control returns back to bnxt_ulp_port_init(), as part of its error handling it invokes ulp_cust_vxlan_free(). There we end up dereferencing ulp_ctx->cfg_data which is already freed. Fix this by updating the code (macro) to check for validity of cfg_data before accessing it.
Support 256 vf representors: Extend ULP port database size Reduce Rx WC tcam slices from 6860 to 6572 Convert Rx VF rep default action record type from FULL to Compact
Set the correct vxlan or vxlan-gpe header type: Appropriately configure the vxlan or vxlan_gpe header bit when an application supports any customer vxlan port. The initial code erroneously configures both vxlan and vxlan_gpe header bits when adding a vxlan flow with the vxlan_gpe port(4790). Remove endian converting code for port id.
Free L2 Etype tunnel for each port stop: Update the point where ulp_l2_etype_tunnel_free() is called in bnxt_ulp_port_deinit().
Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> 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> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
74cab005 |
| 07-Nov-2024 |
Randy Schacher <stuart.schacher@broadcom.com> |
net/bnxt/tf_ulp: support VXLAN-GPE
- Adds vxlan-gpe into ulp layer - Adds vxlan-gpe into template infrastructure
This patch also updates the template files for the following tf_ulp patches in this
net/bnxt/tf_ulp: support VXLAN-GPE
- Adds vxlan-gpe into ulp layer - Adds vxlan-gpe into template infrastructure
This patch also updates the template files for the following tf_ulp patches in this series.
net/bnxt: tf_ulp: add vxlan-gpe base support net/bnxt: tf_ulp: add custom l2 etype tunnel support net/bnxt: tf_ulp: add support for vf to vf flow offload net/bnxt: tf_ulp: support Wh+ mirroring net/bnxt: tf_ulp: miscellaneous fixes
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
2d344c36 |
| 21-Apr-2023 |
Randy Schacher <stuart.schacher@broadcom.com> |
net/bnxt: support eCPRI packet parsing
Add eCPRI parsing and offload support in the TruFlow ULP layer.
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Signed-off-by: Shahaji Bhosle <sb
net/bnxt: support eCPRI packet parsing
Add eCPRI parsing and offload support in the TruFlow ULP layer.
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Signed-off-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Manish Kurup <manish.kurup@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
d9e70b1d |
| 21-Apr-2023 |
Randy Schacher <stuart.schacher@broadcom.com> |
net/bnxt: update ULP shared session support
- Update ulp generic templates - Modify code to support shared sessions
This should allow more than one application to share a TruFlow session.
Signed-o
net/bnxt: update ULP shared session support
- Update ulp generic templates - Modify code to support shared sessions
This should allow more than one application to share a TruFlow session.
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
e6e8f03e |
| 21-Apr-2023 |
Randy Schacher <stuart.schacher@broadcom.com> |
net/bnxt: update copyright date and cleanup whitespace
Update the Copyright to 2023 Clean up extra blank lines Clean up other whitespace issues
Signed-off-by: Randy Schacher <stuart.schacher@broadc
net/bnxt: update copyright date and cleanup whitespace
Update the Copyright to 2023 Clean up extra blank lines Clean up other whitespace issues
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
32580839 |
| 03-Nov-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support inner IP header for GRE tunnel flows
This change allows adding IP header matches for GRE flows that does not specify outer IP header in the flow match pattern.
Signed-off-by: Kish
net/bnxt: support inner IP header for GRE tunnel flows
This change allows adding IP header matches for GRE flows that does not specify outer IP header in the flow match pattern.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
dbd29c42 |
| 20-Sep-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add enhancements to TruFlow ULP
1. Added support to specify l4 port masks in the template. Also enabled source mac in the wild card key for ingress flows.
2. Added support to enable of
net/bnxt: add enhancements to TruFlow ULP
1. Added support to specify l4 port masks in the template. Also enabled source mac in the wild card key for ingress flows.
2. Added support to enable offload for ipv6 traffic within the vxlan tunnel connection.
3. The flow counters is reduced from 7168 to 6912 for Whitney. The stats operation is updated to reflect counts for packets at egress from CFA instead of ingress to CFA
4. The miss path for the l2 context table is updated with correct parif and default action handler to handle the miss path for egress flows.
5. This support enables allocation of encapsulation, modification and action records dynamically based on a given flow actions.
6. Reduce the l2context resource requests during open_session. Move the SMAC from the L2Context to the EM/WM
7. Remap the parif in the bd action in order to eliminate incorrect replication of broadcast packets. The layer 4 source port mask was incorrectly updated in the outer layer 4 source port mask instead of inner layer 4. Add the l3 proto to egress rules, switch to using computed fields for l4 ports, add internal smac to f1/f2 flows, add l3 proto to ingress ipv6 flows
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
2730e7f9 |
| 20-Sep-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add flow templates for Thor
1. Add support for egress flows with port and count action for Thor platform. 2. Added templates to support VXLAN encapsulation feature for Thor. 3. Added su
net/bnxt: add flow templates for Thor
1. Add support for egress flows with port and count action for Thor platform. 2. Added templates to support VXLAN encapsulation feature for Thor. 3. Added support for VXLAN decap and VLAN pop actions along with the ingress flow. 4. Added templates to enable VXLAN decap support for f1 and f2 flows. 5. Added templates Thor VF Rep support 6. Added Thor ingress mod table actions for NAT, NAPT, and TTL. 7. Added mirror/sample table support 8. Added supported for IPv6 flows for Thor.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
1f7f7c3c |
| 20-Sep-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add wildcard TCAM byte order for Thor
The wild card TCAM for Thor platform is different from the profile TCAM byte order.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.co
net/bnxt: add wildcard TCAM byte order for Thor
The wild card TCAM for Thor platform is different from the profile TCAM byte order.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Shuanglin Wang <shuanglin.wang@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
f63aa27d |
| 20-Sep-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support dynamic encap action
The encapsulation record processing is enhanced to handle data dynamically. Different combinations of VXLAN encapsulation using no VLAN or single or double VLA
net/bnxt: support dynamic encap action
The encapsulation record processing is enhanced to handle data dynamically. Different combinations of VXLAN encapsulation using no VLAN or single or double VLAN can be supported and also supports both IPv4 and IPv6 versions.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
bdf4a3c6 |
| 20-Sep-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support tunnel offload
Add support for tunnel offload APIs. Specifically the following are supported. tunnel_decap_set, tunnel_match, tunnel_action_decap_release, tunnel_item_release.
Thi
net/bnxt: support tunnel offload
Add support for tunnel offload APIs. Specifically the following are supported. tunnel_decap_set, tunnel_match, tunnel_action_decap_release, tunnel_item_release.
This provides support for VXLAN decap action where two flows can indicate tunnel offload rule. The first flow indicates the tunnel properties and second flow indicates the inner packet structure. The templates are updated to support this feature.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
1993b267 |
| 30-May-2021 |
Shahaji Bhosle <sbhosle@broadcom.com> |
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 <sbhosle@broadcom.com> Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
19994cc7 |
| 30-May-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add templates for shared sessions
1. Add template support for shared sessions. 2. Store the shared session flag in flow data base. 3. Store WC TCAM region in the computational field.
Sign
net/bnxt: add templates for shared sessions
1. Add template support for shared sessions. 2. Store the shared session flag in flow data base. 3. Store WC TCAM region in the computational field.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@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 ...
|
#
6b70a956 |
| 30-May-2021 |
Mike Baucom <michael.baucom@broadcom.com> |
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 <michael.baucom@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
5b73c859 |
| 30-May-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: support application ID in ULP matcher
The application id in the ULP matcher makes the template matching restrict to only flows that are supported for that application.
Signed-off-by: Kish
net/bnxt: support application ID in ULP matcher
The application id in the ULP matcher makes the template matching restrict to only flows that are supported for that application.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
286569d5 |
| 30-May-2021 |
Kishore Padmanabha <kishore.padmanabha@broadcom.com> |
net/bnxt: add field opcodes in ULP
Add field opcodes that perform logical evaluation of multiple conditions. Also add more logging especially in error path.
Signed-off-by: Kishore Padmanabha <kisho
net/bnxt: add field opcodes in ULP
Add field opcodes that perform logical evaluation of multiple conditions. Also add more logging especially in error path.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@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 ...
|
#
c6062ec0 |
| 30-May-2021 |
Mike Baucom <michael.baucom@broadcom.com> |
net/bnxt: add shared session support to ULP
Shared session permits cooperative sharing of prescribed resources between applications.
- devargs added for app-id in order to enable sharing session
net/bnxt: add shared session support to ULP
Shared session permits cooperative sharing of prescribed resources between applications.
- devargs added for app-id in order to enable sharing session resources across applications - shared session management added - TRUFLOW resource reservations are now app ID and device dependent
Signed-off-by: Mike Baucom <michael.baucom@broadcom.com> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|