RE: [PATCH v2] net/ice: fix the judgment order of buffer split

2022-10-18 Thread Zhang, Qi Z
> -Original Message- > From: Wang, YuanX > Sent: Tuesday, October 18, 2022 1:05 AM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Ding, Xuan ; Tang, Yaqi > ; Wang, YuanX > Subject: [PATCH v2] net/ice: fix the judgment order of buffer split > > proto_hdr defines a bit mask of

[PATCH v2] app/testpmd: fix protocol headers display for Rx buffer split

2022-10-18 Thread Yuan Wang
The "show config rxhdrs" cmd displays the configured protocol headers that are used for protocol-based buffer split. However, it shows "inner-ipv6" as "inner-ipv4". This patch fixes that by adjusting the order of condition judgments. Fixes: 52e2e7edcf48 ("app/testpmd: add protocol-based buffer sp

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

2022-10-18 Thread Maxime Coquelin
On 10/18/22 08:19, Andy Pei wrote: 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 ++

RE: [PATCH v2] doc: fix support table for ETH and VLAN flow items

2022-10-18 Thread Ori Kam
> -Original Message- > From: fengchengwen > Sent: Monday, 17 October 2022 14:55 > > Thanks Ilya and Eli > > On 2022/10/16 13:26, Eli Britstein wrote: > > > > > >> -Original Message- > >> From: Ilya Maximets > >> Sent: Friday, October 14, 2022 3:37 PM > >> To: fengchengwen ; de

[RFC v3] app/dma-perf: introduce dma-perf application

2022-10-18 Thread Cheng Jiang
There are many high-performance DMA devices supported in DPDK now, and these DMA devices can also be integrated into other modules of DPDK as accelerators, such as Vhost. Before integrating DMA into applications, developers need to know the performance of these DMA devices in various scenarios and

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

2022-10-18 Thread Thomas Monjalon
18/10/2022 05:10, 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 Y

Re: [PATCH] usertools/pmdinfo: remove dependency to ldd

2022-10-18 Thread Olivier Matz
On Fri, Oct 14, 2022 at 04:02:02PM +0200, Olivier Matz wrote: > Hi Robin, > > On Thu, Oct 13, 2022 at 03:41:25PM +0200, Robin Jarry wrote: > > Some environments (buildroot) do not have the ldd utility installed by > > default. However, ldd is often only a wrapper shell script that actually > > che

RE: rte-flow: unmatched ingress traffic default action

2022-10-18 Thread Ori Kam
Hi Jarry, > -Original Message- > From: Robin Jarry > Sent: Monday, 17 October 2022 17:49 > > 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 unm

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

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 2:41 AM, Nole Zhang wrote: 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

Re: rte-flow: unmatched ingress traffic default action

2022-10-18 Thread Robin Jarry
Hi Ori, Ori Kam, Oct 18, 2022 at 09:41: > > Should I read "general expectation" as a simple recommendation or is > > it a requirement from the RTE flow API? > > I think the wording in the doc should change since it is not clear. So > let me clarify it. > > The idea of isolated mode is that the DPD

RE: [PATCH v2] gro : check for payload length after the trim

2022-10-18 Thread Hu, Jiayu
> -Original Message- > From: Kumara Parameshwaran > Sent: Sunday, October 16, 2022 10:43 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kumara Parameshwaran > ; sta...@dpdk.org > Subject: [PATCH v2] gro : check for payload length after the trim > > From: Kumara Parameshwaran > > When packet

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

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 4:12 AM, Chaoyong He wrote: 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 o

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

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 4:12 AM, Chaoyong He wrote: Add the corresponding data structure and logics, to support the offload of VLAN item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund Can you please rename patch titles like: net/nfp: support VLAN flow item net/nfp: support SRC MAC flow act

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

2022-10-18 Thread Mattias Rönnblom
On 2022-10-18 07:57, bugzi...@dpdk.org wrote: > https://protect2.fireeye.com/v1/url?k=31323334-501d5122-313273af-45444731-77db8b1c577f1119&q=1&e=8bb9cf17-6273-48ca-96b9-52e8c1287ae2&u=https%3A%2F%2Fbugs.dpdk.org%2Fshow_bug.cgi%3Fid%3D1107 > > Bug ID: 1107 > Summary: [2

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

2022-10-18 Thread Nole Zhang
> On 10/18/2022 2:41 AM, Nole Zhang wrote: > > > >> 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 initi

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

2022-10-18 Thread Jiang, YuX
> -Original Message- > From: Mattias Rönnblom > Sent: Tuesday, October 18, 2022 4:44 PM > To: bugzi...@dpdk.org; dev@dpdk.org > Cc: David Marchand ; Liang, Cunming > > Subject: Re: [Bug 1107] [22.11-rc1][meson test] seqlock_autotest test failed > > On 2022-10-18 07:57, bugzi...@dpdk.org

RE: rte-flow: unmatched ingress traffic default action

2022-10-18 Thread Ori Kam
Hi Jarry, > -Original Message- > From: Robin Jarry > Sent: Tuesday, 18 October 2022 11:13 > > Hi Ori, > > Ori Kam, Oct 18, 2022 at 09:41: > > > Should I read "general expectation" as a simple recommendation or is > > > it a requirement from the RTE flow API? > > > > I think the wording

RE: [PATCH 2/4] eventdev: have ethernet Rx adapter appropriately report idle

2022-10-18 Thread Jayatheerthan, Jay
Looks good to me. Thanks for submitting this! Acked by: Jay Jayatheerthan -Jay > -Original Message- > From: Naga Harish K, S V > Sent: Monday, October 17, 2022 6:07 PM > To: Jerin Jacob ; mattias.ronnblom > > Cc: Jayatheerthan, Jay ; Carrillo, Erik G > ; Gujjar, Abhinandan S > ; J

RE: [PATCH 3/4] eventdev: have ethernet Tx adapter appropriately report idle

2022-10-18 Thread Jayatheerthan, Jay
Looks good to me. Thanks for submitting this! Acked by: Jay Jayatheerthan -Jay > -Original Message- > From: Naga Harish K, S V > Sent: Thursday, October 13, 2022 7:00 AM > To: Jayatheerthan, Jay ; mattias.ronnblom > ; Carrillo, Erik G > ; Gujjar, Abhinandan S > ; Jerin Jacob > Cc: d

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

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 9:51 AM, Nole Zhang wrote: On 10/18/2022 2:41 AM, Nole Zhang wrote: 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

Re: rte-flow: unmatched ingress traffic default action

2022-10-18 Thread Robin Jarry
Ori Kam, Oct 18, 2022 at 11:16: > > This is also in regular (non-isolated) mode? > > No, in non-isolated mode PMD will insert default rules based on the > configuration, for example matching on the mac/vlan And eventually redirecting packets in queues following the RSS configuration? Do you think

[PATCH v1] eventdev/crypto: add memzone lookup

2022-10-18 Thread Ganapati Kundapura
Secondary process is not able to call the crypto adapter api's stats get/reset as crypto adapter memzone memory is not accessible by secondary process. Added memzone lookup so that secondary process can call the crypto adapter api's(stats_get etc) Signed-off-by: Ganapati Kundapura diff --git a/

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

2022-10-18 Thread Mattias Rönnblom
On 2022-10-18 11:08, Jiang, YuX wrote: >> -Original Message- >> From: Mattias Rönnblom >> Sent: Tuesday, October 18, 2022 4:44 PM >> To: bugzi...@dpdk.org; dev@dpdk.org >> Cc: David Marchand ; Liang, Cunming >> >> Subject: Re: [Bug 1107] [22.11-rc1][meson test] seqlock_autotest test faile

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

2022-10-18 Thread Nole Zhang
> -Original Message- > From: Ferruh Yigit > Sent: 2022年10月18日 17:36 > To: Nole Zhang ; Chaoyong He > ; dev@dpdk.org > Cc: oss-drivers ; Niklas Soderlund > ; sta...@dpdk.org > Subject: Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz > > On 10/18/2022 9:51 AM, Nole Z

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

2022-10-18 Thread Jiang, YuX
> -Original Message- > From: Mattias Rönnblom > Sent: Tuesday, October 18, 2022 5:50 PM > To: Jiang, YuX ; bugzi...@dpdk.org; dev@dpdk.org > Cc: David Marchand ; Liang, Cunming > > Subject: Re: [Bug 1107] [22.11-rc1][meson test] seqlock_autotest test failed > > On 2022-10-18 11:08, Jiang

Re: crypto/uadk: introduce uadk crypto driver

2022-10-18 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 x8

RE: rte-flow: unmatched ingress traffic default action

2022-10-18 Thread Ori Kam
> -Original Message- > From: Robin Jarry > Sent: Tuesday, 18 October 2022 12:36 > > Ori Kam, Oct 18, 2022 at 11:16: > > > This is also in regular (non-isolated) mode? > > > > No, in non-isolated mode PMD will insert default rules based on the > > configuration, for example matching on t

[PATCH] net/iavf: revert fix VLAN insertion

2022-10-18 Thread Yiding Zhou
The patch to be reverted forces to select normal Tx path when kernel driver tells that L2TAG2 is required, it results in a lot of performance loss. We should support Tx context descriptor on vector path to handle the L2TAG2 case. This commit reverts commit 0d58caa7d6d1 ("net/iavf: fix VLAN insert

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

2022-10-18 Thread Chas Williams
On 10/17/22 10:10, Andrew Rybchenko wrote: 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: Accordin

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

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 10:50 AM, Nole Zhang wrote: -Original Message- From: Ferruh Yigit Sent: 2022年10月18日 17:36 To: Nole Zhang ; Chaoyong He ; dev@dpdk.org Cc: oss-drivers ; Niklas Soderlund ; sta...@dpdk.org Subject: Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz On 1

Re: crypto/uadk: introduce uadk crypto driver

2022-10-18 Thread Zhangfei Gao
On 2022/10/18 下午6:07, Zhangfei Gao wrote: 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 w

[Bug 1108] i40e completely ignores flow rule transfer attribute prio to 22.11-rc1

2022-10-18 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1108 Bug ID: 1108 Summary: i40e completely ignores flow rule transfer attribute prio to 22.11-rc1 Product: DPDK Version: 22.07 Hardware: All OS: All Status:

Re: [PATCH v3 13/13] net/cnxk: handle hard expiry events

2022-10-18 Thread Jerin Jacob
On Fri, Oct 14, 2022 at 11:14 AM Nithin Dabilpuram wrote: > > From: Vamsi Attunuru > > Based on the hard limits configured in the SA context, > PMD passes corresponding event subtype to the application > to notify hard expiry event > > Signed-off-by: Vamsi Attunuru Updated the git commit as fol

[Bug 1109] ice completely ignores flow rule transfer attribute prio to 22.11-rc1

2022-10-18 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1109 Bug ID: 1109 Summary: ice completely ignores flow rule transfer attribute prio to 22.11-rc1 Product: DPDK Version: 22.07 Hardware: All OS: All Status: U

RE: [PATCH v2 00/14] add support for idpf PMD in DPDK

2022-10-18 Thread Guo, Junfeng
> -Original Message- > From: Andrew Rybchenko > Sent: Monday, October 3, 2022 22:36 > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Wang, Xiao W > Subject: Re: [PATCH v2 00/14] add support for idpf PMD in DPDK > > On 10/3/22 16:31, Andrew Rybchen

[PATCH v3 00/15] add support for idpf PMD in DPDK

2022-10-18 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. Junfeng Guo (15): common/idpf: int

[PATCH v3 02/15] net/idpf: add support for device initialization

2022-10-18 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 v3 03/15] net/idpf: add queue setup and release in single queue model

2022-10-18 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 v3 04/15] net/idpf: add queue setup and release in split queue model

