[PATCH v2] net/ice: support ddp dump switch rule binary

2022-10-17 Thread Steve Yang
Dump ICE ddp runtime switch rule binary via following command: testpmd> ddp dump switch You can covert the binary file to readable texture via dpdt tool. Signed-off-by: Steve Yang --- drivers/net/ice/ice_ddp_package.c | 93 +++ drivers/net/ice/ice_ethdev.h |

RE: [PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-17 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Tuesday, October 18, 2022 5:29 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Zhou, YidingX ; Ye, MingjinX > ; Yang, Qiming ; Zhang, Qi > Z ; Andrew Rybchenko > ; Matz, Olivier > ; Somnath Kotur > ; Ajit Khaparde > > Subject: [PATCH] net/

[PATCH v1] net/ice: support ddp dump switch rule binary

2022-10-17 Thread Steve Yang
Dump ICE ddp runtime switch rule binary via following command: testpmd> ddp dump switch You can covert the binary file to readable texture via dpdt tool. Signed-off-by: Steve Yang --- drivers/net/ice/ice_ddp_package.c | 93 +++ drivers/net/ice/ice_testpmd.c | 8

[PATCH v7 12/12] vhost: improve vDPA blk device configure condition

2022-10-17 Thread Andy Pei
To support multi-queue, configure device after call fd of all queues are set. Signed-off-by: Andy Pei Signed-off-by: Huang Wei Reviewed-by: Chenbo Xia --- lib/vhost/vhost_user.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/vhost/vhost_user.c b/lib/vhos

[PATCH v7 11/12] vhost: vDPA blk device gets ready when the first queue is ready

2022-10-17 Thread Andy Pei
When boot from virtio blk device, seabios in QEMU only enables one queue. To work in this scenario, vDPA BLK device back-end configure device when the first queue is ready. Signed-off-by: Andy Pei Signed-off-by: Huang Wei --- lib/vhost/vhost_user.c | 33 ++--- 1 file

[PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device

2022-10-17 Thread Andy Pei
Add vdpa_device_type to rte_vdpa_device to store device type. Call vdpa ops get_dev_type to fill vdpa_device_type when register vdpa device. Signed-off-by: Andy Pei --- lib/vhost/socket.c | 15 +-- lib/vhost/vdpa.c| 17 + lib/vhost/vdpa_driver.h | 2 ++

[PATCH v7 09/12] vdpa/ifc: change some driver logic

2022-10-17 Thread Andy Pei
Insert internal list element to internal list before register vdpa device, in order to call vdpa ops during vdpa device registration. Signed-off-by: Andy Pei --- drivers/vdpa/ifc/ifcvf_vdpa.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/vdpa/ifc/ifcvf_v

[PATCH v7 08/12] vdpa/ifc: add internal API to get device

2022-10-17 Thread Andy Pei
Add new internal API "find_internal_resource_by_rte_dev" to get device. Signed-off-by: Andy Pei --- drivers/vdpa/ifc/ifcvf_vdpa.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c index

[PATCH v7 07/12] vdpa/ifc: change internal function name

2022-10-17 Thread Andy Pei
Change internal function name "find_internal_resource_by_dev" to "find_internal_resource_by_pci_dev". Signed-off-by: Andy Pei --- drivers/vdpa/ifc/ifcvf_vdpa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c in

[PATCH v7 06/12] vdpa/ifc: support dynamic enable/disable queue

2022-10-17 Thread Andy Pei
From: Huang Wei Support dynamic enable or disable queue. For front end, like QEMU, user can use ethtool to configure queue. For example, "ethtool -L eth0 combined 3" to enable 3 queues pairs. Signed-off-by: Huang Wei Signed-off-by: Andy Pei Reviewed-by: Chenbo Xia --- drivers/vdpa/ifc/base/i

[PATCH v7 05/12] vdpa/ifc: only configure enabled queue

2022-10-17 Thread Andy Pei
When configuring the hardware queue, we only configure queues which have been enabled by vhost. Signed-off-by: Andy Pei Signed-off-by: Huang Wei Reviewed-by: Chenbo Xia --- drivers/vdpa/ifc/base/ifcvf.c | 3 +++ drivers/vdpa/ifc/ifcvf_vdpa.c | 16 ++-- 2 files changed, 17 insertio

[PATCH v7 04/12] vdpa/ifc: write queue count to MQ register

2022-10-17 Thread Andy Pei
Write queue count to IFCVF_MQ_OFFSET register to enable multi-queue feature. Signed-off-by: Andy Pei Signed-off-by: Huang Wei Reviewed-by: Chenbo Xia --- drivers/vdpa/ifc/base/ifcvf.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/vdpa/ifc/base/if

[PATCH v7 03/12] vdpa/ifc: set max queues based on virtio spec

2022-10-17 Thread Andy Pei
Set max_queues according to virtio spec. For virtio BLK device, set max_queues to the value of num_queues in struct virtio_blk_config. For virtio NET device, read num_queues from struct ifcvf_pci_common_cfg, get the queue pair number using num_queues and set max_queues to it. Signed-off-by: Andy P

[PATCH v7 02/12] vdpa/ifc: add multi-queue support

2022-10-17 Thread Andy Pei
Enable VHOST_USER_PROTOCOL_F_MQ feature. Expose IFCVF_MQ_OFFSET register to enable multi-queue. Signed-off-by: Andy Pei Signed-off-by: Huang Wei Reviewed-by: Chenbo Xia --- drivers/vdpa/ifc/base/ifcvf.c | 9 + drivers/vdpa/ifc/base/ifcvf.h | 2 ++ drivers/vdpa/ifc/ifcvf_vdpa.c | 1 + 3

[PATCH v7 01/12] vdpa/ifc: add new device ID for legacy network device

2022-10-17 Thread Andy Pei
From: Huang Wei Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID (0x1000). Rename macro from "IFCVF_BLK_DEVICE_ID" to "IFCVF_SUBSYS_BLK_DEVICE_ID". Signed-off-by: Huang Wei Signed-off-by: Andy Pei Reviewed-by: Chenbo Xia Reviewed-by: Maxime Coquelin --- drivers/vdpa/ifc/base/if

[PATCH v7 00/12] vdpa/ifc: add multi queue support

2022-10-17 Thread Andy Pei
v7: Fill vdpa_device_type in vdpa device registration. v6: Add vdpa_device_type to rte_vdpa_device to store vDPA device type. v5: fix some commit message. rework some code logic. v4: fix some commit message. add some commets to code. fix some code to reduce confusion. v3: rename device

[Bug 1107] [22.11-rc1][meson test] seqlock_autotest test failed

2022-10-17 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1107 Bug ID: 1107 Summary: [22.11-rc1][meson test] seqlock_autotest test failed Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal

RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-17 Thread Ajmera, Megha
> > entry = rte_cfgfile_get_entry(cfg, sec_name, "tc 12 rate"); > > if (entry) > > - subport_profile[i].tc_rate[12] = (uint64_t)atoi(entry); > > + subport_profile[i].tc_rate[12] = atol(entry); > > } > > > > return 0; > > -- > > 2.2

RE: [PATCH 3/3] net/txgbe: fix security session destroy

2022-10-17 Thread Zhang, Qi Z
> -Original Message- > From: Jiawen Wu > Sent: Friday, October 14, 2022 5:59 PM > To: Nicolau, Radu ; 'Jian Wang' > > Cc: dev@dpdk.org; gak...@marvell.com > Subject: RE: [PATCH 3/3] net/txgbe: fix security session destroy > > On Thursday, October 13, 2022 8:19 PM, Radu Nicolau wrote:

RE: [EXT] [PATCH 2/3] net/ixgbe: fix security session destroy

2022-10-17 Thread Zhang, Qi Z
> -Original Message- > From: Akhil Goyal > Sent: Thursday, October 13, 2022 8:24 PM > To: Nicolau, Radu ; Yang, Qiming > ; Wu, Wenjun1 > Cc: dev@dpdk.org > Subject: RE: [EXT] [PATCH 2/3] net/ixgbe: fix security session destroy > > > Replace mempool_put with memset 0, the internal sess

RE: [EXT] [PATCH 1/3] net/iavf: fix security session destroy

2022-10-17 Thread Zhang, Qi Z
> -Original Message- > From: Akhil Goyal > Sent: Thursday, October 13, 2022 8:24 PM > To: Nicolau, Radu ; Wu, Jingjing > ; Xing, Beilei > Cc: dev@dpdk.org > Subject: RE: [EXT] [PATCH 1/3] net/iavf: fix security session destroy > > > Replace mempool_put with memset 0, the internal sess

RE: [PATCH] net/ice: fix module EEPROM read

2022-10-17 Thread Zhang, Qi Z
> -Original Message- > From: Markus Theil > Sent: Friday, October 14, 2022 1:36 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; David MacDougal > Subject: [PATCH] net/ice: fix module EEPROM read > > From: David MacDougal > > Fix issue with final word being dropped when re

RE: [PATCH] net/iavf: fix SPI check

2022-10-17 Thread Zhang, Qi Z
> -Original Message- > From: Radu Nicolau > Sent: Friday, October 14, 2022 5:51 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Nicolau, Radu ; > sta...@dpdk.org > Subject: [PATCH] net/iavf: fix SPI check > > Return error if SPI from the flow spec doesn't match the one from t

[PATCH 25/25] net/nfp: add the support of new tunnel solution

2022-10-17 Thread Chaoyong He
The new version of flower firmware application add the support of a new tunnel solution. It changes the structure of tunnel neighbor, and use a feature flag to indicate which tunnel solution is used. Add the logic of read extra features from firmware, and store it in the app private structure. A

[PATCH 24/25] net/nfp: add the offload support of IPv6 NVGRE decap action

2022-10-17 Thread Chaoyong He
Add the offload support of decap action of IPv6 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/net/nfp/nfp_flow.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_n

[PATCH 22/25] net/nfp: add the offload support of IPv6 NVGRE item

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv6 NVGRE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 73 +- 1 file changed, 59 insertions(+), 14 deletions(-) diff --git a/drivers/net/nfp/nf

[PATCH 21/25] net/nfp: add the offload support of IPv4 NVGRE item

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv4 NVGRE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 2 + drivers/net/nfp/nfp_flow.c | 99 +++- 2 files changed, 99 insertions(+), 2 dele

[PATCH 23/25] net/nfp: add the offload support of IPv4 NVGRE decap action

2022-10-17 Thread Chaoyong He
Add the offload support of decap action of IPv4 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 8 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/featur

[PATCH 20/25] net/nfp: prepare for the decap action of IPv6 GRE tunnel

2022-10-17 Thread Chaoyong He
Add the related data structure and logics, prepare for the decap action of IPv6 GRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 41 ++ drivers/net/nfp/nfp_flow.c | 49 ++

[PATCH 19/25] net/nfp: prepare for the decap action of IPv4 GRE tunnel

2022-10-17 Thread Chaoyong He
Add the related data structure and logics, prepare for the decap action of IPv4 GRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 29 +++ drivers/net/nfp/nfp_flow.c | 40 +

[PATCH 18/25] net/nfp: add the offload support of IPv6 NVGRE encap action

2022-10-17 Thread Chaoyong He
Add the offload support of encap action of IPv6 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 45 ++ 2 files changed, 46 insertions(+) diff --git

[PATCH 17/25] net/nfp: add the offload support of IPv4 NVGRE encap action

2022-10-17 Thread Chaoyong He
Add the offload support of encap action of IPv4 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 43 2 files changed, 44 insertions(+) diff --git a/doc

[PATCH 16/25] net/nfp: add the offload support of IPv6 GENEVE decap action

2022-10-17 Thread Chaoyong He
Add the offload support of decap action for IPv6 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/net/nfp/nfp_flow.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel

[PATCH 14/25] net/nfp: add the offload support of IPv6 GENEVE item

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv6 GENEVE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 43 +-- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/drivers/net/nfp/nfp_f

[PATCH 15/25] net/nfp: add the offload support of IPv4 GENEVE decap action

2022-10-17 Thread Chaoyong He
Add the offload support of decap action for IPv4 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 16 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/guide

[PATCH 13/25] net/nfp: add the offload support of IPv4 GENEVE item

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv4 GENEVE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 75 ++-- 2 files changed, 74 insertions(+), 2 del

[PATCH 12/25] net/nfp: add the offload support of IPv6 GENEVE encap action

2022-10-17 Thread Chaoyong He
Add the offload support of encap action for IPv6 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 49 ++ 2 files changed, 50 insertions(+) diff --g

[PATCH 11/25] net/nfp: add the offload support of IPv4 GENEVE encap action

2022-10-17 Thread Chaoyong He
Add the offload support of encap action for IPv4 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 107 +++ 2 files changed, 108 insertions(+) diff --git a

[PATCH 10/25] net/nfp: add the offload support of IPv6 VXLAN decap action

2022-10-17 Thread Chaoyong He
Add the offload support of decap action for IPv6 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/net/nfp/nfp_flow.c | 18 ++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --g

[PATCH 09/25] net/nfp: add the offload support of IPv4 VXLAN decap action

2022-10-17 Thread Chaoyong He
Add the offload support of decap action for IPv4 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 75 +--- 2 files changed, 71 insertions(+), 5 deletions(-)

[PATCH 08/25] net/nfp: prepare for the decap action of IPv6 UDP tunnel

2022-10-17 Thread Chaoyong He
Add the related data structure and functions, prepare for the decap action of IPv6 UDP tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 42 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 24 + drivers/net/nfp/nfp_flow.c

[PATCH 07/25] net/nfp: prepare for the decap action of IPv4 UDP tunnel

2022-10-17 Thread Chaoyong He
Add the related data structure and functions, prepare for the decap action of IPv4 UDP tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 118 drivers/net/nfp/flower/nfp_flower_cmsg.h | 94 +++ drivers/net/nfp/nfp_flow.c

[PATCH 06/25] net/nfp: add the offload support of IPv6 VXLAN encap action

2022-10-17 Thread Chaoyong He
Add the offload support of encap action for IPv6 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 48 ++ 2 files changed, 44 insertions(+), 5 deletio

[PATCH 04/25] net/nfp: prepare for the encap action of IPv6 tunnel

2022-10-17 Thread Chaoyong He
Add the related data structure and functions, prepare for the encap action of IPv6 tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 29 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 40 drivers/net/nfp/nfp_flow

[PATCH 05/25] net/nfp: add the offload support of IPv4 VXLAN encap action

2022-10-17 Thread Chaoyong He
Add the offload support of encap action for IPv4 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 132 +-- 2 files changed, 128 insertions(+), 5 deletions(-

[PATCH 03/25] net/nfp: prepare for the encap action of IPv4 tunnel

2022-10-17 Thread Chaoyong He
Add the related data structure and functions, prepare for the encap action of IPv4 tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 29 ++ drivers/net/nfp/flower/nfp_flower_cmsg.h | 93 drive

[PATCH 00/25] add the extend rte_flow offload support of nfp PMD

2022-10-17 Thread Chaoyong He
This is the third patch series to add the support of rte_flow offload for nfp PMD, includes: Add the offload support of decap/encap of VXLAN Add the offload support of decap/encap of GENEVE Add the offload support of decap/encap of NVGRE Depends-on: series-25268 ("add the basic rte_flow offload su

[PATCH 02/25] net/nfp: add the offload support of IPv6 VXLAN item

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of IPv6 VXLAN item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 42 drivers/net/nfp/nfp_flow.c | 113 --- 2

[PATCH 01/25] net/nfp: add the offload support of IPv4 VXLAN item

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of IPv4 VXLAN item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 35 + drivers/net/nfp/nfp_flow.c

[PATCH v3 25/25] net/nfp: add the offload support of set IPv6 DSCP action

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of set IPv6 DSCP action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/net/nfp/nfp_flow.c | 39 ++

[PATCH v3 24/25] net/nfp: add the offload support of set IPv4 DSCP action

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of set IPv4 DSCP action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 39 +++

[PATCH v3 23/25] net/nfp: add the offload support of set TTL action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set TTL action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 44

[PATCH v3 22/25] net/nfp: add the offload support of set TP DST port action

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of set TP dest port action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 15 +++

[PATCH v3 21/25] net/nfp: add the offload support of set TP SRC port action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set TP source port action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 21 +++ drivers/net/nfp/nfp_

[PATCH v3 20/25] net/nfp: add the offload support of set DST IPv6 action

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of set dest IPv6 address action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/net/nfp/nfp_flow.c | 9 + 3

[PATCH v3 19/25] net/nfp: add the offload support of set SRC IPv6 action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set source IPv6 address action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 33 ++

[PATCH v3 17/25] net/nfp: add the offload support of set SRC IPv4 action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set source IPv4 address action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 25 ++ drivers/net/

[PATCH v3 18/25] net/nfp: add the offload support of set DST IPv4 action

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of set dest IPv4 address action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 16 +++

[PATCH v3 16/25] net/nfp: add the offload support of push VLAN action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of push_vlan action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 3 ++ doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h |

[PATCH v3 15/25] net/nfp: add the offload support of pop VLAN action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of pop_vlan action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 5 + drivers/net/nfp/nfp_flow.c

[PATCH v3 14/25] net/nfp: add the offload support of set DST MAC action

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of set dest MAC action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 15 +++ 3 f

[PATCH v3 13/25] net/nfp: add the offload support of set SRC MAC action

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set source MAC action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 27 ++ drivers/net/nfp/nfp_f

[PATCH v3 12/25] net/nfp: add the offload support of SCTP item

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of SCTP item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 63 ++

[PATCH v3 11/25] net/nfp: add the offload support of UDP item

2022-10-17 Thread Chaoyong He
Add the corresponding logics to support the offload of UDP item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 63 +++

[PATCH v3 10/25] net/nfp: add the offload support of TCP item

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of TCP item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 91 +++

[PATCH v3 09/25] net/nfp: add the offload support of IPv6 item

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of IPv6 item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 2 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 33

[PATCH v3 08/25] net/nfp: add the offload support of IPv4 item

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of IPv4 item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 38

[PATCH v3 07/25] net/nfp: add the offload support of VLAN item

2022-10-17 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of VLAN item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + drivers/net/nfp/nfp_flow.c | 46 ++

[PATCH v3 06/25] net/nfp: add the offload support of basic actions

2022-10-17 Thread Chaoyong He
Add the offload support of very basic actions: mark, rss, count, drop and output. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 6 ++ doc/guides/rel_notes/release_22_11.rst | 6 ++ drivers/net/nfp/flower/nfp_flower_cmsg.h | 11 +++

[PATCH v3 05/25] net/nfp: add the offload support of basic items

2022-10-17 Thread Chaoyong He
Add the offload support of very basic items: ethernet and port id. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 4 + doc/guides/rel_notes/release_22_11.rst | 4 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 20 +++ drivers/net/nfp

[PATCH v3 04/25] net/nfp: add the flow APIs of nfp PMD

2022-10-17 Thread Chaoyong He
Add the flow validate/create/query/destroy/flush API of nfp PMD. The flow create API construct a control cmsg and send it to firmware, then add this flow to the hash table. The flow query API get flow stats from the flow_priv structure. Note there exist an rte_spin_lock to prevent the update and

[PATCH v3 03/25] net/nfp: add the structures and functions for flow offload

2022-10-17 Thread Chaoyong He
Add the structures and functions to process mask table, flow table, and flow stats id, which are used in the rte_flow offload logics. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower.c | 11 +- drivers/net/nfp/meson.build | 3 + drivers/n

[PATCH v3 02/25] net/nfp: add the stats process logic in ctrl VNIC service

2022-10-17 Thread Chaoyong He
Add the flow stats process logic in the ctrl VNIC service. The flower firmware pass the flow stats to nfp driver through control message, we store them in the flow_priv structure. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower.h | 2 + drive

[PATCH v3 01/25] net/nfp: fix the requirement of cpp bridge service

2022-10-17 Thread Chaoyong He
The cpp bridge service is needed for some debug tools, and should be optional, so remove the mandatory requirement of service lcore parameter. Fixes: b18804219537 ("net/nfp: add initial flower firmware support") Signed-off-by: Chaoyong He --- drivers/net/nfp/nfp_ethdev.c | 7 ++- 1 file cha

[PATCH v3 00/25] add the basic rte_flow offload support of nfp PMD

2022-10-17 Thread Chaoyong He
This is the second patch series to add the support of rte_flow offload for nfp PMD, includes: Implement the rte_flow related API Implement the offload framework of nfp card Add the offload support of common rte_flow pattern items Add the offload support of common rte_flow actions * Changes since v

Re: [PATCH 1/2] license/README: fix pathnames and add MIT

2022-10-17 Thread Stephen Hemminger
On Tue, 18 Oct 2022 02:46:40 + Hemant Agrawal wrote: > > -Original Message- > > From: Stephen Hemminger > > Sent: Tuesday, October 18, 2022 7:35 AM > > To: dev@dpdk.org > > Cc: techbo...@dpdk.org; Stephen Hemminger > > ; Ferruh Yigit > > Subject: [PATCH 1/2] license/README: fix path

[PATCH] net/ice: fix cannot setup queue at runtime

2022-10-17 Thread Kevin Liu
Failed to set queue at runtime, the reason is that 'dev_capa' is an invalid value. Add valid value to support rx/tx queue setup after device started. Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx") Signed-off-by: Kevin Liu --- drivers/net/ice/ice_ethdev.c | 4 1 file changed, 4 insert

RE: [PATCH 1/2] license/README: fix pathnames and add MIT

2022-10-17 Thread Hemant Agrawal
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, October 18, 2022 7:35 AM > To: dev@dpdk.org > Cc: techbo...@dpdk.org; Stephen Hemminger > ; Ferruh Yigit > Subject: [PATCH 1/2] license/README: fix pathnames and add MIT > > The pathnames in the license directory README are

[PATCH 1/2] license/README: fix pathnames and add MIT

2022-10-17 Thread Stephen Hemminger
The pathnames in the license directory README are incorrect. The current repository puts license text in license/ not licenses/. Also, MIT license is used already in a couple of places so add the necessary entry in the README. Signed-off-by: Stephen Hemminger Acked-by: Ferruh Yigit --- license

[RFC 2/2] license: add using MIT license in base code

2022-10-17 Thread Stephen Hemminger
Many network drivers have base code which is shared from other sources. It is allowed to use MIT license in this code since that license is compatiable with BSD license. The dates need to be adjusted after final approval. Signed-off-by: Stephen Hemminger --- license/exceptions.txt | 1 + 1 file

[PATCH 3/3] rwlock: make trylock operations no longer experimental

2022-10-17 Thread Stephen Hemminger
These have been in for since 19.02, time to take off the experimental tag. Signed-off-by: Stephen Hemminger --- lib/eal/include/generic/rte_rwlock.h | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/eal/include/generic/rte_rwlock.h b/lib/eal/include/generic/r

[PATCH 1/3] eal: remove experimental from rte_epoll_wait_interruptible

2022-10-17 Thread Stephen Hemminger
This call was added in 20.11, so time to make it not experimental. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_epoll.h | 1 - lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/eal/include/rte_epoll.h b/lib/eal/include/rte_epoll.h i

[PATCH 2/3] eal: make rte_log_list_types not experimental

2022-10-17 Thread Stephen Hemminger
This call was added in 21.05 so time to make it stable. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_log.h | 4 lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/eal/include/rte_log.h b/lib/eal/include/rte_log.h index 25ce42cdfc4

[PATCH 0/3] remove more experimental tags

2022-10-17 Thread Stephen Hemminger
Remove some of the older experimental tags for 22.11 Stephen Hemminger (3): eal: remove experimental from rte_epoll_wait_interruptible eal: make rte_log_list_types not experimental rwlock: make trylock operations no longer experimental lib/eal/include/generic/rte_rwlock.h | 12 ++-

[PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-17 Thread Mingjin Ye
PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye ---

RE: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-17 Thread Nole Zhang
> On 10/15/2022 8:38 AM, Nole Zhang wrote: > > > On 10/10/2022 7:48 AM, Chaoyong He wrote: > >>> From: Peng Zhang > >>> > >>> When the testpmd app start-up with parameter max-pkt-len, it will > >>> set > >> MTU. > >>> But the initialized value of flubfsz is inappropriate, if the value > >>> of

RE: [PATCH 4/4] eventdev: have timer adapter appropriately report idle

2022-10-17 Thread Carrillo, Erik G
> -Original Message- > From: Mattias Rönnblom > Sent: Monday, October 10, 2022 9:54 AM > To: Jayatheerthan, Jay ; Carrillo, Erik G > ; Gujjar, Abhinandan S > ; Jerin Jacob > Cc: dev@dpdk.org; Van Haaren, Harry ; > hof...@lysator.liu.se; mattias.ronnblom > Subject: [PATCH 4/4] eventdev: h

Re: [PATCH v4] dumpcap: fix select interface

2022-10-17 Thread Stephen Hemminger
On Mon, 17 Oct 2022 05:07:52 -0700 Arshdeep Kaur wrote: > The change to do argument process before EAL init broke > the support of select-interface option. Fix by setting flag > and doing select-interface later. > > Fixes: a8dde09f97df ("app/dumpcap: allow help/version without primary > process

RE: [PATCH 1/3] crypto/qat: make immutable parameters constant

2022-10-17 Thread Power, Ciara
Hi Arek, > -Original Message- > From: Arek Kusztal > Sent: Wednesday 17 August 2022 07:56 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH 1/3] crypto/qat: make immutable parameters constant > > All pointers passed to functions that are not

rte-flow: unmatched ingress traffic default action

2022-10-17 Thread Robin Jarry
Hi Ori, all, >From what I can read in the docs in the "Isolated Mode"[1] section: > The general expectation for ingress traffic is that flow rules process > it first; the remaining unmatched or pass-through traffic usually ends > up in a queue (with or without RSS, locally or in some sub-device >

[PATCH 2/2] app/testpmd: support TCP TSO in Tx only mode

2022-10-17 Thread Andrew Rybchenko
Add '--txonly-tso-mss=N' option that enables TSO offload and generates packets with specified MSS in txonly mode. Signed-off-by: Georgiy Levashov Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test-pmd/parameters.c | 10 + app/test-pmd/testpmd.c

[PATCH 1/2] app/testpmd: prepare to support TCP in Tx only mode

2022-10-17 Thread Andrew Rybchenko
This is useful for the incoming support of TCP TSO in Tx only mode. Signed-off-by: Georgiy Levashov Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test-pmd/parameters.c | 6 +-- app/test-pmd/testpmd.h| 4 +- app/test-pmd/txonly.c | 98 +--

[PATCH 0/2] app/testpmd: support TCP TSO in Tx only mode

2022-10-17 Thread Andrew Rybchenko
Add command-line option to generate TSO packets with specified MSS in txonly mode. I'm not sure that it is a good idea to enable TSO offload automaticaly when the options is specified, but it is convenient. Andrew Rybchenko (2): app/testpmd: prepare to support TCP in Tx only mode app/testpmd:

[Bug 1106] ipsec-secgw inline test fail

2022-10-17 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1106 Bug ID: 1106 Summary: ipsec-secgw inline test fail Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Nor

Re: [PATCH] net/bonding: make bonded device configure method re-entrant

2022-10-17 Thread Andrew Rybchenko
On 10/17/22 15:32, Chas Williams wrote: This appears to be correct. A minor comment inline. On 10/17/22 04:42, Andrew Rybchenko wrote: Chas, Cornor, could you review the patch, please. Thanks, Andrew. On 9/11/22 15:24, Ivan Malov wrote: According to the documentation, rte_eth_dev_configure()

Re: [PATCH] net/bonding: fix descriptor limit reporting

2022-10-17 Thread Andrew Rybchenko
On 10/17/22 15:40, Chas Williams wrote: On 10/17/22 04:40, Andrew Rybchenko wrote: Chas, Cornor, could you review the patch, please. Thanks, Andrew. On 9/11/22 15:19, Ivan Malov wrote: Commit 5be3b40fea60 ("net/bonding: fix values of descriptor limits") breaks reporting of "nb_min" and "nb_al

[PATCH] ci: combine static and shared linking build tests

2022-10-17 Thread David Marchand
Save some cpu time and disk by testing linking against static and shared library in single environments. The .ci/linux-build.sh is modified so it reconfigures an existing build directory: an empty DEF_LIB= means that static and shared builds are to be tested. ABI checks, documentation generation

Re: crypto/uadk: introduce uadk crypto driver

2022-10-17 Thread Zhangfei Gao
Hi, Akhil On 2022/10/17 下午3:02, Akhil Goyal wrote: Hi everyone, We have a new crypto PMD submitted on ML (http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhangfei@linaro.org/) This PMD is dependent on an external library which needs to be cross compiled for ARM on x86.

Re: [PATCH 2/2] ci: update to new API for step outputs in GHA

2022-10-17 Thread David Marchand
On Wed, Oct 12, 2022 at 6:53 PM David Marchand wrote: > > On Wed, Oct 12, 2022 at 6:30 PM David Marchand > wrote: > > > > GitHub actions deprecated use of set-output, replaced with > > GITHUB_OUTPUT. It is worth mentionning the deprecation announce: https://github.blog/changelog/2022-10-11-githu

Re: [PATCH v2 0/4] crypto/ccp cleanup

2022-10-17 Thread David Marchand
Hello, On Mon, Oct 17, 2022 at 3:42 PM Uttarwar, Sunil Prakashrao wrote: > > [Public] > > Hi Akhil & David, > > Regarding "crypto/ccp: fix PCI probing" patch, observing some issues while > verifying on AMD platform(Floating point exception). > > It seems there are some issues with this patch. T

  1   2   >