;)
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 ++-
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
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
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
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
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: 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: 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: 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
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
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
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
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
-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
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
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
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
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: 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
: 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
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
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
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
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
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
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: 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: 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
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
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_
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
> > @@
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: 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: 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: 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: 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
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
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
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: 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: 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
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
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: 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: 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
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: 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
The alarm callback needs to have a valid context pointer when it is
invoked, the context could become invalid if the port goes down and
the callback is invoked before it is cancelled.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy
From: Kishore Padmanabha
This patch adds support for parsing rte_flow items for icmp6 flows.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c | 4 +-
drivers/net/bnxt/tf_ulp/ulp_rte_parser.c
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
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy
From: Mike Baucom
Added the ability for cooperative applications to share resources and
perform some high availability functions.
Signed-off-by: Mike Baucom
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shahaji Bhosle
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_ulp/bnxt_ulp.c
Signed-off-by: Mike Baucom
Signed-off-by: Venkat Duvvuru
Reviewed-by: Kishore Padmanabha
---
drivers/net/bnxt/bnxt.h |2 +
drivers/net/bnxt/bnxt_ethdev.c| 50 +
drivers/net/bnxt/tf_ulp/bnxt_ulp.c| 645 +++--
drivers/net/bnxt/tf_ulp
From: Kishore Padmanabha
The computational field is enabled for wild card pattern support.
The template checks the computational field to add a flow as wild
card entry or exact match entry.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Venkat Duvvuru
Reviewed
This patch does the following to support GRE flows:
1. RTE_FLOW_ITEM_TYPE_ANY & RTE_FLOW_ITEM_TYPE_GRE processing
2. Calculate the absolute function ID from the logical VF ID
passed as part of RTE_FLOW_ACTION_TYPE_VF action.
3. Move bnxt_get_bp API to bnxt_ethdev.c
Signed-off-by: Ve
red session.
Signed-off-by: Venkat Duvvuru
Signed-off-by: Kishore Padmanabha
Signed-off-by: Jay Ding
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
Reviewed-by: Michael Baucom
Reviewed-by: Somnath Kotur
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/bnxt.h
From: Kishore Padmanabha
For support for wild card TCAM, some of the header fields have to
be partially written, hence this new opcode is added.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Ajit Kumar Khaparde
Reviewed-by: Michael Baucom
---
drivers/net/bnxt
From: Kishore Padmanabha
The shared handle is set in the mapper params when generic resource
are created, this shall be used by application as a handle to the
shared resource like mirror handle.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
values for critical resource is replaced with
template defined values.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Michael Baucom
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael Baucom
---
drivers/net/bnxt/tf_ulp/ulp_gen_tbl.c | 18 +-
drivers/net/bnxt/tf_ulp/ulp_gen_tbl.h
patch fixes the above two problems by
1. Using dpdk port id as the index to store tunnel inner info.
2. Caching any number of tunnel inner flow offload requests that come
before offloading tunnel outer flow offload request
Signed-off-by: Venkat Duvvuru
Reviewed-by: Shahaji Bhosle
---
drivers
From: Mike Baucom
Conditional execution and rejection processing added for templates and
tables. This allows the mapper to skip tables and reject templates
based on the content without having to hard code rules.
Signed-off-by: Mike Baucom
Signed-off-by: Venkat Duvvuru
Reviewed-by: Kishore
From: Farah Smith
Provide TRUFLOW API to clear either the hi or the low region
for ungraceful exit cleanup.
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
From: Kishore Padmanabha
Added TCAM table specific opcode to process TCAM entry creation
and reuse. This change removes the TCAM cache mechanism and uses
the generic table mechanism for reuse of TCAM entries.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael
From: Jay Ding
If the session shares WC TCAM entries with others,
specify it in the session name by attach "-wc_tcam".
Firmware will flush the shared WC TCAM entries if
the last shared session using them is closed.
Signed-off-by: Jay Ding
Signed-off-by: Randy Schacher
Signed-off-
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
From: Kishore Padmanabha
Added support for mapper flow database opcode to enable
shared resources like mirror action. This allows mapper
to conditionally populate flow database based on template content.
Signed-off-by: Kishore Padmanabha
Signed-off-by: Venkat Duvvuru
Reviewed-by: Michael
: Randy Schacher
Signed-off-by: Venkat Duvvuru
Reviewed-by: Randy Schacher
---
drivers/net/bnxt/tf_core/tf_em_internal.c | 15 +++---
drivers/net/bnxt/tf_core/tf_identifier.c | 14 --
drivers/net/bnxt/tf_core/tf_msg.c | 24 ++---
drivers/net/bnxt/tf_core/tf_msg.h | 9
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
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
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
1 - 100 of 288 matches
Mail list logo