History log of /dpdk/drivers/net/bnxt/tf_ulp/ulp_mapper_tf.c (Results 1 – 5 of 5)
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 ...


# c569279a 07-Nov-2024 Shuanglin Wang <shuanglin.wang@broadcom.com>

net/bnxt/tf_ulp: modify return values as C coding standard

Modified return values of the several ULP utilities to comply C
coding standard. Like using macros EXIT_SUCCESS(0) and
EXIT_FAILURE(1) for

net/bnxt/tf_ulp: modify return values as C coding standard

Modified return values of the several ULP utilities to comply C
coding standard. Like using macros EXIT_SUCCESS(0) and
EXIT_FAILURE(1) for the conventional status value for success
and failure, respectively. They are declared in the file stdlib.h.

Signed-off-by: Shuanglin Wang <shuanglin.wang@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 ...


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