[PATCH] app/test: add support to run multi-seg inline IPsec test

2022-10-19 Thread Nithin Dabilpuram
Add support to run multi-seg inline ipsec test using new test comman `inline_ipsec_sg_autotest` Signed-off-by: Nithin Dabilpuram --- app/test/test_cryptodev_security_ipsec.c | 97 - app/test/test_cryptodev_security_ipsec.h | 6 +- app/test/test_security_inline_proto.c| 133

Re: [PATCH v2] net/bonding: fix flow flush order on bonded device close

2022-10-19 Thread Andrew Rybchenko
On 10/19/22 14:18, Ivan Malov wrote: The current code first removes all back-end devices of the bonded device and then invokes flush operation to remove flows in such back-end devices, which makes no sense. Fix that by re-ordering the steps accordingly. Fixes: 49dad9028e2a ("net/bonding: support

[PATCH v8 14/14] net/idpf: add support for timestamp offload

2022-10-19 Thread Junfeng Guo
Add support for timestamp offload. Signed-off-by: Wenjing Qiao Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 5 +- drivers/net/idpf/idpf_ethdev.h| 3 ++ drivers/net/idpf/idpf_rxtx.c | 57 drivers/net/

[PATCH v8 13/14] net/idpf: add AVX512 data path for single queue model

2022-10-19 Thread Junfeng Guo
Add support of AVX512 vector data path for single queue model. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/idpf.rst| 20 + drivers/net/idpf/idpf_ethdev.h | 5 + drivers/net/idpf/idpf_rxtx.c| 146 drivers/net/idpf/idpf_rxtx

[PATCH v8 12/14] net/idpf: add support for write back based on ITR expire

2022-10-19 Thread Junfeng Guo
Force write-backs by setting WB_ON_ITR bit in DYN_CTL register, so that the packets can be received once at a time. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 119 + drivers/net/idpf/idpf_ethdev.h | 8 +++ drivers

[PATCH v8 11/14] net/idpf: add support for MTU configuration

2022-10-19 Thread Junfeng Guo
Add dev ops mtu_set. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 24 2 files changed, 25 insertions(+) diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features

[PATCH v8 10/14] net/idpf: add support for RSS

2022-10-19 Thread Junfeng Guo
Add RSS support. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 123 - drivers/net/idpf/idpf_ethdev.h | 26 +++ drivers/net/idpf/idpf_rxtx.c | 27 drivers/net/idpf/idpf_vchnl.c | 96 ++

[PATCH v8 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-19 Thread Junfeng Guo
Add Rx/Tx offloading support, including TSO and CHKSUM. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 3 + drivers/net/idpf/idpf_ethdev.c| 10 ++ drivers/net/idpf/idpf_rxtx.c | 212 +++

[PATCH v8 08/14] net/idpf: add support for basic Rx/Tx datapath

2022-10-19 Thread Junfeng Guo
Add basic Rx & Tx support in split queue mode and single queue mode. Split queue mode is selected by default. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 8 +- drivers/net/idpf/idpf_rxtx.c | 667 ++

[PATCH v8 07/14] net/idpf: add support for packet type get

2022-10-19 Thread Junfeng Guo
Add dev ops dev_supported_ptypes_get. Signed-off-by: Beilei Xing Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 7 + drivers/net/idpf/idpf_ethdev.h| 2 + drivers/net/idpf/idpf_rxtx.c | 19 +++

[PATCH v8 06/14] net/idpf: add support for device information get

2022-10-19 Thread Junfeng Guo
Add dev ops dev_infos_get. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c index c25f222c5e..d1b6797d4

[PATCH v8 05/14] net/idpf: add support for queue start and stop

2022-10-19 Thread Junfeng Guo
Add support for queue operations: - rx_queue_start - rx_queue_stop - tx_queue_start - tx_queue_stop Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 46 + drivers/net/idpf

[PATCH v8 04/14] net/idpf: add queue setup and release in split queue model

2022-10-19 Thread Junfeng Guo
Add support for queue operations in split queue model: - rx_queue_setup - rx_queue_release - tx_queue_setup - tx_queue_release In the split queue model, "RX buffer queues" are used to pass descriptor buffers from SW to HW while Rx queues are used only to pass the descriptor completions, that i

[PATCH v8 03/14] net/idpf: add queue setup and release in single queue model

2022-10-19 Thread Junfeng Guo
Add support for queue operations in single queue model: - rx_queue_setup - rx_queue_release - tx_queue_setup - tx_queue_release In the single queue model, the same descriptor queue is used by SW to post buffer descriptors to HW and by HW to post completed descriptors to SW. Signed-off-by: Bei

[PATCH v8 02/14] net/idpf: add support for device initialization

2022-10-19 Thread Junfeng Guo
Support device init and add the following dev ops skeleton: - dev_configure - dev_start - dev_stop - dev_close Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Xiao Wang Signed-off-by: Junfeng Guo --- MAINTAINERS| 9 + doc/guides/nics/featu

[PATCH v8 00/14] add support for idpf PMD in DPDK

2022-10-19 Thread Junfeng Guo
This patchset introduced the idpf (Infrastructure Data Path Function) PMD in DPDK for Intel® IPU E2000 (Device ID: 0x1452). The Intel® IPU E2000 targets to deliver high performance under real workloads with security and isolation. Please refer to https://www.intel.com/content/www/us/en/products/net

RE: [PATCH v9 09/12] vdpa/ifc: improve internal list logic

2022-10-19 Thread Pei, Andy
Hi Chenbo, Thanks. > -Original Message- > From: Xia, Chenbo > Sent: Thursday, October 20, 2022 11:22 AM > To: Pei, Andy ; dev@dpdk.org > Cc: Xu, Rosen ; Huang, Wei ; > Cao, Gang ; maxime.coque...@redhat.com > Subject: RE: [PATCH v9 09/12] vdpa/ifc: improve internal list logic > > >

RE: [PATCH v5] net/iavf: add thread for event callbacks

2022-10-19 Thread Zhang, Qi Z
> -Original Message- > From: Yiding Zhou > Sent: Thursday, October 20, 2022 1:00 PM > To: dev@dpdk.org > Cc: Zhou, YidingX ; sta...@dpdk.org > Subject: [PATCH v5] net/iavf: add thread for event callbacks > > All callbacks registered for ethdev events are called in eal-intr-thread, and

RE: [PATCH v2] bus: fix memleak during pci device cleanup

2022-10-19 Thread Li, WeiyuanX
> -Original Message- > From: Kevin Laatz > Sent: Wednesday, October 19, 2022 8:38 PM > To: dev@dpdk.org > Cc: Laatz, Kevin ; Morten Brørup > ; Richardson, Bruce > > Subject: [PATCH v2] bus: fix memleak during pci device cleanup > > During PCI bus device cleanup some interrupt handle poin

RE: release candidate 22.11-rc1

2022-10-19 Thread Jiang, YuX
> -Original Message- > From: Jiang, YuX > Sent: Thursday, October 13, 2022 1:28 PM > To: Thomas Monjalon ; dev > Cc: Devlin, Michelle ; Mcnamara, John > ; Chen, Zhaoyan ; > Peng, Yuan > Subject: RE: release candidate 22.11-rc1 > > > -Original Message- > > From: Thomas Monjalon >

RE: [PATCH v1] net/ice: fix format overflow warning for meson build

2022-10-19 Thread Zhang, Qi Z
> -Original Message- > From: Yang, SteveX > Sent: Thursday, October 20, 2022 11:21 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX > Subject: [PATCH v1] net/ice: fix format overflow warning for meson build > > ‘__builtin___sprintf_chk’ may write a terminating nu

[PATCH v5] net/iavf: add thread for event callbacks

2022-10-19 Thread Yiding Zhou
All callbacks registered for ethdev events are called in eal-intr-thread, and some of them execute virtchnl commands. Because interrupts are disabled in the intr thread, there will be no response received for these commands. So all callbacks should be called in a new context. When the device is bo

RE: [PATCH v5 1/8] net/gve/base: introduce GVE PMD base code

2022-10-19 Thread Hemant Agrawal
> On 10/19/2022 4:13 PM, Hemant Agrawal wrote: > >> On 10/10/2022 11:17 AM, Junfeng Guo wrote: > >>> The following base code is based on Google Virtual Ethernet (gve) > >>> driver v1.3.0 under MIT license. > >>> - gve_adminq.c > >>> - gve_adminq.h > >>> - gve_desc.h > >>> - gve_desc_dqo.h > >>> - g

[PATCH v1] net/ice: fix format overflow warning for meson build

2022-10-19 Thread Steve Yang
‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Werror=format-overflow=] Enlarge string size to avoid this warning. Fixes: f2a3245e7aec ("net/ice: support ddp dump switch rule binary") Signed-off-by: Steve Yang --- drivers/net/ice/ice_ddp_package.c | 2 +

[PATCH v5 18/18] net/mlx5: create control flow rules with HWS

2022-10-19 Thread Suanming Mou
From: Dariusz Sosnowski This patch adds creation of control flow rules required to receive default traffic (based on port configuration) with HWS. Control flow rules are created on port start and destroyed on port stop. Handling of destroying these rules was already implemented before that patch

[PATCH v5 17/18] net/mlx5: support device control of representor matching

2022-10-19 Thread Suanming Mou
From: Dariusz Sosnowski In some E-Switch use cases applications want to receive all traffic on a single port. Since currently flow API does not provide a way to match traffic forwarded to any port representor, this patch adds support for controlling representor matching on ingress flow rules. Re

[PATCH v5 16/18] net/mlx5: support device control for E-Switch default rule

2022-10-19 Thread Suanming Mou
From: Dariusz Sosnowski This patch adds support for fdb_def_rule_en device argument to HW Steering, which controls: - creation of default FDB jump flow rule, - ability of the user to create transfer flow rules in root table. Signed-off-by: Dariusz Sosnowski Signed-off-by: Xueming Li --- driv

[PATCH v5 15/18] net/mlx5: support flow integrity in HWS group 0

2022-10-19 Thread Suanming Mou
From: Gregory Etelson - Reformat flow integrity item translation for HWS code. - Support flow integrity bits in HWS group 0. - Update integrity item translation to match positive semantics only. Signed-off-by: Gregory Etelson --- drivers/net/mlx5/mlx5_flow.h| 1 + drivers/net/mlx5/mlx5_f

[PATCH v5 14/18] net/mlx5: add async action push and pull support

2022-10-19 Thread Suanming Mou
The queue based rte_flow_async_action_* functions work same as queue based async flow functions. The operations can be pushed asynchronously, so is the pull. This commit adds the async action missing push and pull support. Signed-off-by: Suanming Mou --- drivers/net/mlx5/mlx5.h| 62

[PATCH v5 12/18] net/mlx5: implement METER MARK indirect action for HWS

2022-10-19 Thread Suanming Mou
From: Alexander Kozyrev Add ability to create an indirect action handle for METER_MARK. It allows to share one Meter between several different actions. Signed-off-by: Alexander Kozyrev --- doc/guides/nics/mlx5.rst | 3 + drivers/net/mlx5/mlx5.c| 4 +- drivers/net/mlx5

[PATCH v5 13/18] net/mlx5: add HWS AGE action support

2022-10-19 Thread Suanming Mou
From: Michael Baum Add support for AGE action for HW steering. This patch includes: 1. Add new structures to manage the aging. 2. Initialize all them in configure function. 3. Implement per second aging check using CNT background thread. 4. Enable AGE action in flow create/destroy operations

[PATCH v5 11/18] net/mlx5: add HW steering VLAN push, pop and VID modify flow actions

2022-10-19 Thread Suanming Mou
From: Gregory Etelson Add PMD implementation for HW steering VLAN push, pop and modify flow actions. HWS VLAN push flow action is triggered by a sequence of mandatory OF_PUSH_VLAN, OF_SET_VLAN_VID and optional OF_SET_VLAN_PCP flow actions commands. The commands must be arranged in the exact orde

[PATCH v5 09/18] net/mlx5: support DR action template API

2022-10-19 Thread Suanming Mou
From: Dariusz Sosnowski This patch adapts mlx5 PMD to changes in mlx5dr API regarding action templates. It changes the following: 1. Actions template creation: - Flow actions types are translated to mlx5dr action types in order to create mlx5dr_action_template object. - An offset

[PATCH v5 10/18] net/mlx5: add HW steering connection tracking support

2022-10-19 Thread Suanming Mou
This commit adds the support of connection tracking to HW steering as SW steering did before. Different with SW steering implementation, take advantage of HW steering bulk action allocation support, in HW steering only one single CT pool is needed. An indexed pool is introduced to record allocate

[PATCH v5 08/18] net/mlx5: add HW steering counter action

2022-10-19 Thread Suanming Mou
From: Xiaoyu Min This commit adds HW steering counter action support. Pool mechanism is the basic data structure for the HW steering counter. The HW steering's counter pool is based on the rte_ring of zero-copy variation. There are two global rte_rings: 1. free_list: Store the counters ind

[PATCH v5 07/18] net/mlx5: add HW steering meter action

2022-10-19 Thread Suanming Mou
From: Alexander Kozyrev This commit adds meter action for HWS steering. HW steering meter is based on ASO. The number of meters will be used by flows should be specified in advanced in the flow configure API. Signed-off-by: Alexander Kozyrev --- doc/guides/rel_notes/release_22_11.rst | 1 +

[PATCH v5 04/18] net/mlx5: add modify field hws support

2022-10-19 Thread Suanming Mou
This patch introduces support for modify_field rte_flow actions in HWS mode. Support includes: - Ingress and egress domains, - SET and ADD operations, - usage of arbitrary bit offsets and widths for packet and metadata fields. Support is implemented in two phases:

[PATCH v5 06/18] net/mlx5: add extended metadata mode for hardware steering

2022-10-19 Thread Suanming Mou
From: Bing Zhao The new mode 4 of devarg "dv_xmeta_en" is added for HWS only. In this mode, the Rx / Tx metadata with 32b width copy between FDB and NIC is supported. The mark is only supported in NIC and there is no copy supported. Signed-off-by: Bing Zhao --- doc/guides/nics/mlx5.rst

[PATCH v5 05/18] net/mlx5: add HW steering port action

2022-10-19 Thread Suanming Mou
From: Dariusz Sosnowski This patch implements creating and caching of port actions for use with HW Steering FDB flows. Actions are created on flow template API configuration and created only on the port designated as master. Attaching and detaching of ports in the same switching domain causes an

[PATCH v5 03/18] net/mlx5: add shared header reformat support

2022-10-19 Thread Suanming Mou
As the rte_flow_async API defines, the action mask with field value not be 0 means the action will be used as shared in all the flows in the table. The header reformat action with action mask field not be 0 will be created as constant shared action. For encapsulation header reformat action, there

[PATCH v5 02/18] net/mlx5: fix IPv6 and TCP RSS hash fields

2022-10-19 Thread Suanming Mou
In the flow_dv_hashfields_set() function, while item_flags was 0, the code went directly to the first if and the else case would never have chance be checked. This caused the IPv6 and TCP hash fields in the else case would never be set. This commit adds the dedicate HW steering hash field set func

[PATCH v5 01/18] net/mlx5: fix invalid flow attributes

2022-10-19 Thread Suanming Mou
In the function flow_get_drv_type(), attr will be read in non-HWS mode. In case user call the HWS API in SWS mode, attr should be placed in HWS functions, or it will cause crash. Fixes: c40c061a022e ("net/mlx5: add basic flow queue operation") Signed-off-by: Suanming Mou --- drivers/net/mlx5/ml

[PATCH v5 00/18] net/mlx5: HW steering PMD update

2022-10-19 Thread Suanming Mou
The skeleton of mlx5 HW steering(HWS) has been updated into upstream for pretty a long time, but not updated anymore due to missing of the low-level steering layer code. Luckily, better late than never, the steering layer finnaly comes[1]. This series will add more features to the existing PMD cod

RE: [PATCH v9 09/12] vdpa/ifc: improve internal list logic

2022-10-19 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Wednesday, October 19, 2022 4:41 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang ; > maxime.coque...@redhat.com > Subject: [PATCH v9 09/12] vdpa/ifc: improve internal list logic > > Insert internal list element

Re: [EXT] Re: crypto/uadk: introduce uadk crypto driver

2022-10-19 Thread Zhangfei Gao
Hi, Akhil On Wed, 19 Oct 2022 at 23:27, Zhangfei Gao 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

[PATCH v7 14/14] net/idpf: add support for timestamp offload

2022-10-19 Thread Junfeng Guo
Add support for timestamp offload. Signed-off-by: Wenjing Qiao Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 5 +- drivers/net/idpf/idpf_ethdev.h| 3 ++ drivers/net/idpf/idpf_rxtx.c | 57 drivers/net/

[PATCH v7 13/14] net/idpf: add AVX512 data path for single queue model

2022-10-19 Thread Junfeng Guo
Add support of AVX512 vector data path for single queue model. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/idpf.rst| 20 + drivers/net/idpf/idpf_ethdev.h | 5 + drivers/net/idpf/idpf_rxtx.c| 146 drivers/net/idpf/idpf_rxtx

[PATCH v7 12/14] net/idpf: add support for write back based on ITR expire

2022-10-19 Thread Junfeng Guo
Force write-backs by setting WB_ON_ITR bit in DYN_CTL register, so that the packets can be received once at a time. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 119 + drivers/net/idpf/idpf_ethdev.h | 8 +++ drivers

[PATCH v7 11/14] net/idpf: add support for MTU configuration

2022-10-19 Thread Junfeng Guo
Add dev ops mtu_set. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 24 2 files changed, 25 insertions(+) diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features

[PATCH v7 10/14] net/idpf: add support for RSS

2022-10-19 Thread Junfeng Guo
Add RSS support. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 123 - drivers/net/idpf/idpf_ethdev.h | 26 +++ drivers/net/idpf/idpf_rxtx.c | 27 drivers/net/idpf/idpf_vchnl.c | 96 ++

[PATCH v7 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-19 Thread Junfeng Guo
Add Rx/Tx offloading support, including TSO and CHKSUM. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 3 + drivers/net/idpf/idpf_ethdev.c| 10 ++ drivers/net/idpf/idpf_rxtx.c | 212 +++

[PATCH v7 08/14] net/idpf: add support for basic Rx/Tx datapath

2022-10-19 Thread Junfeng Guo
Add basic Rx & Tx support in split queue mode and single queue mode. Split queue mode is selected by default. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 8 +- drivers/net/idpf/idpf_rxtx.c | 667 ++

[PATCH v7 07/14] net/idpf: add support for packet type get

2022-10-19 Thread Junfeng Guo
Add dev ops dev_supported_ptypes_get. Signed-off-by: Beilei Xing Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 7 + drivers/net/idpf/idpf_ethdev.h| 2 + drivers/net/idpf/idpf_rxtx.c | 19 +++

[PATCH v7 06/14] net/idpf: add support for device information get

2022-10-19 Thread Junfeng Guo
Add dev ops dev_infos_get. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c index c25f222c5e..d1b6797d4

[PATCH v7 05/14] net/idpf: add support for queue start and stop

2022-10-19 Thread Junfeng Guo
Add support for queue operations: - rx_queue_start - rx_queue_stop - tx_queue_start - tx_queue_stop Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 1 + drivers/net/idpf/idpf_ethdev.c| 46 + drivers/net/idpf

[PATCH v7 04/14] net/idpf: add queue setup and release in split queue model

2022-10-19 Thread Junfeng Guo
Add support for queue operations in split queue model: - rx_queue_setup - rx_queue_release - tx_queue_setup - tx_queue_release In the split queue model, "RX buffer queues" are used to pass descriptor buffers from SW to HW while Rx queues are used only to pass the descriptor completions, that i

[PATCH v7 03/14] net/idpf: add queue setup and release in single queue model

2022-10-19 Thread Junfeng Guo
Add support for queue operations in single queue model: - rx_queue_setup - rx_queue_release - tx_queue_setup - tx_queue_release In the single queue model, the same descriptor queue is used by SW to post buffer descriptors to HW and by HW to post completed descriptors to SW. Signed-off-by: Bei

[PATCH v7 02/14] net/idpf: add support for device initialization

2022-10-19 Thread Junfeng Guo
Support device init and add the following dev ops skeleton: - dev_configure - dev_start - dev_stop - dev_close Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Xiao Wang Signed-off-by: Junfeng Guo --- MAINTAINERS| 9 + doc/guides/nics/featu

[PATCH v7 00/14] add support for idpf PMD in DPDK

2022-10-19 Thread Junfeng Guo
This patchset introduced the idpf (Infrastructure Data Path Function) PMD in DPDK for Intel® IPU Ethernet ES2000 Series (Device ID: 0x1452). v2: fixed some coding style issues and did some refactors. v3: fixed some coding style issues and did some refactors. v4: fixed some coding style issues an

[Bug 1103] [dpdk-next-crypto] examples/fips_validation meson build failed on centos7.9 with gcc4.8

2022-10-19 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1103 gaodaxue (daxuex@intel.com) changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONF

[PATCH v5 25/25] net/nfp: support IPv6 DSCP flow action

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 39 +++ 2 files changed, 40 insertions(+) di

[PATCH v5 24/25] net/nfp: support IPv4 DSCP flow action

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 39 +++ 2 files changed, 40 insertions(+) di

[PATCH v5 23/25] net/nfp: support TTL flow action

2022-10-19 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 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 44 + drivers/net/nfp/nfp_flow.c

[PATCH v5 22/25] net/nfp: support TP DST flow action

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 15 +++ 2 files changed, 16 insertions(+) diff --git a/doc/guides

[PATCH v5 21/25] net/nfp: support TP SRC flow action

2022-10-19 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 v5 20/25] net/nfp: support DST IPv6 flow action

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 9 + 2 files changed, 10 insertions(+) diff --git a/doc/guides/ni

[PATCH v5 19/25] net/nfp: support SRC IPv6 flow action

2022-10-19 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 v5 18/25] net/nfp: support DST IPv4 flow action

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 16 2 files changed, 17 insertions(+) diff --git a/doc/