2022-10-18 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 v3 05/15] net/idpf: add support for queue start and stop

2022-10-18 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 v3 06/15] net/idpf: add support for device information get

2022-10-18 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 b4923faa5f..7ae52a68b

[PATCH v3 07/15] net/idpf: add support for packet type get

2022-10-18 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 v3 08/15] net/idpf: add support for link status update

2022-10-18 Thread Junfeng Guo
Add dev ops link_update. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 21 + drivers/net/idpf/idpf_ethdev.h | 6 ++ 2 files changed, 27 insertions(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev

[PATCH v3 09/15] net/idpf: add support for basic Rx/Tx datapath

2022-10-18 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 | 671 ++

[PATCH v3 10/15] net/idpf: add support for Rx/Tx offloading

2022-10-18 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 | 237 +++

[PATCH v3 11/15] net/idpf: add support for RSS

2022-10-18 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 v3 12/15] net/idpf: add support for MTU configuration

2022-10-18 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 v3 13/15] net/idpf: add support for write back based on ITR expire

2022-10-18 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 v3 14/15] net/idpf: add AVX512 data path for single queue model

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

[PATCH v3 15/15] net/idpf: add support for timestamp offload

2022-10-18 Thread Junfeng Guo
Add support for timestamp offload. Signed-off-by: Wenjing Qiao Signed-off-by: Beilei Xing 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 | 58 ++

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

