This patch set adds enhancements and fixes to Truflow feature.
Enhancements include:
* Scaling numbers on Thor
* Inner IP header support for GRE tunnel flows
* Enable wildcard match for ingress flows
* Add clear on read for flow stats on Thor
* Add nat support for dest IP and port combination
* Re
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shahaji Bhosle
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
---
.../generic_templates/ulp_template_db_act.c | 376 +++---
.../generic_templates/ulp_template_db_enum.h | 18 +-
.../generic_templates/ulp_template_db_tbl.c | 14
From: Shahaji Bhosle
* 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
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed
From: Kishore Padmanabha
The number of hash bucket list calculation is fixed and added
check to limit the out of boundary condition
Fixes: 0001cc58d362 ("net/bnxt: support generic hash table")
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Mich
From: Kishore Padmanabha
Update driver to read the multi root capability and ignore
pci address check while creating ulp session when multi root
capability is enabled in the hardware. DPDK HSI version updated
from 1.10.1.70 to 1.10.2.54.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat
From: Kishore Padmanabha
Added support for socket redirect feature capability so applications
can enable or disable this feature. This patch contains the template
changes.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
-off-by: Farah Smith
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
Reviewed-by: Shahaji Bhosle
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 34 --
drivers/net/bnxt/tf_core/tf_msg.c | 24 +++---
drivers/net
Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Ajit Khaparde
Reviewed-by: Michael Baucom
---
drivers/net/bnxt/bnxt.h | 3 --
drivers/net/bnxt/bnxt_ethdev.c | 53
drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 8 -
drivers/net/bnxt/tf_ulp
From: Jay Ding
Implement tf_get_version that returns TruFlow version
numbers and CFA resources capbilities.
Signed-off-by: Jay Ding
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
Reviewed-by: Randy Schacher
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
Reviewed-by: Randy
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shahaji Bhosle
Reviewed-by
From: Shahaji Bhosle
Typecast flow_item type, action_item type and the ENUMs to uint32_t
before comparing.
Fixes: 53a0d4f7663 ("net/bnxt: support flow API item parsing")
Signed-off-by: Shahaji Bhosle
Signed-off-by: Venkat Duvvuru
Reviewed-by: Ajit Khaparde
---
drivers/net/b
From: Jay Ding
Add TX direction TruFlow table type config to be
compatible with other devices. For P4, the TX cfg
is duplicated from RX.
Signed-off-by: Jay Ding
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_device.c
restarted.
If the deletion of an existing VF rep is not done then hw pipeline is not
cleaned and a new allocation shall leave the hw in inconsistent state.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Ajit Khaparde
Reviewed-by: Shahaji Bhosle
---
drivers/net/bnxt
From: Mike Baucom
The type-5 WC IPv6 flows were removed in order to increase the scale for
app-id=3. The app no longer supports 2-slice WC entries.
Signed-off-by: Mike Baucom
Signed-off-by: Venkat Duvvuru
Reviewed-by: Kishore Padmanabha
Reviewed-by: Randy Schacher
---
drivers/net/bnxt
From: Jay Ding
Implement set/get_sram_policy which support both rx/tx
direction truflow type the specific SRAM bank.
Signed-off-by: Jay Ding
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
Reviewed-by: Farah Smith
---
drivers/net/bnxt/tf_core/tf_core.c | 82 ++
drivers
From: Jay Ding
Implement tf_get_sram_resources to return SRAM
partition information, including bank count and
SRAM profile number.
Signed-off-by: Jay Ding
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 11
From: Kishore Padmanabha
During the parsing of the ingress port ignore for a flow, added
check to match the control port and the physical port that is configured
to be ignored. If they do not match then the configuration to setup the
svif ignore shall fail.
Signed-off-by: Kishore Padmanabha
Rev
From: Peter Spreadborough
Enable dynamic entry allocator for EM SRAM entries.
Deprecate static entry allocator code.
Signed-off-by: Peter Spreadborough
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_device_p58.c | 4 -
drivers/net/bnxt/tf_core/tf_em.h | 10 -
This patch set adds support for new offload features/enhancments for
Thor adapters like VF representor support, new flow matches/actions
& dynamic SRAM manager support.
v2 ==> v3
=
* Fixed compilation issue.
Farah Smith (4):
net/bnxt: tf core index table updates
net/bnxt: add Thor SRA
From: Jay Ding
- Add flow meter drop counter support for Thor.
Signed-off-by: Jay Ding
Reviewed-by: Farah Smith
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/cfa_resource_types.h | 5 +-
drivers/net/bnxt/tf_core/tf_core.h| 8 +-
drivers/net/bnxt/tf_core/tf_device_p58.
From: Farah Smith
Add dynamic SRAM manager allocation support.
Signed-off-by: Farah Smith
Reviewed-by: Shahaji Bhosle
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/ll.c | 3 +
drivers/net/bnxt/tf_core/ll.h | 50 +-
drivers/net/bnxt/tf_core/meson.bui
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Mike Baucom
---
drivers
From: Farah Smith
Remove unused shadow table functionality.
Signed-off-by: Farah Smith
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/tf_core.c | 65 --
drivers/net/bnxt/tf_core/tf_core.h | 103 +--
drivers/net/bnxt/tf_core/tf_device
From: Kishore Padmanabha
The wild card tcam for Thor platform is different from the profile tcam
byte order.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shuanglin Wang
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
---
.../generic_templates
From: Farah Smith
Adjust info message to debug level to prevent excessive
logging.
Signed-off-by: Farah Smith
Reviewed-by: Michael Baucom
---
drivers/net/bnxt/tf_core/tf_tbl_sram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/tf_core/tf_tbl_sram.c
b/dr
From: Randy Schacher
Alter defrag function to dynamically allocate and delete
free_list and adj_list buffers.
Signed-off-by: Randy Schacher
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/dpool.c | 38 +---
1 file changed, 25 insertions(+), 13 deletio
From: Farah Smith
Fix shared session support issues due to SRAM manager
additions. Shared session does not support slices within
RM blocks. Calculate resources required without slices
and determine base addresses using old methods for the
shared session.
Signed-off-by: Farah Smith
Reviewed-by
On Thu, Sep 16, 2021 at 7:20 PM Ferruh Yigit wrote:
>
> On 9/11/2021 4:30 PM, Venkat Duvvuru wrote:
> > diff --git a/meson_options.txt b/meson_options.txt
> > index 0e92734c49..f686e6d92a 100644
> > --- a/meson_options.txt
> > +++ b/meson_options.txt
> > @@
This patch set adds support for new offload features/enhancments for
Thor adapters like VF representor support, new flow matches/actions
& dynamic SRAM manager support.
Farah Smith (4):
net/bnxt: updates to TF core index table
net/bnxt: add SRAM manager model
net/bnxt: change log level to de
From: Peter Spreadborough
Enable dynamic entry allocator for Exact Match SRAM entries.
Deprecate static entry allocator code.
Signed-off-by: Peter Spreadborough
Reviewed-by: Randy Schacher
Acked-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/tf_device_p58.c | 4 -
drivers/net/bnxt/tf_
From: Farah Smith
Update the TRUFLOW core index table and
remove unused shadow table functionality.
Signed-off-by: Farah Smith
Reviewed-by: Peter Spreadborough
Acked-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/tf_core.c | 65 --
drivers/net/bnxt/tf_core/tf_core.h
From: Jay Ding
This patch adds flow meter drop counter support for Thor.
Signed-off-by: Jay Ding
Reviewed-by: Farah Smith
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/cfa_resource_types.h | 5 +-
drivers/net/bnxt/tf_core/tf_core.h| 8 +-
drivers/net/bnxt/tf_core/tf_d
From: Kishore Padmanabha
The wild card TCAM for Thor platform is different from the profile TCAM
byte order.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shuanglin Wang
Reviewed-by: Mike Baucom
Reviewed-by: Ajit Khaparde
---
.../generic_templates
From: Farah Smith
The SRAM manager supports allocation and free of variable sized
records within SRAM memory. These record sizes are 8, 16, 32, or
64B. The SRAM manager algorithm will not fragment memory during
run time. Previous implementation only included fixed size 64B
records regardless of
From: Farah Smith
Adjust info message to debug level to prevent excessive
logging.
Signed-off-by: Farah Smith
Reviewed-by: Mike Baucom
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/tf_tbl_sram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/tf
From: Randy Schacher
The dynamic pool allocation defrag function currently uses stack
allocation. To improve use of stack space, dynamically allocate
and deallocate memory for use to defragment the dynamic pool of
EM resources.
Signed-off-by: Randy Schacher
Reviewed-by: Peter Spreadborough
Rev
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Mike Baucom
Acked-by
From: Farah Smith
Fix shared session support issues due to SRAM manager
additions. Shared session does not support slices within
RM blocks. Calculate resources required without slices
and determine base addresses using old methods for the
shared session.
Signed-off-by: Farah Smith
Reviewed-by:
This patch set adds fixes to Truflow feature.
Jay Ding (1):
net/bnxt: remove settings to support multiple session
Kishore Padmanabha (3):
net/bnxt: fix sram resource free block list
net/bnxt: fix multi adapter support
net/bnxt: fix ULP context list deadlock
drivers/net/bnxt/tf_core/tf_d
From: Jay Ding
Move wc_tcam_slices_per_row and database structure of
global_cfg and if_tbl to session structure to support
multiple TruFlow sessions with different card type under single
dpdk application instance.
Signed-off-by: Jay Ding
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
block is not empty.
Fixes: 37ff91c158a3 ("net/bnxt: add SRAM manager model")
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_sram_mgr.c | 16 +---
1 file changed, 9
correct ulp context.
These changes help in support of multiple network cards using
single dpdk application.
Fixes: d75b55121bcd ("net/bnxt: add context list for timers")
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
Reviewed-by: Mich
dd HA support in ULP")
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 7 ---
drivers/net/bnxt/tf_ulp/ulp_ha_mgr.c | 8
2 files changed, 8 insertions(+), 7 deletion
;)
Cc: sta...@dpdk.org
Signed-off-by: Mike Baucom
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
.../generic_templates/ulp_template_db_enum.h | 15 +-
.../generic_templates/ulp_template_db_tbl.c | 73 ++--
.../ulp_template_db_thor_class.c | 175 ++-
This patch set adds enhancements and fixes to Truflow feature.
Enhancements include:
* Scaling numbers on Thor
* Inner IP header support for GRE tunnel flows
* Enable wildcard match for ingress flows
* Add clear on read for flow stats on Thor
* Add nat support for dest IP and port combination
Far
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shahaji Bhosle
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
---
.../generic_templates/ulp_template_db_act.c | 376 +++---
.../generic_templates/ulp_template_db_enum.h | 18 +-
.../generic_templates/ulp_template_db_tbl.c | 14
From: Kishore Padmanabha
Update driver to read the multi root capability and ignore
pci address check while creating ulp session when multi root
capability is enabled in the hardware. DPDK HSI version updated
from 1.10.1.70 to 1.10.2.54.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat
: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
Reviewed-by: Shahaji Bhosle
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 34 --
drivers/net/bnxt/tf_core/tf_msg.c | 24 +++---
drivers/net/bnxt/tf_core/tf_msg.h | 6
From: Kishore Padmanabha
Added support for socket direct feature capability so applications
can enable or disable this feature. This patch contains the template
changes.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
From: Kishore Padmanabha
Enabled wildcard match support for ipv4 ingress flows.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Randy Schacher
---
.../generic_templates/ulp_template_db_enum.h | 4
From: Kishore Padmanabha
The number of hash bucket list calculation is fixed and added
check to limit the out of boundary condition
Fixes: 0001cc58d362 ("net/bnxt: support generic hash table")
Cc: sta...@dpdk.org
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
R
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
Reviewed-by: Randy
From: Shahaji Bhosle
* 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
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed
From: Jay Ding
Implement TF_GET_VERSION that returns Truflow version
numbers and CFA resources capabilities.
Signed-off-by: Jay Ding
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
Reviewed-by: Randy Schacher
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt
From: Jay Ding
- Add flow meter drop counter support for Thor.
Signed-off-by: Jay Ding
Reviewed-by: Farah Smith
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/cfa_resource_types.h | 5 +-
drivers/net/bnxt/tf_core/tf_core.h| 8 +-
drivers/net/bnxt/tf_core/tf_device_p58.
From: Farah Smith
Add dynamic SRAM manager allocation support.
Signed-off-by: Farah Smith
Reviewed-by: Shahaji Bhosle
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/ll.c | 3 +
drivers/net/bnxt/tf_core/ll.h | 50 +-
drivers/net/bnxt/tf_core/meson.bui
TCAM byte order for Thor
net/bnxt: add flow templates for Thor
net/bnxt: add enhancements to TF ULP
Peter Spreadborough (1):
net/bnxt: enable dpool allocator
Randy Schacher (1):
net/bnxt: dynamically allocate space for EM defrag function
Venkat Duvvuru (1):
net/bnxt: add support for testpm
From: Peter Spreadborough
Enable dynamic entry allocator for EM SRAM entries.
Deprecate static entry allocator code.
Signed-off-by: Peter Spreadborough
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_device_p58.c | 4 -
drivers/net/bnxt/tf_core/tf_em.h | 10 -
From: Farah Smith
Remove unused shadow table functionality.
Signed-off-by: Farah Smith
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/tf_core.c | 65 --
drivers/net/bnxt/tf_core/tf_core.h | 103 +--
drivers/net/bnxt/tf_core/tf_device
Currently, testpmd support in ULP is enabled only during compilation
time. This patch adds support for testpmd during runtime using
devarg "testpmd".
Signed-off-by: Venkat Duvvuru
Reviewed-by: Kishore Padmanabha
---
drivers/net/bnxt/bnxt.h | 3 ++
driver
From: Randy Schacher
Alter defrag function to dynamically allocate and delete
free_list and adj_list buffers.
Signed-off-by: Randy Schacher
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/dpool.c | 38 +---
1 file changed, 25 insertions(+), 13 deletio
From: Farah Smith
Fix shared session support issues due to SRAM manager
additions. Shared session does not support slices within
RM blocks. Calculate resources required without slices
and determine base addresses using old methods for the
shared session.
Signed-off-by: Farah Smith
Reviewed-by
From: Kishore Padmanabha
The wild card tcam for Thor platform is different from the profile tcam
byte order.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shuanglin Wang
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
---
.../generic_templates
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Mike Baucom
---
drivers
From: Farah Smith
Adjust info message to debug level to prevent excessive
logging.
Signed-off-by: Farah Smith
Reviewed-by: Michael Baucom
---
drivers/net/bnxt/tf_core/tf_tbl_sram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/tf_core/tf_tbl_sram.c
b/dr
From: Peter Spreadborough
Enable dynamic entry allocator for EM SRAM entries.
Deprecate static entry allocator code.
Signed-off-by: Peter Spreadborough
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_device_p58.c | 4 -
drivers/net/bnxt/tf_core/tf_em.h | 10 -
From: Farah Smith
Remove unused shadow table functionality.
Signed-off-by: Farah Smith
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/tf_core.c | 65 --
drivers/net/bnxt/tf_core/tf_core.h | 103 +--
drivers/net/bnxt/tf_core/tf_device
This patch set adds support for new offload features/enhancments for
Thor adapters like VF representor support, new flow matches/actions
& dynamic SRAM manager support.
v1 ==> v2
=
1. Fixed compilation issues
2. Abandoned patch 14
Farah Smith (4):
net/bnxt: tf core index table updates
From: Farah Smith
Add dynamic SRAM manager allocation support.
Signed-off-by: Farah Smith
Reviewed-by: Shahaji Bhosle
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/ll.c | 3 +
drivers/net/bnxt/tf_core/ll.h | 50 +-
drivers/net/bnxt/tf_core/meson.bui
From: Kishore Padmanabha
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Mike Baucom
---
drivers
From: Jay Ding
- Add flow meter drop counter support for Thor.
Signed-off-by: Jay Ding
Reviewed-by: Farah Smith
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/tf_core/cfa_resource_types.h | 5 +-
drivers/net/bnxt/tf_core/tf_core.h| 8 +-
drivers/net/bnxt/tf_core/tf_device_p58.
From: Randy Schacher
Alter defrag function to dynamically allocate and delete
free_list and adj_list buffers.
Signed-off-by: Randy Schacher
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/dpool.c | 38 +---
1 file changed, 25 insertions(+), 13 deletio
From: Kishore Padmanabha
The wild card tcam for Thor platform is different from the profile tcam
byte order.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shuanglin Wang
Reviewed-by: Michael Baucom
Reviewed-by: Ajit Khaparde
---
.../generic_templates
From: Farah Smith
Adjust info message to debug level to prevent excessive
logging.
Signed-off-by: Farah Smith
Reviewed-by: Michael Baucom
---
drivers/net/bnxt/tf_core/tf_tbl_sram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/tf_core/tf_tbl_sram.c
b/dr
From: Farah Smith
Fix shared session support issues due to SRAM manager
additions. Shared session does not support slices within
RM blocks. Calculate resources required without slices
and determine base addresses using old methods for the
shared session.
Signed-off-by: Farah Smith
Reviewed-by
Bhosle (1):
net/bnxt: cleanup ULP parser and mapper
Venkat Duvvuru (4):
net/bnxt: check FW capability to support TRUFLOW
net/bnxt: modify VXLAN decap for multichannel mode
net/bnxt: add support for GRE flows
net/bnxt: reorganize ULP template directory structure
doc/guides/nics/bnxt.rst
From: Jeffrey Huang
Before introducing more HCAPI components to DPDK, the CFA code needs
to be organized into a dedicated folder so it is separated from
other new HCAPI components
Signed-off-by: Jeffrey Huang
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah
From: Farah Smith
Add infrastructure code to support TRUFLOW on Thor NICs.
Also update meson.build
Signed-off-by: Farah Smith
Signed-off-by: Peter Spreadborough
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core
From: Jay Ding
- Allow tf_open to continue if no resource is allocated
for some table type.
- Close the session if binding fails for any table.
- Close the session if no resource is allocated for all tables.
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
From: Peter Spreadborough
Add get mailbox dev op so that mailbox offset is based on device
rather than hard coded.
Signed-off-by: Peter Spreadborough
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
---
drivers/net/bnxt/tf_core/tf_device.c | 21
table reference
Signed-off-by: Farah Smith
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Jay Ding
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/tf_core.c| 9 +-
drivers/net/bnxt/tf_core/tf_core.h| 83 +
drivers/net/bnxt
From: Peter Spreadborough
Main TF changes to support EM insert with FKB.
Flexible Key builder is required to create Wild Card
and Exact Match keys for TCAM lookups.
Signed-off-by: Peter Spreadborough
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
---
drivers/net/bnxt/tf_core/tf_core.c | 2 +
drivers/net/bnxt/tf_core/tf_core.h | 5 +-
drivers/net/bnxt/tf_core/tf_device_p4.c | 2 -
drivers/net/bnxt/tf_core/tf_device_p58.c | 7 +-
drivers/net/bnxt/tf_core
: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Peter Spreadborough
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/bnxt_util.h| 3 +
drivers/net/bnxt/hcapi/cfa/hcapi_cfa.h | 339 +++--
drivers/net/bnxt/hcapi/cfa/hcapi_cfa_defs.h | 387 +-
drivers/net
From: Jay Ding
- Implement TCAM get in host
- Add Thor support for TCAM set/free
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Peter Spreadborough
Reviewed-by: Farah Smith
---
drivers/net/bnxt/tf_core/hwrm_tf.h | 1 +
drivers/net
From: Jay Ding
RM databases are statically defined in each module. New static
database needs to be defined in the code when multiple sessions
are added. Add dynamic alloc database and associate it to each
session.
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat
From: Farah Smith
- Move Bulk get to a direct HWRM message
- Deprecate code based on HCAPI changes
Signed-off-by: Farah Smith
Signed-off-by: Peter Spreadborough
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/hcapi/cfa
Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
Reviewed-by: Farah Smith
---
drivers/net/bnxt/hcapi/cfa/hcapi_cfa.h| 72 ++-
drivers/net/bnxt/hcapi/cfa/hcapi_cfa_common.c | 85
drivers/net/bnxt/hcapi/cfa/hcapi_cfa_defs.h | 15 +++
drivers/net
-by: Farah Smith
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_device.h | 29 -
drivers/net/bnxt/tf_core/tf_device_p4.c | 2 +
drivers/net/bnxt/tf_core/tf_device_p58.c | 71 ++
drivers/net/bnxt
sessions, one is shared session, the other
is non-shared session.
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
---
drivers/net/bnxt/hsi_struct_def_dpdk.h| 281 +-
drivers/net/bnxt/tf_core/bitalloc.c
and
also supports defragmentation of the allocation space.
Signed-off-by: Peter Spreadborough
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
---
drivers/net/bnxt/tf_core/dpool.c | 373 ++
drivers/net/bnxt/tf_core/dpool.h
From: Jay Ding
Allow an application to only reserve resources for one direction.
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Ajit Kumar Khaparde
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_core.c| 4 --
drivers
From: Jay Ding
- Distinguish the shared session on host side using PCI address
- One session could be shared by multiple interfaces.
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
---
drivers/net/bnxt/tf_core/tf_core.c
From: Farah Smith
Add profile_id to set_prof_tcam.
Signed-off-by: Farah Smith
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
Reviewed-by: Peter Spreadborough
---
drivers/net/bnxt/tf_core/tf_device.c | 90
From: Farah Smith
Provide tf API to get the shared table increment value
for a given TF table type.
Signed-off-by: Farah Smith
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_core.c| 52
Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_tcam_shared.c | 333 --
1 file changed, 179 insertions(+), 154 deletions(-)
diff --git a/drivers/net/bnxt/tf_core/tf_tcam_shared.c
b/drivers/net/bnxt/tf_core/tf_tcam_shared.c
From: Farah Smith
- Add new API to move wc tcam regions from the hi pool
to the low pool.
- Enable shared tcam get/set functions on Thor.
Signed-off-by: Farah Smith
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core
Smith
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Farah Smith
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/meson.build | 25 +-
drivers/net/bnxt/tf_core/tf_core.h| 45 +-
drivers/net/bnxt/tf_core/tf_device.c
may not want to use devarg to enable flow
offloads.
This patch fixes it by checking for truflow feature support in
device's capabilities and configurations field of the hwrm_ver_get's
response.
Signed-off-by: Venkat Duvvuru
Reviewed-by: Kalesh Anakkur Purayil
Reviewed-by: Somnath Ko
1 - 100 of 288 matches
Mail list logo