[PATCH v5 17/25] net/nfp: support SRC IPv4 flow action

2022-10-19 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 v5 16/25] net/nfp: support push VLAN flow action

2022-10-19 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 ++ drivers/net/nfp/flower/nfp_flower_cmsg.h | 7 drivers/net/nfp/nfp_flow.c

[PATCH v5 15/25] net/nfp: support pop VLAN flow action

2022-10-19 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 v5 14/25] net/nfp: support DST MAC flow action

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 15 +++ 2 files changed, 16 insertions(+) diff --git a/doc/guides/nic

[PATCH v5 13/25] net/nfp: support SRC MAC flow action

2022-10-19 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 v5 12/25] net/nfp: support SCTP flow item

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 63 ++-- 2 files changed, 62 insertions(+), 2 deletions(

[PATCH v5 11/25] net/nfp: support UDP flow item

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 63 ++-- 2 files changed, 62 insertions(+), 2 deletions(-

[PATCH v5 10/25] net/nfp: support TCP flow item

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 91 drivers/net/nfp/nfp_flow.h

[PATCH v5 09/25] net/nfp: support IPv6 flow item

2022-10-19 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 | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 33 +++ drivers/net/nfp/nfp_flow.c

[PATCH v5 08/25] net/nfp: support IPv4 flow item

2022-10-19 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 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 38 ++ drivers/net/nfp/nfp_flow.c

[PATCH v5 07/25] net/nfp: support VLAN flow item

2022-10-19 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 + drivers/net/nfp/nfp_flow.c | 46 drivers/net/nfp/nfp_flow.h

[PATCH v5 06/25] net/nfp: support basic flow actions

2022-10-19 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 | 5 ++ doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/net/nfp/flower/nfp_flower_cmsg.h | 11 +++

[PATCH v5 05/25] net/nfp: support basic flow items

2022-10-19 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 | 2 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 20 +++ drivers/net/nfp

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

2022-10-19 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 v5 03/25] net/nfp: add the stats process logic in ctrl VNIC service

2022-10-19 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_cmsg.h | 25

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

2022-10-19 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/flower/nfp_flower.h | 2 + drivers/n

[PATCH v5 01/25] net/nfp: fix CPP bridge service requirement

2022-10-19 Thread Chaoyong He
The CPP(Command Pull Push) 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 | 13

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

2022-10-19 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] net/ice: support vxlan gpe tunnel offload

