History log of /dpdk/drivers/net/bnxt/tf_ulp/ulp_matcher.c (Results 1 – 21 of 21)
Revision Date Author Comments
# 0c036a14 07-Nov-2024 Peter Spreadborough <peter.spreadborough@broadcom.com>

net/bnxt/tf_ulp: optimize with inline and prediction

This change makes performance improvements by inlining frequently
used utility functions and by helping branch prediction by using
the likely/unl

net/bnxt/tf_ulp: optimize with inline and prediction

This change makes performance improvements by inlining frequently
used utility functions and by helping branch prediction by using
the likely/unlikely compiler hints.

Signed-off-by: Peter Spreadborough <peter.spreadborough@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 ...


# 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 ...


# f6e12015 07-Nov-2024 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt/tf_ulp: add mask defaults when not specified

If application does not specify mask in a field description then
use the default mask values from dpdk header files.

This patch also includes t

net/bnxt/tf_ulp: add mask defaults when not specified

If application does not specify mask in a field description then
use the default mask values from dpdk header files.

This patch also includes the following related changes.

fix stats collection for shared session
The stats accumulation was being performed on default session,
it needs to get the correct session type to get shared session
counters.

updated ulp flow db for 64 bit handles
Updated the ulp flow database so that all the hardware handles
are 64 bit for all the resource types.

Template rejection with no tables fails for vf to vf
Fixed the template rejection logic to include the table even on
unconditional rejection. This was exposed for vf to vf traffic on
Thor 2 and resulted in a segmentation fault.

fix spec and default mask parsing for flow items.
Fixed the protocol header parsing when bith spec and mask are
not given.

Thor2 priority for l2 tcam records not adhered to
Fix l2 context records priority in template compiler
Fix flow handle mask offset
Fix cpu_to_le_16 macro issues
Fix misspellings in code

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: Shahaji Bhosle <sbhosle@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# 8782e4de 07-Nov-2024 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt/tf_ulp: fix parent child DB counters

The locking for the parent child counters need to be done till the
stats are retrieved. Also the OVS is creating multiple F1 flows for
same tunnel hence

net/bnxt/tf_ulp: fix parent child DB counters

The locking for the parent child counters need to be done till the
stats are retrieved. Also the OVS is creating multiple F1 flows for
same tunnel hence reference count needs to be maintined for the F1
flows.

Fix name conflicts for class and action tables. Matcher allocates
hash tables for class and action entries. These tables should have
different names for each port.

Fixes: bdf4a3c6316b ("net/bnxt: support tunnel offload")
Cc: stable@dpdk.org

Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Shuanglin Wang <shuanglin.wang@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 ...


# 6d160d77 21-Apr-2023 Randy Schacher <stuart.schacher@broadcom.com>

net/bnxt: add RSS and queue action in TruFLow

- Update ULP layer to support RSS/Queue action
- Modify VNIC handling driver to support RSS action
- Modify VNIC handling driver to support Queue action

net/bnxt: add RSS and queue action in TruFLow

- Update ULP layer to support RSS/Queue action
- Modify VNIC handling driver to support RSS action
- Modify VNIC handling driver to support Queue action
This should allow to enable TruFlow path for all RTE_FLOW
by default in future.

Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com>
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Shuanglin Wang <shuanglin.wang@broadcom.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# cf21c2d3 13-Oct-2021 Ferruh Yigit <ferruh.yigit@intel.com>

net/bnxt: fix build with debug macro

Setting 'RTE_LIBRTE_BNXT_TRUFLOW_DEBUG' macro cause build error,
removing it.

Also with meson build system compile time debug macros should be
documented in dri

net/bnxt: fix build with debug macro

Setting 'RTE_LIBRTE_BNXT_TRUFLOW_DEBUG' macro cause build error,
removing it.

Also with meson build system compile time debug macros should be
documented in driver documentation, since there is no other way to
figure out their existence.

Fixes: ad9eed0248ad ("net/bnxt: support flow template for Thor")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# ad9eed02 20-Sep-2021 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: support flow template for Thor

Template adds non-VFR based support for testpmd with:
matches to include
- DMAC, SIP, DIP, Proto, Sport, Dport
- SIP, DIP, Proto, Sport, Dport
actions:
- cou

net/bnxt: support flow template for Thor