2022-10-18 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

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

2022-10-18 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 v4 02/25] net/nfp: add the structures and functions for flow offload

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

2022-10-18 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 v4 04/25] net/nfp: add the flow APIs of nfp PMD

2022-10-18 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 v4 05/25] net/nfp: support basic flow items

2022-10-18 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 v4 06/25] net/nfp: support basic flow actions

2022-10-18 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 v4 07/25] net/nfp: support VLAN flow item

2022-10-18 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 v4 08/25] net/nfp: support IPv4 flow item

2022-10-18 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 v4 09/25] net/nfp: support IPv6 flow item

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

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

2022-10-18 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 v4 11/25] net/nfp: support UDP flow item

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

2022-10-18 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 v4 13/25] net/nfp: support SRC MAC flow action

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

2022-10-18 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 v4 15/25] net/nfp: support pop VLAN flow action

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

2022-10-18 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 v4 17/25] net/nfp: support SRC IPv4 flow action

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

2022-10-18 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 v4 19/25] net/nfp: support SRC IPv6 flow action

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

2022-10-18 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 v4 22/25] net/nfp: support TP DST flow action

2022-10-18 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 v4 21/25] net/nfp: support TP SRC flow action

2022-10-18 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 v4 23/25] net/nfp: support TTL flow action