2022-10-19 Thread Xu, Ke1
> -Original Message- > From: Mingjin Ye > 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/ice:

RE: [PATCH v2] net/iavf: revert fix VLAN insertion

2022-10-19 Thread Zhou, YidingX
> -Original Message- > From: Kevin Traynor > Sent: Wednesday, October 19, 2022 4:53 PM > To: Zhou, YidingX ; dev@dpdk.org > Subject: Re: [PATCH v2] net/iavf: revert fix VLAN insertion > > On 19/10/2022 08:54, Yiding Zhou wrote: > > When the kernel driver tells to use the L2TAG2 field fo

RE: [PATCH] net/mlx5: add port representor support

2022-10-19 Thread Sean Zhang (Networking SW)
Thanks Ivan for the comments, patch updated. > -Original Message- > From: Ivan Malov > Sent: Wednesday, October 19, 2022 11:43 PM > To: Sean Zhang (Networking SW) > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Matan Azrad ; Slava Ovsiienko > ; Andrew Rybchenko > ; dev@dpdk.org > Subjec

[v2] net/mlx5: add port representor item support

2022-10-19 Thread Sean Zhang
Add support for port_representor item, it will match on traffic originated from representor port specified in the pattern. This item is supported in FDB steering domain only (in the flow with transfer attribute). For example, below flow will redirect the destination of traffic from ethdev 1 to eth