Template adds non-VFR based support for testpmd with:
matches to include
- DMAC, SIP, DIP, Proto, Sport, Dport
- SIP, DIP, Proto, Sport, Dport
actions:
- count, drop

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>
Acked-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 ...


# 741172be 30-May-2021 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: refactor flow parser in ULP

1. Remove Ether type, VLAN type and IP proto type from pattern matching,
since the header bits can be used for matching. This reduces the class
template signatu

net/bnxt: refactor flow parser in ULP

1. Remove Ether type, VLAN type and IP proto type from pattern matching,
since the header bits can be used for matching. This reduces the class
template signatures by a factor of 8.

2. Remove the wild card bit in the pattern matching since same template
can be used for both exact and wild card entries.

3. The action record pointers have to use higher range to not collide
with the firmware action record pointers. Hence reduced the number of
action record pointers for Whitney platform.

4. The conditional update opcode provide functionality to reject flows
for instance reject flows that do not adhere to flow signature match.

5. Added check to not populate protocol specifications if the
protocol mask is null or zero.

6. Check that field array is not overrun.

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 ...


# 255add67 30-May-2021 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

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 <kishore.padmanabha@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# a2417601 30-May-2021 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

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 <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 ...


# 2addc463 27-Jan-2021 Ajit Khaparde <ajit.khaparde@broadcom.com>

net/bnxt: update copyright year

Update copyright year in various files.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by

net/bnxt: update copyright year

Update copyright year in various files.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>

show more ...


# 77b359ee 06-Jul-2020 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: change port config for full offload

Added port configuration changes to support full offload
rules when VF representor ports are used. The direction of
the flow is determined using the con

net/bnxt: change port config for full offload

Added port configuration changes to support full offload
rules when VF representor ports are used. The direction of
the flow is determined using the configured direction and the
configured match and action ports of the flow create.

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: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# a2be13e1 12-Jun-2020 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: remove fields from bitmap and mapper table

Remove unnecessary fields from bitmap and mapper table.

- remove svif and VLAN info from header bitmap
The svif and vlan information are removed

net/bnxt: remove fields from bitmap and mapper table

Remove unnecessary fields from bitmap and mapper table.

- remove svif and VLAN info from header bitmap
The svif and vlan information are removed from header bitmap
signature so that the matching algorithm does not use these
fields to perform matching. So flows with or without vlan
tag could use the same flow template.
- remove mem field from mapper class table
Remove the unused mem field in the ulp mapper class table structure

Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-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 ...


# 2bbcdee8 15-Apr-2020 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: use hashing for flow template match

Currently, all the flow templates are sequentially searched to find out
whether there is a matching template for the incoming RTE_FLOW offload
request.

net/bnxt: use hashing for flow template match

Currently, all the flow templates are sequentially searched to find out
whether there is a matching template for the incoming RTE_FLOW offload
request. As sequential search will have performance concerns, this
patch will address it by using hash algorithm to find out the flow
template. This change resulted in creation of computed fields to
remove the fields that do not participate in the hash calculations.
The field bitmap is created for this purpose.

Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@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 ...


# 3d6ba7cb 15-Apr-2020 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: aggregate ULP parser arguments

The changes are to the ulp rte parser, the API are changed
to take the parser param structure instead of individual
fields.

Reviewed-by: Venkat Duvvuru <ven

net/bnxt: aggregate ULP parser arguments

The changes are to the ulp rte parser, the API are changed
to take the parser param structure instead of individual
fields.

Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@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 ...


# 00fa81b7 15-Apr-2020 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: match flow API actions with flow template actions

This patch does the following
1. Takes act_bitmap generated from the rte_flow_actions
2. Iterates through the static act_bitmap list
3. Re

net/bnxt: match flow API actions with flow template actions

This patch does the following
1. Takes act_bitmap generated from the rte_flow_actions
2. Iterates through the static act_bitmap list
3. Returns success if a match is found, otherwise an error

Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# c7520059 15-Apr-2020 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt: match flow API items with flow template patterns

This patch does the following
1. Takes hdr_bitmap generated from the rte_flow_items
2. Iterates through the static hdr_bitmap list
3. Retur

net/bnxt: match flow API items with flow template patterns

This patch does the following
1. Takes hdr_bitmap generated from the rte_flow_items
2. Iterates through the static hdr_bitmap list
3. Returns success if a match is found, otherwise an error

Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...