2022-10-18 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 v4 24/25] net/nfp: support IPv4 DSCP flow action

2022-10-18 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 v4 25/25] net/nfp: support IPv6 DSCP flow action

2022-10-18 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

RE: [PATCH] net/mlx5: fix thread termination check on Windows

2022-10-18 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Tal Shnaiderman > Sent: Wednesday, October 12, 2022 9:50 AM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Matan Azrad ; Slava Ovsiienko > ; Raslan Darawsheh ; > paul203...@gmail.com; Idan Hackmon ; > sta...@dpdk.org > Subject: [PATCH]

RE: [PATCH] net/mlx5: fix thread workspace memory leak

2022-10-18 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bill Zhou > Sent: Thursday, October 13, 2022 12:34 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh ; > Xueming(Steven) Li ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix thread workspace memory leak > > The thread workspa

Re: rte-flow: unmatched ingress traffic default action

2022-10-18 Thread Robin Jarry
Ori Kam, Oct 18, 2022 at 12:11: > > Do you think this is something that can be relied upon across > > different PMDs/NICs? > > Unless I'm missing something, yes this is the basis of DPDK. (I assume > you are talking about non-isolated mode) Yes I am. Thanks a lot for the precisions.

RE: [PATCH v3] net/vhost: support asynchronous data path

