[PATCH] net/mlx5: enable flow aging action

2022-10-31 Thread Suanming Mou
As the queue-based aging API has been integrated[1], the flow aging action support in HWS steering code can be enabled now. [1]: https://patchwork.dpdk.org/project/dpdk/cover/20221026214943.3686635-1-michae...@nvidia.com/ Signed-off-by: Suanming Mou --- drivers/net/mlx5/mlx5_flow.c| 2 --

[Bug 1118] [dpdk-22.11.0rc1][meson test] driver-tests/link_bonding_autotest test failed core dumped

2022-10-31 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1118 Bug ID: 1118 Summary: [dpdk-22.11.0rc1][meson test] driver-tests/link_bonding_autotest test failed core dumped Product: DPDK Version: 22.11 Hardware: All

[PATCH v18 00/18] add support for idpf PMD in DPDK

2022-10-31 Thread beilei . xing
From: Beilei Xing 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/

[PATCH v18 02/18] net/idpf: add support for device initialization

2022-10-31 Thread beilei . xing
From: Junfeng Guo Support device init and add the following dev ops: - dev_configure - dev_close - dev_infos_get Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Xiao Wang Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- MAINTAINERS|

[PATCH v18 03/18] net/idpf: add Tx queue setup

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add support for tx_queue_setup ops. 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. In the split queue model, "RX buffer queues" are used to pass descriptor buffers from SW to HW

[PATCH v18 05/18] net/idpf: add support for device start and stop

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add dev ops dev_start, dev_stop and link_update. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 55 ++ drivers/net/idpf/idpf_rxtx.c | 20 + 2 files changed, 7

[PATCH v18 04/18] net/idpf: add Rx queue setup

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add support for rx_queue_setup ops. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 11 + drivers/net/idpf/idpf_rxtx.c | 400 + drivers/net/idpf/idpf_rxtx.h | 46

[PATCH v18 06/18] net/idpf: add support for queue start

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add support for these device ops: - rx_queue_start - tx_queue_start Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 42 +++- drivers/net/idpf/idpf_ethdev.h | 9 + drivers/net/idpf/idpf_rxtx.c | 237

[PATCH v18 07/18] net/idpf: add support for queue stop

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add support for these device ops: - rx_queue_stop - tx_queue_stop Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 17 ++-- drivers/net/idpf/idpf_rxtx.c | 148 + drivers

[PATCH v18 09/18] net/idpf: add support for MTU configuration

2022-10-31 Thread beilei . xing
From: 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| 13 + 2 files changed, 14 insertions(+) diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics

[PATCH v18 08/18] net/idpf: add queue release

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add support for queue operations: - rx_queue_release - tx_queue_release Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 2 + drivers/net/idpf/idpf_rxtx.c | 81 ++ drive

[PATCH v18 10/18] net/idpf: add support for basic Rx datapath

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add basic Rx support in split queue mode and single queue mode. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 2 + drivers/net/idpf/idpf_rxtx.c | 273 + drivers/net/id

[PATCH v18 11/18] net/idpf: add support for basic Tx datapath

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add basic Tx support in split queue mode and single queue mode. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 3 + drivers/net/idpf/idpf_ethdev.h | 1 + drivers/net/idpf/idpf_rxtx.c | 357 +

[PATCH v18 12/18] net/idpf: support parsing packet type

2022-10-31 Thread beilei . xing
From: Junfeng Guo Parse packet type during receiving packets. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 6 + drivers/net/idpf/idpf_ethdev.h | 6 + drivers/net/idpf/idpf_rxtx.c | 11 ++ drivers/net/idpf/idpf_rxtx.h | 5 + drivers/net/id

[PATCH v18 13/18] net/idpf: add support for write back based on ITR expire

2022-10-31 Thread beilei . xing
From: Junfeng Guo Enable write back on ITR expire, then packets can be received one by one. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 120 + drivers/net/idpf/idpf_ethdev.h | 13 drivers/net/idpf/idpf_vchnl.

[PATCH v18 14/18] net/idpf: add support for RSS

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add RSS support. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 120 - drivers/net/idpf/idpf_ethdev.h | 26 +++ drivers/net/idpf/idpf_vchnl.c | 113 ++

