Message ID | 20211104215846.58672-1-ajit.khaparde@broadcom.com (mailing list archive) |
---|---|
Headers | show |
Series | fixes and enhancements to Truflow | expand |
On Thu, Nov 4, 2021 at 2:58 PM Ajit Khaparde <ajit.khaparde@broadcom.com> wrote: > > 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 > * Remove 2-slice WC support > * Add support for socket redirect feature > * Add new API TruFlow get SRAM resources > * Remove accumulation of stats devargs argument > * Add TruFlow and AFM SRAM partitioning support > > V2: > * Compilation fixes > * Remove 2-slice WC support > * Add support for socket redirect feature > * Add new API TruFlow get SRAM resources > * Remove accumulation of stats devargs argument > * Add TruFlow and AFM SRAM partitioning support > > V3: > * Added one more patch (use enum for bank ID) > > V4: > * Fixed typos in patch 2/20 > * Fix checkpatch warnings > * Updated commit logs > * Rebased the patches to latest dpdk-next-net > > V5: > * Split couple of patches into cleanup and code change patch > * Fixed typo in some patches > * Address review comments > * Rebased patches to latest dpdk-next-net Patchset applied to dpdk-next-net-brcm. > > Ajit Khaparde (2): > net/bnxt: remove unused functions > net/bnxt: enable wildcard match for ingress flows > > Farah Smith (1): > net/bnxt: add clear on read support > > Jay Ding (5): > net/bnxt: get TruFlow version > net/bnxt: add new TruFlow API to get SRAM resources > net/bnxt: add TruFlow and AFM SRAM partitioning support > net/bnxt: add Tx TruFlow table config for P4 device > net/bnxt: use enum for bank ID > > Kishore Padmanabha (11): > net/bnxt: add NAT support for dest IP and port combination > net/bnxt: add support for multi root capability > net/bnxt: fix out of bounds issue in hash list > net/bnxt: add capability option for socket redirect > net/bnxt: address ISO C90 compilation error > net/bnxt: support inner IP header for GRE tunnel flows > net/bnxt: remove devargs for stats accumulation > net/bnxt: update log messages in TruFlow path > net/bnxt: add support for socket direct feature > net/bnxt: modify VF representor alloc sequence > net/bnxt: check mismatch of control and physical port > > Mike Baucom (1): > net/bnxt: remove 2 slice wildcard entries > > Shahaji Bhosle (2): > net/bnxt: increase flow scale for Thor > net/bnxt: fix clang compiler warnings > > drivers/net/bnxt/bnxt.h | 25 +- > drivers/net/bnxt/bnxt_cpr.c | 2 +- > drivers/net/bnxt/bnxt_ethdev.c | 274 +- > drivers/net/bnxt/bnxt_hwrm.c | 36 + > drivers/net/bnxt/bnxt_hwrm.h | 1 + > drivers/net/bnxt/bnxt_reps.c | 9 +- > drivers/net/bnxt/hsi_struct_def_dpdk.h | 4061 ++++++++++++++--- > drivers/net/bnxt/tf_core/tf_core.c | 197 + > drivers/net/bnxt/tf_core/tf_core.h | 202 + > drivers/net/bnxt/tf_core/tf_device.c | 11 +- > drivers/net/bnxt/tf_core/tf_device.h | 102 + > drivers/net/bnxt/tf_core/tf_device_p4.c | 178 +- > drivers/net/bnxt/tf_core/tf_device_p4.h | 137 +- > drivers/net/bnxt/tf_core/tf_device_p58.c | 421 +- > drivers/net/bnxt/tf_core/tf_device_p58.h | 205 +- > drivers/net/bnxt/tf_core/tf_msg.c | 87 +- > drivers/net/bnxt/tf_core/tf_msg.h | 31 +- > drivers/net/bnxt/tf_core/tf_rm.c | 3 +- > drivers/net/bnxt/tf_core/tf_sram_mgr.h | 10 - > drivers/net/bnxt/tf_core/tf_tbl.c | 83 +- > drivers/net/bnxt/tf_core/tf_tbl_sram.c | 13 +- > drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 59 +- > drivers/net/bnxt/tf_ulp/bnxt_ulp.h | 9 +- > drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c | 29 +- > .../generic_templates/ulp_template_db_act.c | 376 +- > .../generic_templates/ulp_template_db_class.c | 1986 ++++---- > .../generic_templates/ulp_template_db_enum.h | 91 +- > .../generic_templates/ulp_template_db_tbl.c | 3946 ++++++++++++---- > .../ulp_template_db_thor_act.c | 150 +- > .../ulp_template_db_thor_class.c | 909 ++-- > .../ulp_template_db_wh_plus_act.c | 336 +- > .../ulp_template_db_wh_plus_class.c | 222 +- > drivers/net/bnxt/tf_ulp/ulp_def_rules.c | 8 +- > drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c | 12 +- > drivers/net/bnxt/tf_ulp/ulp_flow_db.c | 2 +- > drivers/net/bnxt/tf_ulp/ulp_gen_hash.c | 20 +- > drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c | 2 +- > drivers/net/bnxt/tf_ulp/ulp_port_db.c | 23 + > drivers/net/bnxt/tf_ulp/ulp_port_db.h | 13 + > drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 32 +- > drivers/net/bnxt/tf_ulp/ulp_template_struct.h | 2 +- > 41 files changed, 10250 insertions(+), 4065 deletions(-) > > -- > 2.30.1 (Apple Git-130) >
On 11/4/2021 9:58 PM, Ajit Khaparde wrote: > 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 > * Remove 2-slice WC support > * Add support for socket redirect feature > * Add new API TruFlow get SRAM resources > * Remove accumulation of stats devargs argument > * Add TruFlow and AFM SRAM partitioning support > > V2: > * Compilation fixes > * Remove 2-slice WC support > * Add support for socket redirect feature > * Add new API TruFlow get SRAM resources > * Remove accumulation of stats devargs argument > * Add TruFlow and AFM SRAM partitioning support > > V3: > * Added one more patch (use enum for bank ID) > > V4: > * Fixed typos in patch 2/20 > * Fix checkpatch warnings > * Updated commit logs > * Rebased the patches to latest dpdk-next-net > > V5: > * Split couple of patches into cleanup and code change patch > * Fixed typo in some patches > * Address review comments > * Rebased patches to latest dpdk-next-net > > Ajit Khaparde (2): > net/bnxt: remove unused functions > net/bnxt: enable wildcard match for ingress flows > > Farah Smith (1): > net/bnxt: add clear on read support > > Jay Ding (5): > net/bnxt: get TruFlow version > net/bnxt: add new TruFlow API to get SRAM resources > net/bnxt: add TruFlow and AFM SRAM partitioning support > net/bnxt: add Tx TruFlow table config for P4 device > net/bnxt: use enum for bank ID > > Kishore Padmanabha (11): > net/bnxt: add NAT support for dest IP and port combination > net/bnxt: add support for multi root capability > net/bnxt: fix out of bounds issue in hash list > net/bnxt: add capability option for socket redirect > net/bnxt: address ISO C90 compilation error > net/bnxt: support inner IP header for GRE tunnel flows > net/bnxt: remove devargs for stats accumulation > net/bnxt: update log messages in TruFlow path > net/bnxt: add support for socket direct feature > net/bnxt: modify VF representor alloc sequence > net/bnxt: check mismatch of control and physical port > > Mike Baucom (1): > net/bnxt: remove 2 slice wildcard entries > > Shahaji Bhosle (2): > net/bnxt: increase flow scale for Thor > net/bnxt: fix clang compiler warnings > Hi Ajit, It would be good to updated the release notes for the above changes, but -rc2 is a day away and I don't want to block the set for this. Can you please send the documentation update separately? If it comes before next-net merged, I can squash it.
05/11/2021 12:10, Ferruh Yigit: > On 11/4/2021 9:58 PM, Ajit Khaparde wrote: > > 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 > > * Remove 2-slice WC support > > * Add support for socket redirect feature > > * Add new API TruFlow get SRAM resources > > * Remove accumulation of stats devargs argument > > * Add TruFlow and AFM SRAM partitioning support > > > > V2: > > * Compilation fixes > > * Remove 2-slice WC support > > * Add support for socket redirect feature > > * Add new API TruFlow get SRAM resources > > * Remove accumulation of stats devargs argument > > * Add TruFlow and AFM SRAM partitioning support > > > > V3: > > * Added one more patch (use enum for bank ID) > > > > V4: > > * Fixed typos in patch 2/20 > > * Fix checkpatch warnings > > * Updated commit logs > > * Rebased the patches to latest dpdk-next-net > > > > V5: > > * Split couple of patches into cleanup and code change patch > > * Fixed typo in some patches > > * Address review comments > > * Rebased patches to latest dpdk-next-net > > > > Ajit Khaparde (2): > > net/bnxt: remove unused functions > > net/bnxt: enable wildcard match for ingress flows > > > > Farah Smith (1): > > net/bnxt: add clear on read support > > > > Jay Ding (5): > > net/bnxt: get TruFlow version > > net/bnxt: add new TruFlow API to get SRAM resources > > net/bnxt: add TruFlow and AFM SRAM partitioning support > > net/bnxt: add Tx TruFlow table config for P4 device > > net/bnxt: use enum for bank ID > > > > Kishore Padmanabha (11): > > net/bnxt: add NAT support for dest IP and port combination > > net/bnxt: add support for multi root capability > > net/bnxt: fix out of bounds issue in hash list > > net/bnxt: add capability option for socket redirect > > net/bnxt: address ISO C90 compilation error > > net/bnxt: support inner IP header for GRE tunnel flows > > net/bnxt: remove devargs for stats accumulation > > net/bnxt: update log messages in TruFlow path > > net/bnxt: add support for socket direct feature > > net/bnxt: modify VF representor alloc sequence > > net/bnxt: check mismatch of control and physical port > > > > Mike Baucom (1): > > net/bnxt: remove 2 slice wildcard entries > > > > Shahaji Bhosle (2): > > net/bnxt: increase flow scale for Thor > > net/bnxt: fix clang compiler warnings > > > > Hi Ajit, > > It would be good to updated the release notes for the above changes, > but -rc2 is a day away and I don't want to block the set for this. > > Can you please send the documentation update separately? > If it comes before next-net merged, I can squash it. Each patch introducing a new feature should have a release notes update. Thank you Ferruh for noticing it.
On Fri, Nov 5, 2021 at 4:10 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote: > > On 11/4/2021 9:58 PM, Ajit Khaparde wrote: > > 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 > > * Remove 2-slice WC support > > * Add support for socket redirect feature > > * Add new API TruFlow get SRAM resources > > * Remove accumulation of stats devargs argument > > * Add TruFlow and AFM SRAM partitioning support > > > > V2: > > * Compilation fixes > > * Remove 2-slice WC support > > * Add support for socket redirect feature > > * Add new API TruFlow get SRAM resources > > * Remove accumulation of stats devargs argument > > * Add TruFlow and AFM SRAM partitioning support > > > > V3: > > * Added one more patch (use enum for bank ID) > > > > V4: > > * Fixed typos in patch 2/20 > > * Fix checkpatch warnings > > * Updated commit logs > > * Rebased the patches to latest dpdk-next-net > > > > V5: > > * Split couple of patches into cleanup and code change patch > > * Fixed typo in some patches > > * Address review comments > > * Rebased patches to latest dpdk-next-net > > > > Ajit Khaparde (2): > > net/bnxt: remove unused functions > > net/bnxt: enable wildcard match for ingress flows > > > > Farah Smith (1): > > net/bnxt: add clear on read support > > > > Jay Ding (5): > > net/bnxt: get TruFlow version > > net/bnxt: add new TruFlow API to get SRAM resources > > net/bnxt: add TruFlow and AFM SRAM partitioning support > > net/bnxt: add Tx TruFlow table config for P4 device > > net/bnxt: use enum for bank ID > > > > Kishore Padmanabha (11): > > net/bnxt: add NAT support for dest IP and port combination > > net/bnxt: add support for multi root capability > > net/bnxt: fix out of bounds issue in hash list > > net/bnxt: add capability option for socket redirect > > net/bnxt: address ISO C90 compilation error > > net/bnxt: support inner IP header for GRE tunnel flows > > net/bnxt: remove devargs for stats accumulation > > net/bnxt: update log messages in TruFlow path > > net/bnxt: add support for socket direct feature > > net/bnxt: modify VF representor alloc sequence > > net/bnxt: check mismatch of control and physical port > > > > Mike Baucom (1): > > net/bnxt: remove 2 slice wildcard entries > > > > Shahaji Bhosle (2): > > net/bnxt: increase flow scale for Thor > > net/bnxt: fix clang compiler warnings > > > > Hi Ajit, > > It would be good to updated the release notes for the above changes, > but -rc2 is a day away and I don't want to block the set for this. > > Can you please send the documentation update separately? > If it comes before next-net merged, I can squash it. Hi Ferruh, Done. Please let me know if you can pick it straight from patchwork. Otherwise I can merge in the subtree and you can pick from there. Please let me know. Thanks Ajit
On 11/5/2021 4:57 PM, Ajit Khaparde wrote: > On Fri, Nov 5, 2021 at 4:10 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote: >> >> On 11/4/2021 9:58 PM, Ajit Khaparde wrote: >>> 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 >>> * Remove 2-slice WC support >>> * Add support for socket redirect feature >>> * Add new API TruFlow get SRAM resources >>> * Remove accumulation of stats devargs argument >>> * Add TruFlow and AFM SRAM partitioning support >>> >>> V2: >>> * Compilation fixes >>> * Remove 2-slice WC support >>> * Add support for socket redirect feature >>> * Add new API TruFlow get SRAM resources >>> * Remove accumulation of stats devargs argument >>> * Add TruFlow and AFM SRAM partitioning support >>> >>> V3: >>> * Added one more patch (use enum for bank ID) >>> >>> V4: >>> * Fixed typos in patch 2/20 >>> * Fix checkpatch warnings >>> * Updated commit logs >>> * Rebased the patches to latest dpdk-next-net >>> >>> V5: >>> * Split couple of patches into cleanup and code change patch >>> * Fixed typo in some patches >>> * Address review comments >>> * Rebased patches to latest dpdk-next-net >>> >>> Ajit Khaparde (2): >>> net/bnxt: remove unused functions >>> net/bnxt: enable wildcard match for ingress flows >>> >>> Farah Smith (1): >>> net/bnxt: add clear on read support >>> >>> Jay Ding (5): >>> net/bnxt: get TruFlow version >>> net/bnxt: add new TruFlow API to get SRAM resources >>> net/bnxt: add TruFlow and AFM SRAM partitioning support >>> net/bnxt: add Tx TruFlow table config for P4 device >>> net/bnxt: use enum for bank ID >>> >>> Kishore Padmanabha (11): >>> net/bnxt: add NAT support for dest IP and port combination >>> net/bnxt: add support for multi root capability >>> net/bnxt: fix out of bounds issue in hash list >>> net/bnxt: add capability option for socket redirect >>> net/bnxt: address ISO C90 compilation error >>> net/bnxt: support inner IP header for GRE tunnel flows >>> net/bnxt: remove devargs for stats accumulation >>> net/bnxt: update log messages in TruFlow path >>> net/bnxt: add support for socket direct feature >>> net/bnxt: modify VF representor alloc sequence >>> net/bnxt: check mismatch of control and physical port >>> >>> Mike Baucom (1): >>> net/bnxt: remove 2 slice wildcard entries >>> >>> Shahaji Bhosle (2): >>> net/bnxt: increase flow scale for Thor >>> net/bnxt: fix clang compiler warnings >>> >> >> Hi Ajit, >> >> It would be good to updated the release notes for the above changes, >> but -rc2 is a day away and I don't want to block the set for this. >> >> Can you please send the documentation update separately? >> If it comes before next-net merged, I can squash it. > Hi Ferruh, > Done. Please let me know if you can pick it straight from patchwork. > Otherwise I can merge in the subtree and you can pick from there. > Please let me know. > I guess I can do it, let me try.