2022-10-18 Thread Xia, Chenbo
> -Original Message- > From: Hu, Jiayu > Sent: Monday, October 10, 2022 1:17 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: He, Xingguang ; Jiang, Cheng1 > ; Ma, WenwuX ; Wang, YuanX > ; dev@dpdk.org > Subject: RE: [PATCH v3] net/vhost: support asynchronous data path > > Hi Chenb

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

2022-10-18 Thread Pei, Andy
Hi Maxime, Thanks for your reply. I think your suggestion is good, I will send a new version to do it. > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 18, 2022 3:15 PM > To: Pei, Andy ; dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang > Subject

Re: [PATCH] net/iavf: revert fix VLAN insertion

2022-10-18 Thread Kevin Traynor
On 18/10/2022 11:26, Yiding Zhou wrote: The patch to be reverted forces to select normal Tx path when kernel driver tells that L2TAG2 is required, it results in a lot of performance loss. We should support Tx context descriptor on vector path to handle the L2TAG2 case. Hi. Was the original fi

Re: [PATCH v4 00/25] add the basic rte_flow offload support of nfp PMD

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 12:26 PM, Chaoyong He wrote: 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

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

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 12:26 PM, Chaoyong He wrote: The cpp bridge service is needed for some debug tools, and should be optional, so remove the mandatory requirement of service lcore parameter. I assume cpp is 'Command Push Pull', if so please describe it in the commit log (unless it is a common abbr

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

2022-10-18 Thread Andrew Rybchenko
Ivan, could you rebase the patch, please, and send a new version. Thanks, Andrew. On 10/18/22 13:34, Chas Williams wrote: On 10/17/22 10:10, Andrew Rybchenko wrote: 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 Rybche

Re: [PATCH v2] IGC: Remove I225_I_PHY_ID checking

2022-10-18 Thread Kevin Traynor
On 12/10/2022 09:39, Kevin Traynor wrote: On 12/10/2022 08:45, Mah, Yock Gen wrote: -Original Message- From: Kevin Traynor Sent: Tuesday, 11 October, 2022 7:05 PM To: IOTG DPDK Ref App ; Zhang, Qi Z Cc: dev@dpdk.org Subject: Re: [PATCH v2] IGC: Remove I225_I_PHY_ID checking On 31/0

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

2022-10-18 Thread Andy Pei
v8: change "vdpa_device_type" in "rte_vdpa_device" to "type". 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 t

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

2022-10-18 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 v8 03/12] vdpa/ifc: set max queues based on virtio spec

2022-10-18 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 v8 02/12] vdpa/ifc: add multi-queue support

2022-10-18 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 v8 04/12] vdpa/ifc: write queue count to MQ register

2022-10-18 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 v8 05/12] vdpa/ifc: only configure enabled queue

2022-10-18 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 v8 07/12] vdpa/ifc: change internal function name

2022-10-18 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 v8 06/12] vdpa/ifc: support dynamic enable/disable queue

2022-10-18 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 v8 08/12] vdpa/ifc: add internal API to get device

2022-10-18 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 v8 09/12] vdpa/ifc: change some driver logic

2022-10-18 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 v8 10/12] vhost: add type to rte vdpa device

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

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

2022-10-18 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 v8 12/12] vhost: improve vDPA blk device configure condition

2022-10-18 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 --- lib/vhost/vhost_user.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c index e0ff

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

2022-10-18 Thread Dumitrescu, Cristian
> -Original Message- > From: Ajmera, Megha > Sent: Tuesday, October 18, 2022 6:40 AM > To: Dumitrescu, Cristian ; dev@dpdk.org; > Singh, Jasvinder > Cc: sta...@dpdk.org > Subject: RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe > config > > > > entry = rte_cfg

  1   2   3   >