[PATCH v18 15/18] net/idpf: add support for Rx offloading

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add Rx offloading support: - support CHKSUM and RSS offload for split queue model - support CHKSUM offload for single queue model Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini | 5 ++ drivers/net/id

[PATCH v18 16/18] net/idpf: add support for Tx offloading

2022-10-31 Thread beilei . xing
From: Junfeng Guo Add Tx offloading support: - support TSO for single queue model and split queue model. 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| 4 +- drivers/net/idp

[PATCH v18 18/18] net/idpf: add support for timestamp offload

2022-10-31 Thread beilei . xing
From: 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 | 65 ++

[PATCH v18 17/18] net/idpf: add AVX512 data path for single queue model

2022-10-31 Thread beilei . xing
From: 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| 19 + drivers/net/idpf/idpf_ethdev.c | 3 +- drivers/net/idpf/idpf_ethdev.h | 5 + drivers/

meson test link bonding failed//RE: [PATCH] net/bonding: fix descriptor limit reporting

2022-10-31 Thread Li, WeiyuanX
Hi Ivan, This patch is merged into dpdk22.11.0rc1 we execute meson test case link_bonding_autotest, link_bonding_rssconf_autotest and link_bonding_mode4_autotest test failed. Could you please have a look at it, also submitted a Bugzilla ticket: https://bugs.dpdk.org/show_bug.cgi?id=1118 Regar

Renaming DTS

2022-10-31 Thread Juraj Linkeš
Hello DPDK devs, As many of you are already aware, we're moving DTS (the testing framework along with tests) to DPDK. As part of this effort, we're doing a major refactoring/rewrite of DTS. What I feel is missing is a discussion of how we should name the rewritten DTS - not only are the changes

[PATCH] app/testeventdev: fix limit names in error message

2022-10-31 Thread Volodymyr Fialko
Swap min and max values to match their labels. Fixes: 2eaa37b8663 ("app/eventdev: add vector mode in pipeline test") Signed-off-by: Volodymyr Fialko --- app/test-eventdev/test_pipeline_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-eventdev/test_pipeli

[PATCH] drivers: remove unused build variable