[PATCH v2] event/dlb2: fix port COS range allocation

2022-10-19 Thread Abdullah Sevincer
This commit fixes allocation of port COS when application requested port COS exceeds (e.g. beyond 0-15) the number of LDB ports for the domain. We limit application specified ports from a COS to the max ports allocated for the COS so that the rest of the of the ports can be allocated from default(

RE: [PATCH v3 18/30] baseband/acc100: enable input validation by default

2022-10-19 Thread Chautru, Nicolas
Hi Maxime, > From: Maxime Coquelin > On 10/12/22 04:53, Hernan Vargas wrote: > > Enable validation functions by default and provide a new flag > > RTE_LIBRTE_SKIP_VALIDATE if the user wants to run without validating > > input to save cycles. > > I would prefer a devarg, so that it can be enable

Re: [PATCH v5 3/8] net/gve: add support for device initialization

2022-10-19 Thread Ferruh Yigit
On 10/19/2022 3:24 PM, Zhang, Helin wrote: -Original Message- From: Ferruh Yigit Sent: Wednesday, October 19, 2022 9:47 PM To: Guo, Junfeng ; Zhang, Qi Z ; Wu, Jingjing ; Maxime Coquelin ; Xia, Chenbo Cc: dev@dpdk.org; Li, Xiaoyun ; awogbem...@google.com; Richardson, Bruce ; Lin,

Re: [PATCH v5 3/8] net/gve: add support for device initialization

2022-10-19 Thread Ferruh Yigit
On 10/19/2022 4:59 PM, Li, Xiaoyun wrote: Hi -Original Message- From: Ferruh Yigit Sent: Wednesday, October 19, 2022 14:46 To: Guo, Junfeng ; Zhang, Qi Z ; Wu, Jingjing Cc: ferruh.yi...@xilinx.com; dev@dpdk.org; Li, Xiaoyun ; awogbem...@google.com; Richardson, Bruce ; Lin, Xueqin ;

[v5 17/18] net/mlx5/hws: Add HWS debug layer

2022-10-19 Thread Alex Vesker
From: Hamdan Igbaria The debug layer is used to generate a debug CSV file containing details of the context, table, matcher, rules and other useful debug information. Signed-off-by: Hamdan Igbaria Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_debug.c | 462 +++

[v5 18/18] net/mlx5/hws: Enable HWS

2022-10-19 Thread Alex Vesker
Replace stub implenation of HWS with mlx5dr code. Signed-off-by: Alex Vesker --- doc/guides/nics/mlx5.rst | 5 +- doc/guides/rel_notes/release_22_11.rst | 4 + drivers/common/mlx5/linux/meson.build| 3 + drivers/net/mlx5/hws/meson.build | 18 +

[v5 16/18] net/mlx5/hws: Add HWS action object

2022-10-19 Thread Alex Vesker
From: Erez Shitrit Action objects are used for executing different HW actions over packets. Each action contains the HW resources and parameters needed for action use over the HW when creating a rule. Signed-off-by: Erez Shitrit Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_actio

[v5 15/18] net/mlx5/hws: Add HWS rule object

2022-10-19 Thread Alex Vesker
HWS rule objects reside under the matcher, each rule holds the configuration for the packet fields to match on and the set of actions to execute over the packet that has the requested fields. Rules can be created asynchronously in parallel over multiple queues to different matchers. Each rule is co

[v5 14/18] net/mlx5/hws: Add HWS matcher object

2022-10-19 Thread Alex Vesker
HWS matcher resides under the table object, each table can have multiple chained matcher with different attributes. Each matcher represents a combination of match and action templates. Each matcher can contain multiple configurations based on the templates. Packets are steered from the table to the

[v5 13/18] net/mlx5/hws: Add HWS table object

2022-10-19 Thread Alex Vesker
HWS table resides under the context object, each context can have multiple tables with different steering types RX/TX/FDB. The table is not only a logical object but it is also represented in the HW, packets can be steered to the table and from there to other tables. Signed-off-by: Erez Shitrit S

  1   2   3   4   >