Re: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RSS flow

2020-06-27 Thread Wang, ShougangX
Hi, Wei > -Original Message- > From: Zhao1, Wei > Sent: Sunday, June 28, 2020 2:02 PM > To: Wang, ShougangX ; dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Wang, > ShougangX ; sta...@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RSS > flow > > Hi, shoug

Re: [dpdk-dev] DPDK Virtio PMD RX RSS support?

2020-06-27 Thread Jason Wang
On 2020/6/26 上午5:27, Vincent Li wrote: Hi, I found Qemu start to support virtio-net RX RSS: List: qemu-devel Subject:[PULL V2 02/33] virtio-net: implement RX RSS processing From: Jason Wang Date: 2020-06-18 13:21:17 Message-ID: 1592486508-6135-3-git-send-email-jasowang

[dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed for x553

2020-06-27 Thread Wei Zhao
For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M link speed, so enable it for the kind of ixgbe nic. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/dri

[dpdk-dev] [PATCH] ring: fix error vlaue of tail in the peek API for ST mode

2020-06-27 Thread Feifei Wang
The value of *tail should be the prod->tail not prod->head. After modification, it can record 'tail' so head/tail can be updated accordingly. Fixes: 664ff4b1729b ("ring: introduce peek style API") Cc: sta...@dpdk.org Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/librte_ring/rte_

Re: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RSS flow

2020-06-27 Thread Zhao1, Wei
Hi, shougang > -Original Message- > From: dev On Behalf Of Shougang Wang > Sent: Wednesday, May 13, 2020 11:33 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Wang, > ShougangX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RSS flow > > This

[dpdk-dev] [PATCH 4/4] net/qede: add support for get register operation

2020-06-27 Thread Rasesh Mody
Add support for .get_reg eth_dev ops which will be used to collect the firmware debug data. PMD on detecting on some HW errors will collect the FW/HW Dump to a buffer and then it will save it to a file implemented in qede_save_fw_dump(). Dump file location and name: Location: or DPDK root Name:

[dpdk-dev] [PATCH 1/4] net/qede/base: re-arrange few structures for DDC

2020-06-27 Thread Rasesh Mody
This patch rearranges some of the base driver structures which will be also used by debug data collection (DDC) implementation. It adds a new file ecore_hsi_func_common.h with Physical, Virtual memory descriptors. Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh --- drivers/net/qede/base

[dpdk-dev] [PATCH 2/4] net/qede/base: add changes for debug data collection

2020-06-27 Thread Rasesh Mody
This patch adds base driver APIs required for debug data collection. It adds support for dumping internal lookup tables(ilt), reading nvram image, register definitions. Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh --- drivers/net/qede/base/bcm_osal.c | 6 + drivers/net

[dpdk-dev] [PATCH 0/4] net/qede: add FW debug data collection support

2020-06-27 Thread Rasesh Mody
Hi Jerin, Ferruh, This patch-set adds an ability to collect FW and HW Debug Data/Dump (referred to as FW/HW Dump) to QEDE PMD. The dump is collected either when PMD detects an error or when a DPDK application asks PMD to collect it upon detection of application error. This FW/HW Dump needs to be s

[dpdk-dev] [PATCH v4 0/4] enable more PPPoE packet type for switch

2020-06-27 Thread Wei Zhao
1. add more support for switch parser of pppoe packet. 2. add check for NVGRE protocol 3. support flow for specific L4 type 4. add input set byte number check This patchset is based on: [1] https://patches.dpdk.org/cover/70762/ : net/ice: base code update Depends-on: series-10300 v2: fix bug in

[dpdk-dev] [PATCH v4 1/4] net/ice: add support more PPPoE packet type for switch

2020-06-27 Thread Wei Zhao
This patch add more support for switch parser of pppoe packet, it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for pppoe payload, so we can use L4 dst/src port and L3 ip address as input set for switch filter pppoe related rule. Signed-off-by: Wei Zhao --- doc/guides/rel_notes/rel

[dpdk-dev] [PATCH v4 2/4] net/ice: fix tunnel type for switch rule

2020-06-27 Thread Wei Zhao
This patch add check for protocol type of IPv4 packet, it need to update tunnel type when NVGRE is in payload. Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 7 ++- 1 file changed, 6 insertion

[dpdk-dev] [PATCH v4 4/4] net/ice: add input set byte number check

2020-06-27 Thread Wei Zhao
This patch add the total input set byte number check, as there is a hardware requirement for the total number of 32 byte. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 43 +++--

[dpdk-dev] [PATCH v4 3/4] net/ice: support switch flow for specific L4 type

2020-06-27 Thread Wei Zhao
This patch add more specific tunnel type for ipv4/ipv6 packet, it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without L4 dst/src port number as input set for the switch filter rule. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- dri

Re: [dpdk-dev] 18.11.9 (LTS) patches review and test

2020-06-27 Thread Pei Zhang
Hi Kevin, Testing with dpdk 18.11.9-rc2 from Red Hat looks good. We cover below 13 scenarios and and all get PASS on RHEL8 testing: (1)Guest with device assignment(PF) throughput testing(1G hugepage size): PASS (2)Guest with device assignment(PF) throughput testing(2M hugepage size) : PASS (3)Gu

[dpdk-dev] [PATCH v3 1/4] net/ice: add support more PPPoE packet type for switch

2020-06-27 Thread Wei Zhao
This patch add more support for switch parser of pppoe packet, it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for pppoe payload, so we can use L4 dst/src port and L3 ip address as input set for switch filter pppoe related rule. Signed-off-by: Wei Zhao --- doc/guides/rel_notes/rel

[dpdk-dev] [PATCH v3 0/4] enable more PPPoE packet type for switch

2020-06-27 Thread Wei Zhao
1. add more support for switch parser of pppoe packet. 2. add check for NVGRE protocol 3. support flow for specific L4 type 4. add input set byte number check This patchset is based on: [1] https://patches.dpdk.org/cover/70762/ : net/ice: base code update Depends-on: series-10300 v2: fix bug in

[dpdk-dev] [PATCH v3 4/4] net/ice: add input set byte number check

2020-06-27 Thread Wei Zhao
This patch add the total input set byte number check, as there is a hardware requirement for the total number of 32 byte. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 43 +++--

[dpdk-dev] [PATCH v3 3/4] net/ice: support switch flow for specific L4 type

2020-06-27 Thread Wei Zhao
This patch add more specific tunnel type for ipv4/ipv6 packet, it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without L4 dst/src port number as input set for the switch filter rule. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- dri

[dpdk-dev] [PATCH v3 2/4] net/ice: fix tunnel type for switch rule

2020-06-27 Thread Wei Zhao
This patch add check for protocol type of IPv4 packet, it need to update tunnel type when NVGRE is in payload. Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 7 ++- 1 file changed, 6 insertion

Re: [dpdk-dev] [PATCH v1] net/virtio: simplify variable name

2020-06-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Joyce Kong > Sent: Wednesday, June 24, 2020 4:45 PM > To: jer...@marvell.com; maxime.coque...@redhat.com; Wang, Zhihong > ; Ye, Xiaolong ; > ruifeng.w...@arm.com; honnappa.nagaraha...@arm.com; phil.y...@arm.com > Cc: dev@dpdk.org; n...@arm.co

Re: [dpdk-dev] 18.11.9 (LTS) patches review and test

2020-06-27 Thread Chen, BoX C
Hi, Kevin Update LTS 18.11.9 test result for Intel part. All passed and no new issue is found. * Intel(R) Testing # Basic Intel(R) NIC testing * PF(i40e):Passed * PF(ixgbe):Passed * VF(i40e):Passed * Build or compile: Passed * Intel NIC single core/NIC performance: Passed #Basic crypto

[dpdk-dev] [PATCH v3 4/4] net/ice: add input set byte number check

2020-06-27 Thread Wei Zhao
This patch add the total input set byte number check, as there is a hardware requirement for the total number of 32 byte. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 43 +++--

[dpdk-dev] [PATCH v3 0/4] enable more PPPoE packet type for switch

2020-06-27 Thread Wei Zhao
1. add more support for switch parser of pppoe packet. 2. add check for NVGRE protocol 3. support flow for specific L4 type 4. add input set byte number check This patchset is based on: [1] https://patches.dpdk.org/cover/70762/ : net/ice: base code update Depends-on: series-10300 v2: fix bug in

[dpdk-dev] [PATCH v3 1/4] net/ice: add support more PPPoE packet type for switch

2020-06-27 Thread Wei Zhao
This patch add more support for switch parser of pppoe packet, it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for pppoe payload, so we can use L4 dst/src port and L3 ip address as input set for switch filter pppoe related rule. Signed-off-by: Wei Zhao --- doc/guides/rel_notes/rel

[dpdk-dev] [PATCH v3 3/4] net/ice: support switch flow for specific L4 type

2020-06-27 Thread Wei Zhao
This patch add more specific tunnel type for ipv4/ipv6 packet, it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without L4 dst/src port number as input set for the switch filter rule. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- dri

[dpdk-dev] [PATCH v3 2/4] net/ice: fix tunnel type for switch rule

2020-06-27 Thread Wei Zhao
This patch add check for protocol type of IPv4 packet, it need to update tunnel type when NVGRE is in payload. Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type") Cc: sta...@dpdk.org Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 7 ++- 1 file changed, 6 insertion

[dpdk-dev] [PATCH v2] net/ice: fix incorrect EEPROM data

2020-06-27 Thread Shougang Wang
Kernel driver reads EEPROM data from flash but DPDK reads from shadow ram. This patch fixes the issue by changing method to get EEPROM data from flash. Fixes: 68a1ab82ad74 ("net/ice: speed up to retrieve EEPROM") Cc: sta...@dpdk.org Signed-off-by: Shougang Wang --- drivers/net/ice/ice_ethdev.c

Re: [dpdk-dev] [PATCH v2 4/5] vhost: notify virtq file descriptor update

2020-06-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Thursday, June 25, 2020 9:38 PM > To: Maxime Coquelin > Cc: dev@dpdk.org; Wang, Xiao W > Subject: [dpdk-dev] [PATCH v2 4/5] vhost: notify virtq file descriptor update > > When virtq call or kick file descriptors are cha

Re: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA devices

2020-06-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Thursday, June 25, 2020 9:38 PM > To: Maxime Coquelin > Cc: dev@dpdk.org; Wang, Xiao W > Subject: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA > devices > > Some vDPA drivers' basic configurations sho

Re: [dpdk-dev] [PATCH v2 2/5] vhost: improve device readiness notifications

2020-06-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Thursday, June 25, 2020 9:38 PM > To: Maxime Coquelin > Cc: dev@dpdk.org; Wang, Xiao W > Subject: [dpdk-dev] [PATCH v2 2/5] vhost: improve device readiness > notifications > > Some guest drivers may not configure disabl

Re: [dpdk-dev] [PATCH v2 1/5] vhost: skip access lock when vDPA is configured

2020-06-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Thursday, June 25, 2020 9:38 PM > To: Maxime Coquelin > Cc: dev@dpdk.org; Wang, Xiao W > Subject: [dpdk-dev] [PATCH v2 1/5] vhost: skip access lock when vDPA is > configured > > No need to take access lock in the vhost-

Re: [dpdk-dev] [PATCH v2 00/42] update e1000 base code

2020-06-27 Thread Zhao1, Wei
Hi, guinan Please give out test-by for this patch set. > -Original Message- > From: dev On Behalf Of Guinan Sun > Sent: Wednesday, June 24, 2020 3:53 PM > To: dev@dpdk.org > Cc: Guo, Jia ; Lu, Wenzhuo ; Sun, > GuinanX > Subject: [dpdk-dev] [PATCH v2 00/42] update e1000 base code > >

Re: [dpdk-dev] Q on IXGBE (dpdk 19.11)

2020-06-27 Thread Zhao1, Wei
Hi, > -Original Message- > From: dev On Behalf Of Ravi Kerur > Sent: Thursday, June 25, 2020 10:57 AM > To: dpdk-dev > Subject: [dpdk-dev] Q on IXGBE (dpdk 19.11) > > DPDK team, > > I have a use-case for multicast and wanted to know the current behavior of > ixgbe pf and vf driver so m

Re: [dpdk-dev] [PATCH v4 00/25] bnxt patches

2020-06-27 Thread Ajit Khaparde
On Sat, Jun 27, 2020 at 3:01 AM Ajit Khaparde wrote: > This patchset consists of enhancements for the host based flow table > management mechanism that was introduced in 20.05. Also has some > feature support for offloading vxlan encap/decap and on-chip exact match > flows. > Patchset applied to

Re: [dpdk-dev] [PATCH v2] eal: adjust barriers for IO on Armv8-a

2020-06-27 Thread Honnappa Nagarahalli
Hi Jerin, You had a comment earlier about deprecating rte_cio_[rw]mb. Let me know if you are ok with this patch and I can add those changes (replace references to rte_cio_[rw]mb with rte_io_[rw]mb and a deprecation notice). Thanks, Honnappa > -Original Message- > From: Honnappa

[dpdk-dev] [PATCH v2] eal: adjust barriers for IO on Armv8-a

2020-06-27 Thread Honnappa Nagarahalli
Change the barrier APIs for IO to reflect that Armv8-a is other-multi-copy atomicity memory model. Armv8-a memory model has been strengthened to require other-multi-copy atomicity. This property requires memory accesses from an observer to become visible to all other observers simultaneously [3].

[dpdk-dev] [Bug 494] rte_pktmbuf_pool_create returns EINVAL instead of ENOMEM in rte_errno when not enough huge pages memory

2020-06-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=494 Bug ID: 494 Summary: rte_pktmbuf_pool_create returns EINVAL instead of ENOMEM in rte_errno when not enough huge pages memory Product: DPDK Version: 19.11 Hardware: All

[dpdk-dev] [PATCH 7/8] net/ice/base: clear and free XLT entries on reset

2020-06-27 Thread Qi Zhang
This fix has been added to address memory leak issues resulting from triggering a sudden driver reset which does not allow us to follow our normal removal flows for SW XLT entries for advanced features. - Adding call to destroy flow profile locks when clearing SW XLT tables. - Extraction sequence

[dpdk-dev] [PATCH 8/8] net/ice/base: update version

2020-06-27 Thread Qi Zhang
Update base code version in readme. Signed-off-by: Qi Zhang --- drivers/net/ice/base/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/README b/drivers/net/ice/base/README index 726593971..1e9c854ae 100644 --- a/drivers/net/ice/base/README +++ b/driv

[dpdk-dev] [PATCH 1/8] net/ice/base: fix GTP-U inner RSS IPv4 IPv6 co-exist

2020-06-27 Thread Qi Zhang
An IP header combined with GTP-U header should be regarded as inner layer for RSS, otherwise it mess the field vector between an IPv4 rule and IPv6 rule e.g: testpmd> flow create 0 ingress patterh eth / ipv4 / udp / gtpu / \ gtpu_psc / ipv4 / udp / end actions rss types ipv4-udp end key_len \ 0 q

[dpdk-dev] [PATCH 4/8] net/ice/base: code clean in FDIR module

2020-06-27 Thread Qi Zhang
Remove unused macro and funciton. Declare no external referenced function as static. Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_fdir.c | 23 +-- drivers/net/ice/base/ice_fdir.h | 3 --- 2 files changed, 1 insertion(+), 25 deletio

[dpdk-dev] [PATCH 2/8] net/ice/base: cleanup some code style

2020-06-27 Thread Qi Zhang
Cleanup code style issue reported by kernel checkpatch. Signed-off-by: Bruce Allan Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 6 -- drivers/net/ice/base/ice_common.c | 2 -- drivers/net/ice/base/ice_flow.c | 12 ++-

[dpdk-dev] [PATCH 6/8] net/ice/base: split capability parse into separate functions

2020-06-27 Thread Qi Zhang
The ice_parse_caps function is used to convert the capability block data coming from firmware into a structured format used by other parts of the code. The current implementation directly updates the hw->func_caps and hw->dev_caps structures. It is directly called from within ice_aq_discover_caps.

[dpdk-dev] [PATCH 5/8] net/ice/base: add capability list AQ function

2020-06-27 Thread Qi Zhang
The current implementation for reading device and function capabilities from firmware, ice_aq_discover_caps, has potentially undesirable side effects. ice_aq_discover_caps calls ice_parse_caps, resulting in overwriting the capabilities stored in the hw structure. This is ok during initialization,

[dpdk-dev] [PATCH 3/8] net/ice/base: move lldp function to common module

2020-06-27 Thread Qi Zhang
To implement a FW workaround for LFC, a set_local_mib must be performed after every link up event. For systems that do not have DCB configured, we need to move the function ice_aq_set_lldp_mib() from the DCB specific ice_dcb.c to ice_common.c so that the driver always has access to this AQ command

[dpdk-dev] [PATCH 0/8] update base code batch 3

2020-06-27 Thread Qi Zhang
The patchset include couple bug fixes and code clean also update the version number. Qi Zhang (8): net/ice/base: fix GTP-U inner RSS IPv4 IPv6 co-exist net/ice/base: cleanup some code style net/ice/base: move lldp function to common module net/ice/base: code clean in FDIR module net/ice/

[dpdk-dev] [PATCH v4 25/25] net/bnxt: update ulp template database for new opcodes

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The ulp template database is updated to support the new combined opcodes. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_template_db_act.

[dpdk-dev] [PATCH v4 24/25] net/bnxt: rename fields in the device params structure

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The fields in the device params structure are renamed to reflect the usage of those fields. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/bnxt_ulp.c| 12

[dpdk-dev] [PATCH v4 22/25] net/bnxt: add vfr flag to the mark manager

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Add support for the vfr flag to the mark manager. The vf representor flag is added to class table so it can be set in the template details. Also added the vfr flag process in mark database. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mik

[dpdk-dev] [PATCH v4 23/25] net/bnxt: support for mark action for LFID rules

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The ulp mapper changes to support mark actions for non GFID entries that support only LFID rules. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_mapper.c | 36 +++

[dpdk-dev] [PATCH v4 18/25] net/bnxt: remove the implicit bitset update for vnic action

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The implicit update of the egress vnic action bitset for a flow that does not specify the forwarding port explicitly is removed. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/t

[dpdk-dev] [PATCH v4 16/25] net/bnxt: flow db API to get VF rep action record

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Added flow db api to get the vf representor action record for a given flow. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_flow_db.c | 200 --

[dpdk-dev] [PATCH v4 17/25] net/bnxt: modify IPV6 vtc flow field parsing

2020-06-27 Thread Ajit Khaparde
From: Venkat Duvvuru ipv6 vtc_flow contains three fields 1. Version 2. Priority / Traffic Class 3. Flow Label Currently, these are not parsed separately and also not set separately in the field bitmap by the flow parser. However, the template treats them separately. As a result, the flow matching

[dpdk-dev] [PATCH v4 21/25] net/bnxt: add support for internal exact match flows

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Added support of internal exact match flows and the action mark is supported for these flows. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt.h | 2 ++ drivers

[dpdk-dev] [PATCH v4 14/25] net/bnxt: add a devarg to set max flow count

2020-06-27 Thread Ajit Khaparde
From: Shuanglin Wang User could set max flow count by passing a devarg "-w :0d:00.0,max_num_kflows=64" to a DPDK application; The value must be not less than 32K and be power-of-2; the default value is 32K. Signed-off-by: Shuanglin Wang Signed-off-by: Somnath Kotur Reviewed-by: Kishore Pad

[dpdk-dev] [PATCH v4 12/25] net/bnxt: add enum to the critical resource

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The critical resource field in the template table is assigned enumeration values instead of hard coded values. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_mapper.c

[dpdk-dev] [PATCH v4 10/25] net/bnxt: process action templates

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Extend index table processing to process action templates. The index table processing is extended to address encapsulation fields so that action template index table can be processed by a common index processing function that can process both class and action index tables

[dpdk-dev] [PATCH v4 13/25] net/bnxt: refactor and rename some fields and enums

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha - rename regfile_wr_idx to regfile_idx The regfile index shall be used for both write and read operations. Hence the field is renamed. - remove the unsed enum BNXT_ULP_REGFILE_INDEX_CACHE_ENTRY_PTR - rename the enums in the bnxt_ulp_resource_sub_type The enums in th

[dpdk-dev] [PATCH v4 06/25] net/bnxt: change default identifier to global resource

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The default identifier list in ulp mapper is extended to support other truflow resource types and not just identifiers. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_mapper.c | 231 +

[dpdk-dev] [PATCH v4 07/25] net/bnxt: add resource sub type to class and action tables

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Added support for resource sub type to class and action tables renamed table id to resource type. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_mapper.c | 9

[dpdk-dev] [PATCH v4 04/25] net/bnxt: add computed header field in result opcode

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Added support for computed header fields in the result field processing. The computed header fields are fields that are extracted from header fields or derived from data that is not part of the flow command but shall be used in setting up of the flow rule. Signed-off-by:

[dpdk-dev] [PATCH v4 09/25] net/bnxt: add support for action bitmap opcode

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha This enables using the action bitmap to update the action result fields in the flow creation instead of using computed header fields. Direction bit needs to be added to the action bitmap during flow parsing, so that egress flows can be matched to the template signature. A

[dpdk-dev] [PATCH v4 08/25] net/bnxt: remove cache tbl id from mapper class table

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The cache table id is not needed anymore since the value can be calculated from resource sub type and direction. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ulp_mapper

[dpdk-dev] [PATCH v4 11/25] net/bnxt: use vport in the phy port act handler

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The phy port action handler should get vport details and not vnic id. The fix is to calculate the vport of the given port. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/

[dpdk-dev] [PATCH v4 03/25] net/bnxt: support more resource functions in flow database

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Added support to include more resource functions in the flow database. The number of bits increased from 3 to 8 for storing the resource function. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_ulp/ul

[dpdk-dev] [PATCH v4 02/25] net/bnxt: remove fields from bitmap and mapper table

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha 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 wi

[dpdk-dev] [PATCH v4 05/25] net/bnxt: update compute field list and access macros

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha The compute field is extended to support action fields and not just header fields, hence CHF is changed to CF. The access macro for compute field is renamed to address this. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde ---

[dpdk-dev] [PATCH v4 01/25] net/bnxt: changes to makefile

2020-06-27 Thread Ajit Khaparde
From: Kishore Padmanabha Created sub Makefile for tf_ulp and and tf_core for easy management. Signed-off-by: Kishore Padmanabha Signed-off-by: Somnath Kotur Reviewed-by: Mike Baucom Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/Makefile | 29 + drivers/

[dpdk-dev] [PATCH v4 00/25] bnxt patches

2020-06-27 Thread Ajit Khaparde
This patchset consists of enhancements for the host based flow table management mechanism that was introduced in 20.05. Also has some feature support for offloading vxlan encap/decap and on-chip exact match flows. v3->v4: - Squashed patches and reduced number of patches from 36 to 25 - Updated com

Re: [dpdk-dev] [PATCH 01/27] eventdev: dlb upstream prerequisites

2020-06-27 Thread Jerin Jacob
> + > +/** Event port configuration structure */ > +struct rte_event_port_conf_v20 { > + int32_t new_event_threshold; > + /**< A backpressure threshold for new event enqueues on this port. > +* Use for *closed system* event dev where event capacity is limited, > +* and c