2022-10-31 Thread Thomas Monjalon
The variable fmt_name has been removed from DPDK 21.02-rc1. Then some drivers were integrated in the same year with this variable. Of this course it has no effect, so it is cleaned up. Fixes: 832a4cf1d11d ("compress/mlx5: introduce PMD") Fixes: a7c86884f150 ("crypto/mlx5: introduce Mellanox crypto

RE: [PATCH] maintainers: change maintainer for event ethdev Rx/Tx adapters

2022-10-31 Thread Naga Harish K, S V
> -Original Message- > From: Thomas Monjalon > Sent: Sunday, October 30, 2022 2:30 PM > To: Naga Harish K, S V ; Jayatheerthan, Jay > > Cc: dev@dpdk.org; jerinjac...@gmail.com; jer...@marvell.com; > dev@dpdk.org; Mcnamara, John > Subject: Re: [PATCH] maintainers: change maintainer for

[PATCH v2 2/3] mempool: include non-DPDK threads in statistics

2022-10-31 Thread Morten Brørup
Offset the stats array index by one, and count non-DPDK threads at index zero. This patch provides two benefits: * Non-DPDK threads are also included in the statistics. * A conditional in the fast path is removed. Static branch prediction was correct, so the performance improvement is negligible

[PATCH v2 1/3] mempool: split statistics from debug

2022-10-31 Thread Morten Brørup
Split statistics from debug, to make mempool statistics available without the performance cost of continuously validating the cookies in the mempool elements. mempool_perf_autotest shows the follwing change in rate_persec. When enabling mempool debug without this patch: -28.1 % and -74.0 %, respe

[PATCH v2 3/3] mempool: use cache for frequently updated statistics

2022-10-31 Thread Morten Brørup
When built with statistics enabled (RTE_LIBRTE_MEMPOOL_STATS defined), the performance of mempools with caches is improved as follows. When accessing objects in the mempool, either the put_bulk and put_objs or the get_success_bulk and get_success_objs statistics counters are likely to be increment

[PATCH v4] doc: update Linux core isolation guide

2022-10-31 Thread pbhagavatula
From: Pavan Nikhilesh Update Linux core isolation guide to include isolation from timers, RCU processing and IRQs. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- v4 Changes: - Give names to Links to make them clickable. (Thomas) - Fix link formatting. v3 Changes: - Add addition

Flow Bifurcation of splitting the traffic between kernel space and user space (DPDK)

2022-10-31 Thread Ramakrishnan G
Dear Aaron and DPDK Dev Team, Thanks for the Article talks about the Traffic Flow bifurcation between kernel space and user space (DPDK) (3. Flow Bifurcation How-to Guide — Data Plane Development Kit 16.07.2 documentation (dpdk.org) )

[PATCH] net/bonding: set initial value of descriptor count alignment

2022-10-31 Thread Ivan Malov
The driver had once been broken by patch [1] looking to have a non-zero "nb_max" value in a use case not involving adding any back-end ports. That was addressed afterwards ([2]). But, as per report [3], similar test cases exist which attempt to setup Rx queues on a void bond before attaching any ba

Re: [PATCH v18 00/18] add support for idpf PMD in DPDK

2022-10-31 Thread Thomas Monjalon
31/10/2022 09:33, beilei.x...@intel.com: > From: Beilei Xing > > 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 isol

Re: [PATCH] net/gve: fix pointers dereference before null check

2022-10-31 Thread Ferruh Yigit
On 10/31/2022 5:05 AM, Junfeng Guo wrote: The pointers 'rxq' and 'txq' are dereferenced before the null check. Fixed the logic in this patch. Fixes: 4bec2d0b5572 ("net/gve: support queue operations") Signed-off-by: Junfeng Guo Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, than

Re: meson test link bonding failed//RE: [PATCH] net/bonding: fix descriptor limit reporting

2022-10-31 Thread Ivan Malov
Hi, Please see https://patches.dpdk.org/project/dpdk/patch/20221031131744.2340150-1-ivan.ma...@oktetlabs.ru/ . Thank you. On Mon, 31 Oct 2022, Li, WeiyuanX wrote: Hi Ivan, This patch is merged into dpdk22.11.0rc1 we execute meson test case link_bonding_autotest, link_bonding_rssconf_aut

Re: [PATCH v3] dumpcap: fix interface parameter check.

2022-10-31 Thread Thomas Monjalon
15/09/2022 10:44, Pattan, Reshma: > From: Arshdeep Kaur > > > > Correction in handling 'IF' condition for -i parameter. > > Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application") > > Signed-off-by: Arshdeep Kaur > > Acked-by: Reshma Pattan Sorry for not noticing, it was merge

RE: [PATCH] net/mlx5: enable flow aging action

2022-10-31 Thread Matan Azrad
> As the queue-based aging API has been integrated[1], the flow aging action > support in HWS steering code can be enabled now. > > [1]: > https://patchwork.dpdk.org/project/dpdk/cover/20221026214943.3686635- > 1-michae...@nvidia.com/ > > Signed-off-by: Suanming Mou Acked-by: Matan Azrad

Re: [PATCH v6 1/5] examples/l3fwd: fix port group mask generation

2022-10-31 Thread Thomas Monjalon
25/10/2022 18:05, pbhagavat...@marvell.com: > From: Pavan Nikhilesh > > Fix port group mask generation in altivec, vec_any_eq returns > 0 or 1 while port_groupx4 expects comparison mask result. > > Fixes: 2193b7467f7a ("examples/l3fwd: optimize packet processing on powerpc") > Cc: sta...@dpdk.or

Re: [PATCH v3] examples/distributor: update dynamic configuration

2022-10-31 Thread Thomas Monjalon
Hello, Not a complete review, but few general comments to improve the patch below: 01/09/2022 16:09, Abdullah Ömer Yamaç: > In this patch, > * It is possible to switch the running mode of the distributor > using the command line argument. > * With "-c" parameter, you can run RX and Distri

Re: [PATCH v3] usertools: telemetry pretty print in interactive mode

2022-10-31 Thread Thomas Monjalon
17/10/2022 11:15, Bruce Richardson: > On Mon, Oct 17, 2022 at 07:41:02AM +, Chengwen Feng wrote: > > Currently, the dpdk-telemetry.py show json in raw format under > > interactive mode, which is not good for human reading. > > > > E.g. The command '/ethdev/xstats,0' will output: > > {"/ethdev/

Re: [PATCH v3] doc: add removal note for power empty poll API

2022-10-31 Thread Thomas Monjalon
07/10/2022 15:40, Reshma Pattan: > --- a/doc/guides/prog_guide/power_man.rst > +++ b/doc/guides/prog_guide/power_man.rst > @@ -192,6 +192,14 @@ User Cases > -- > The mechanism can applied to any device which is based on polling. e.g. NIC, > FPGA. > > + > +Removal Note > + >

Re: [RFC] doc: update required kernel version to 4.14

2022-10-31 Thread Thomas Monjalon
02/08/2022 18:28, Morten Brørup: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Tuesday, 2 August 2022 17.36 > > > > The 4.4 kernel was end of life in February 2022, > > and the next LTS is 4.9 and it is reaching EOL in January 2023. > > The main distro using 4.9 is Debi

RE: [PATCH v12 04/16] baseband/acc: introduce PMD for ACC200

2022-10-31 Thread Chautru, Nicolas
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Sunday, October 30, 2022 9:03 AM > To: Chautru, Nicolas > Cc: dev@dpdk.org; gak...@marvell.com; maxime.coque...@redhat.com; > t...@redhat.com; Richardson, Bruce ; > hemant.agra...@nxp.com; david.march...@redhat.com; > step.

Re: [PATCH v2] devtools: check for supported git version

2022-10-31 Thread Thomas Monjalon
26/10/2022 10:34, Chaoyong He: > > On 10/26/2022 7:24 AM, David Marchand wrote: > > > On Tue, Oct 25, 2022 at 12:15 PM Ali Alnubani wrote: > > >> > > >> The script devtools/parse-flow-support.sh uses the git-grep option > > >> (-o, --only-matching), which is only supported from git version 2.19 >

Re: [PATCH v12 04/16] baseband/acc: introduce PMD for ACC200

2022-10-31 Thread Thomas Monjalon
31/10/2022 16:43, Chautru, Nicolas: > From: Thomas Monjalon > > 12/10/2022 19:59, Nicolas Chautru: > > > +Bind PF UIO driver(s) > > > +~ > > > + > > > +Install the DPDK igb_uio driver, bind it with the PF PCI device ID > > > +and use ``lspci`` to confirm the PF device is under

[PATCH 0/5] net/mlx5: some counter fixes

2022-10-31 Thread Michael Baum
Some fixes for HW/SW steering counters. Michael Baum (5): net/mlx5: fix race condition in counter pool resizing net/mlx5: fix accessing the wrong counter net/mlx5: fix missing counter elements copies in r2r cases net/mlx5: add assertions in counter get/put net/mlx5: assert for enough spa

[PATCH 1/5] net/mlx5: fix race condition in counter pool resizing

2022-10-31 Thread Michael Baum
Counter management structure has array of counter pools. This array is invalid in management structure initialization and grows on demand. The resizing include: 1. Allocate memory for the new size. 2. Copy the existing data to the new memory. 3. Move the pointer to the new memory. 4. Free the old

[PATCH 2/5] net/mlx5: fix accessing the wrong counter

2022-10-31 Thread Michael Baum
The HWS counter has 2 different identifiers: 1. Type "cnt_id_t" which represents the counter inside caches and in the flow structure. This index cannot be zero and is mostly called "cnt_id". 2. Internal index, the index in counters array with type "uint32_t". mostly it is called "iidx".

[PATCH 3/5] net/mlx5: fix missing counter elements copies in r2r cases

2022-10-31 Thread Michael Baum
The __hws_cnt_r2rcpy() function copies elements from one zero-copy ring to another zero-copy ring in place. This routine needs to consider the situation that the address was given by source and destination could be both wrapped. It uses 4 different "n" local variables to manage it: - n: Number o

[PATCH 4/5] net/mlx5: add assertions in counter get/put

2022-10-31 Thread Michael Baum
Add assertions to help debug in case of counter double alloc/free. Signed-off-by: Michael Baum Acked-by: Matan Azrad Acked-by: Xiaoyu Min --- drivers/net/mlx5/mlx5_hws_cnt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/mlx5/mlx5_hws_cnt.h b/drivers/net/mlx5/mlx5_hws_cnt.h

[PATCH 5/5] net/mlx5: assert for enough space in counter rings

2022-10-31 Thread Michael Baum
There is a by-design assumption in the code that the global counter rings can contain all the port counters. So, enqueuing to these global rings should always succeed. Add assertions to help for debugging this assumption. In addition, change mlx5_hws_cnt_pool_put() function to return void due to

Re: [PATCH] maintainers: change maintainer for event ethdev Rx/Tx adapters

2022-10-31 Thread Thomas Monjalon
31/10/2022 12:05, Naga Harish K, S V: > From: Thomas Monjalon > > 21/10/2022 13:35, Jay Jayatheerthan: > > > Harish is the new maintainer of Rx/Tx adapters due to role change of Jay > > > > > > Signed-off-by: Jay Jayatheerthan > > > > Please could we have an approval from the new maintainer? > >

Re: unsubscribe

2022-10-31 Thread Thomas Monjalon
13/10/2022 12:14, Benjamin Demartin: > Hello I would like to unsubscribe but I don’t know how This is the link to do it yourself: https://mails.dpdk.org/listinfo/dev I've unsubscribed you from dev list.

Re: 回复: 回复: 回复: [PATCH v2 1/3] ethdev: add API for direct rearm mode

2022-10-31 Thread Konstantin Ananyev
Hi Feifei, Add API for enabling direct rearm mode and for mapping RX and TX queues. Currently, the API supports 1:1(txq : rxq) mapping. Furthermore, to avoid Rx load Tx data directly, add API called 'rte_eth_txq_data_get' to get Tx sw_ring and its information. Suggested-by: Honnappa Nagara

[PATCH v1] crypto/qat: fix reallocate OpenSSL version check

2022-10-31 Thread Brian Dooley
Move the ossl_legacy_provider_unload() into the right place for secure protocol for QAT. Remove unnecessary unload from session destroy. Fixes: 52d59b92b06d ("crypto/qat: enable OpenSSL legacy provider in session") Cc: kai...@intel.com CC: sta...@dpdk.org Signed-off-by: Brian Dooley --- drivers/

RE: [PATCH 03/13] net/idpf: support device initialization

2022-10-31 Thread Ali Alnubani
> -Original Message- > From: Junfeng Guo > Sent: Wednesday, August 3, 2022 2:31 PM > To: qi.z.zh...@intel.com; jingjing...@intel.com; beilei.x...@intel.com > Cc: dev@dpdk.org; junfeng@intel.com; Xiaoyun Li > ; Xiao Wang > Subject: [PATCH 03/13] net/idpf: support device initialization

[PATCH] net/mlx5: fix the building with flexible array

2022-10-31 Thread Bing Zhao
With some higher GCC/CLANG version, it is not recommended to use a structure with a tailing flexible array inside another structure. Accessing this array may be considered as a risk to corrupt the following field even if it is by intention. The error below was observed: drivers/net/mlx5/linux/m

Understanding RX_OFFLOAD_VLAN_EXTEND

2022-10-31 Thread Ivan Malov
Hi! We have a hard time figuring out what the API contract of RX_OFFLOAD_VLAN_EXTEND might be. The best educated guess we can make is that the feature might have something to do with identifying VLAN packets and extracting TCI without stripping the tags from incoming packets. Is this understandi

Re: [PATCH v6 00/10] dts: ssh connection to a node

2022-10-31 Thread Thomas Monjalon
I was about to merge this series, and after long thoughts, it deserves a bit more changes. I would like to work with you for a merge in 22.11-rc3. 13/10/2022 12:35, Juraj Linkeš: > All the necessary code needed to connect to a node in a topology with > a bit more, such as basic logging and some ex

Re: [PATCH] net/mlx5: fix the building with flexible array

2022-10-31 Thread Thomas Monjalon
31/10/2022 19:24, Bing Zhao: > With some higher GCC/CLANG version, it is not recommended to use a > structure with a tailing flexible array inside another structure. > Accessing this array may be considered as a risk to corrupt the > following field even if it is by intention. > > The error below

Re: Understanding RX_OFFLOAD_VLAN_EXTEND

2022-10-31 Thread Ferruh Yigit
On 10/31/2022 6:46 PM, Ivan Malov wrote: Hi! We have a hard time figuring out what the API contract of RX_OFFLOAD_VLAN_EXTEND might be. The best educated guess we can make is that the feature might have something to do with identifying VLAN packets and extracting TCI without stripping the tags f

[PATCH v7 0/1] baseband/acc100: changes for 22.11

2022-10-31 Thread Hernan Vargas
v7: Not including dependency on SDK introduced in previous v3 for now due to lack of consensus yet. Still detecting the known corner case and flagging it. v6: Fix commit message typo. v5: Fix compilation error and squash documentation changes. v4: Rebased code to use the latest ACC common API an

[PATCH v7 1/1] baseband/acc100: add detection for deRM corner cases

2022-10-31 Thread Hernan Vargas
Add function to detect if de-ratematch pre-processing is recommended for SW corner cases. Some specific 5GUL FEC corner cases may cause unintended back pressure and in some cases a potential stability issue on the ACC100. The PMD can detect such code block configuration and issue an info message to

RE: [PATCH 10/14] baseband/ark: introduce ark baseband driver

2022-10-31 Thread Chautru, Nicolas
Hi John, > From: John Miller > Sent: Monday, October 31, 2022 10:34 AM > To: Chautru, Nicolas > Cc: dev@dpdk.org; ed.cz...@atomicrules.com; Shepard Siegel > ; Maxime Coquelin > Subject: Re: [PATCH 10/14] baseband/ark: introduce ark baseband driver > > Hi Nicolas, > > > > On Oct 26, 2022,

RE: [PATCH v12 04/16] baseband/acc: introduce PMD for ACC200

2022-10-31 Thread Chautru, Nicolas
Hi Thomas, > -Original Message- > From: Thomas Monjalon > 31/10/2022 16:43, Chautru, Nicolas: > > From: Thomas Monjalon > > > 12/10/2022 19:59, Nicolas Chautru: > > > > +Bind PF UIO driver(s) > > > > +~ > > > > + > > > > +Install the DPDK igb_uio driver, bind it with

Re: Understanding RX_OFFLOAD_VLAN_EXTEND

2022-10-31 Thread Ivan Malov
Thank you, Ferruh. You have been most helpful. On Mon, 31 Oct 2022, Ferruh Yigit wrote: On 10/31/2022 6:46 PM, Ivan Malov wrote: Hi! We have a hard time figuring out what the API contract of RX_OFFLOAD_VLAN_EXTEND might be. The best educated guess we can make is that the feature might have so

RE: [PATCH] net/iavf: fix Tx descriptors for IPSec

2022-10-31 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Friday, October 28, 2022 5:43 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > Nicolau, Radu ; Xu, Ke1 ; Wu, > Jingjing ; Xing, Beilei ; Zhang, > Qi Z ; Peng Zhang > Subject: [PATCH] net/iavf: fix Tx des

Re: Flow Bifurcation of splitting the traffic between kernel space and user space (DPDK)

2022-10-31 Thread Stephen Hemminger
On Sat, 29 Oct 2022 02:39:01 +0530 Ramakrishnan G wrote: > From: Ramakrishnan G > To: aaron.f.br...@intel.com, dev@dpdk.org, sarava...@gmail.com > Subject: Flow Bifurcation of splitting the traffic between kernel space and > user space (DPDK) > Date: Sat, 29 Oct 2022 02:39:01 +0530 > > Dear A

release candidate 22.11-rc2

2022-10-31 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v22.11-rc2 There are 422 new patches in this snapshot. Release notes: https://doc.dpdk.org/guides/rel_notes/release_22_11.html There were a lot of updates in drivers, including 3 new drivers:

Re: [PATCH] net/bonding: set initial value of descriptor count alignment

2022-10-31 Thread humin (Q)
Acked-by: Min Hu (Connor) 在 2022/10/31 21:17, Ivan Malov 写道: The driver had once been broken by patch [1] looking to have a non-zero "nb_max" value in a use case not involving adding any back-end ports. That was addressed afterwards ([2]). But, as per report [3], similar test cases exist which

[PATCH] net/idpf: fix compiling error in CentOS 7

2022-10-31 Thread beilei . xing
From: Beilei Xing There's build error with clang 3.4.2 in CentOS 7: drivers/net/idpf/idpf_vchnl.c:141:13: error: comparison of constant 522 with expression of type 'enum virtchnl_ops' is always false [-Werror,-Wtautological-constant-out-of-range-compare] Fixed the compiling error in the patch.

Re: [PATCH] net/bonding: fix slave device Rx/Tx offload configuration

2022-10-31 Thread humin (Q)
Acked-by: Min Hu (Connor) 在 2022/10/28 10:36, Huisong Li 写道: Normally, the Rx/Tx offload capability of bonding interface is the intersection of the capability of all slave devices. And Rx/Tx offloads configuration of slave device comes from bonding interface. But now there is a risk that slave

[PATCH v2] net/idpf: fix compiling error in CentOS 7

2022-10-31 Thread beilei . xing
From: Beilei Xing There's build error with clang 3.4.2 in CentOS 7: drivers/net/idpf/idpf_vchnl.c:141:13: error: comparison of constant 522 with expression of type 'enum virtchnl_ops' is always false [-Werror,-Wtautological-constant-out-of-range-compare] Fixed the compiling error in the patch.

RE: [PATCH v1] net/iavf: fix refine protocol header error

2022-10-31 Thread Zhang, Qi Z
> -Original Message- > From: Steve Yang > Sent: Monday, October 31, 2022 2:43 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; Yang, SteveX > Subject: [PATCH v1] net/iavf: fix refine protocol header error > > Protocol header count should be changed when tunnel level is larg

[PATCH v2] net/idpf: fix compiling error in CentOS 7

2022-10-31 Thread beilei . xing
From: Beilei Xing There's build error with clang 3.4.2 in CentOS 7: drivers/net/idpf/idpf_vchnl.c:141:13: error: comparison of constant 522 with expression of type 'enum virtchnl_ops' is always false [-Werror,-Wtautological-constant-out-of-range-compare] Fixed the compiling error in the patch.

[PATCH] doc: support flow matching on representor ID

2022-10-31 Thread Sean Zhang
Add note for support of matching on port representor ID. Signed-off-by: Sean Zhang --- doc/guides/nics/mlx5.rst | 1 + doc/guides/rel_notes/release_22_11.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index d5f9375a4e..

Re: [PATCH V3] app/testpmd: update bond port configurations when add slave

2022-10-31 Thread humin (Q)
Reviewed-by: Min Hu (Connor) 在 2022/10/29 11:50, Huisong Li 写道: Some capabilities (like, rx_offload_capa and tx_offload_capa) of bonding device in dev_info is zero when no slave is added. And its capability will be updated when add a new slave device. The capability to update dynamically may i

[PATCH] doc: correct product name for idpf

2022-10-31 Thread beilei . xing
From: Beilei Xing This patch corrects the product name for idpf PMD. Fixes: 549343c25db8 ("net/idpf: support device initialization") Signed-off-by: Beilei Xing --- doc/guides/nics/idpf.rst | 2 +- doc/guides/rel_notes/release_22_11.rst | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH] common/idpf: add README for base code

2022-10-31 Thread beilei . xing
From: Beilei Xing This patch adds README for idpf base code. Signed-off-by: Beilei Xing --- drivers/common/idpf/base/README | 21 + 1 file changed, 21 insertions(+) create mode 100644 drivers/common/idpf/base/README diff --git a/drivers/common/idpf/base/README b/drivers/c

RE: [PATCH 03/13] net/idpf: support device initialization

2022-10-31 Thread Xing, Beilei
> -Original Message- > From: Ali Alnubani > Sent: Tuesday, November 1, 2022 2:01 AM > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: dev@dpdk.org; Li, Xiaoyun ; Wang, Xiao W > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > > Subject: RE: [PATCH 03/13] net/idpf: supp