[dpdk-dev] [PATCH v2] net/i40e: fix set rss hash function invalid

2021-06-10 Thread Steve Yang
i40e can support following rss hash function types: default/toeplitz, symmetric toeplitz, and simple_xor. However, when filter engine parses pattern action, it only supports symmetric toeplitz & default. Add simple_xor and toeplitz hash functions support when parsing pattern action. Fixes: ef4c16

[dpdk-dev] [Bug 732] [dpdk-19.11.9-rc2] DPDK build failed on Win10

2021-06-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=732 Bug ID: 732 Summary: [dpdk-19.11.9-rc2] DPDK build failed on Win10 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-10 Thread Lin, Xueqin
> -Original Message- > From: Stephen Hemminger > Sent: Friday, June 11, 2021 4:03 AM > To: Peng, ZhihongX > Cc: Burakov, Anatoly ; dev@dpdk.org; Lin, > Xueqin > Subject: Re: [RFC] porting AddressSanitizer feature to DPDK > > On Thu, 10 Jun 2021 13:13:52 +0800 > zhihongx.p...@intel.com w

Re: [dpdk-dev] [RFC 00/14] mlx5: support SubFunction

2021-06-10 Thread Xia, Chenbo
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Thursday, June 10, 2021 9:23 PM > To: Yigit, Ferruh > Cc: Xueming Li ; Viacheslav Ovsiienko > ; dev@dpdk.org; Xia, Chenbo > Subject: Re: [dpdk-dev] [RFC 00/14] mlx5: support SubFunction > > 10/06/2021 12:33, Ferruh Yigit:

Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-10 Thread Lin, Xueqin
> -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, June 10, 2021 5:12 PM > To: Peng, ZhihongX ; Burakov, Anatoly > ; step...@networkplumber.org > Cc: dev@dpdk.org; Lin, Xueqin ; Peng, ZhihongX > > Subject: RE: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK >

Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-10 Thread Lin, Xueqin
> -Original Message- > From: Richardson, Bruce > Sent: Thursday, June 10, 2021 4:33 PM > To: Peng, ZhihongX > Cc: Burakov, Anatoly ; > step...@networkplumber.org; dev@dpdk.org; Lin, Xueqin > > Subject: Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK > > On Thu, Jun 10, 202

Re: [dpdk-dev] [PATCH] app/testpmd: send failure logs to stderr

2021-06-10 Thread Li, Xiaoyun
Hi -Original Message- From: Andrew Rybchenko Sent: Friday, May 28, 2021 00:25 To: Li, Xiaoyun Cc: dev@dpdk.org Subject: [PATCH] app/testpmd: send failure logs to stderr Running with stdout suppressed or redirected for further processing is very confusing in the case of errors. Signed-

Re: [dpdk-dev] [PATCH v1] net/i40e: fix set rss hash function invalid

2021-06-10 Thread Xing, Beilei
> -Original Message- > From: Yang, SteveX > Sent: Friday, June 11, 2021 9:35 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Yang, SteveX > > Subject: [PATCH v1] net/i40e: fix set rss hash function invalid > > i40e can support following rss hash function types: default (toeplitz), > symmet

Re: [dpdk-dev] [PATCH v5 00/24] net: ngbe PMD

2021-06-10 Thread Jiawen Wu
Hi, > -Original Message- > From: Jiawen Wu > Sent: Wednesday, June 2, 2021 5:41 PM > To: dev@dpdk.org > Cc: Jiawen Wu > Subject: [PATCH v5 00/24] net: ngbe PMD > > This patch set provides a skeleton of ngbe PMD, which adapted to Wangxun > WX1860 series NICs. > > v5: > - Extend patches

[dpdk-dev] [PATCH v1] net/i40e: fix set rss hash function invalid

2021-06-10 Thread Steve Yang
i40e can support following rss hash function types: default (toeplitz), symmetric toeplitz, and simple_xor. However, when filter engine parses pattern action, it only supports symmetric toeplitz & default (toeplitz). Delete the hash function limitation when parsing pattern action. Signed-off-by:

Re: [dpdk-dev] Define statement with UB prevents compilation using UBSAN

2021-06-10 Thread Stephen Hemminger
On Thu, 10 Jun 2021 16:51:37 -0400 Owen Hilyard wrote: > Working backward to the define > statement, AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY is defined as > > #define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY (0x1 << 31) Why not (1u << 31)?

[dpdk-dev] [PATCH] eal: allow hugetlbfs sub-directories

2021-06-10 Thread John Levon
get_hugepage_dir() was implemented in such a way that a --huge-dir option had to exactly match the mountpoint, but there's no reason for this restriction. Fix the implementation to allow a sub-directory within a suitable hugetlbfs mountpoint to be specified. Signed-off-by: John Levon --- lib/eal

[dpdk-dev] Define statement with UB prevents compilation using UBSAN

2021-06-10 Thread Owen Hilyard
Hello, While starting work on adding UBSAN to the community lab CI, I found that DPDK does not compile in its default configuration with UBSAN enabled, failing with the error message: ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_check_blocks_with_parity3’: ../drivers/net/bnx2x/bnx2x.c:3363:4:

Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-10 Thread Stephen Hemminger
On Thu, 10 Jun 2021 13:13:52 +0800 zhihongx.p...@intel.com wrote: > From: Zhihong Peng > > AddressSanitizer (ASan) is a google memory error detect > standard tool. It could help to detect use-after-free and > {heap,stack,global}-buffer overflow bugs in C/C++ programs, > print detailed error info

[dpdk-dev] [PATCH v1] update Intel roadmap for 21.08

2021-06-10 Thread John McNamara
Signed-off-by: John McNamara --- content/roadmap/_index.md | 6 ++ 1 file changed, 6 insertions(+) diff --git a/content/roadmap/_index.md b/content/roadmap/_index.md index d77bbd7..6b389f1 100644 --- a/content/roadmap/_index.md +++ b/content/roadmap/_index.md @@ -15,19 +15,25 @@ This list is

Re: [dpdk-dev] [PATCH] app/testpmd: do not use a possibly NULL Pointer

2021-06-10 Thread Singh, Aman Deep
On 5/24/2021 2:31 PM, Thierry Herbelot wrote: Use out only after it was checked not to be NULL. Fixes: 4d07cbefe3ba0 ("app/testpmd: add commands for conntrack") Cc: sta...@dpdk.org Cc: Ori Kam Signed-off-by: Thierry Herbelot --- Acked-by: Aman Deep Singh >

Re: [dpdk-dev] [PATCH] app/procinfo: add device registers dump

2021-06-10 Thread Pattan, Reshma
> -Original Message- > From: Chengchang Tang > >> + ret = rte_eth_dev_get_reg_info(i, ®_info); > >> + if (ret) { > >> + printf("Error getting device reg info: %d\n", ret); > >> + continue; > >> + } > >> + > >> + buf_

[dpdk-dev] [PATCH v2 4/4] net/iavf: support AVF FDIR for GRE tunnel packet

2021-06-10 Thread Singh, Aman Deep
On 6/2/2021 7:54 AM, Wenjun Wu wrote: Support AVF FDIR for inner header of GRE tunnel packet. +--+---+ | Pattern|Input Set | +--+--

Re: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxiliary bus

2021-06-10 Thread Wang, Haiyue
> -Original Message- > From: Xueming(Steven) Li > Sent: Thursday, June 10, 2021 14:30 > To: Wang, Haiyue ; NBU-Contact-Thomas Monjalon > > Cc: dev@dpdk.org; Parav Pandit ; Ray Kinsella > ; > andrew.rybche...@oktetlabs.ru > Subject: RE: [dpdk-dev] [RFC v2] bus/auxiliary: introduce auxili

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Christian Ehrhardt
On Thu, Jun 10, 2021 at 1:03 PM Kevin Traynor wrote: > > On 10/06/2021 11:29, Kevin Traynor wrote: > > On 10/06/2021 11:05, Christian Ehrhardt wrote: > >> On Thu, Jun 10, 2021 at 11:05 AM Ali Alnubani wrote: > >>> > >>> Hi Christian, > >>> > -Original Message- > From: Christian

Re: [dpdk-dev] [RFC 00/14] mlx5: support SubFunction

2021-06-10 Thread Thomas Monjalon
10/06/2021 12:33, Ferruh Yigit: > On 5/27/2021 2:37 PM, Xueming Li wrote: > > SubFunction [1] is a portion of the PCI device, a SF netdev has its own > > dedicated queues(txq, rxq). A SF shares PCI level resources with other > > SFs and/or with its parent PCI function. Auxiliary bus is the > > fund

Re: [dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-10 Thread Maxime Coquelin
On 6/10/21 2:09 PM, David Marchand wrote: > __rte_alloc_size is mapped to compiler alloc_size attribute. > > Quoting gcc documentation: > """ > alloc_size > The alloc_size attribute is used to tell the compiler that the > function return value points to memory, where the size is given b

[dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-10 Thread David Marchand
__rte_alloc_size is mapped to compiler alloc_size attribute. Quoting gcc documentation: """ alloc_size The alloc_size attribute is used to tell the compiler that the function return value points to memory, where the size is given by one or two of the functions parameters. GCC uses this

[dpdk-dev] [Bug 731] [dpdk-19.11.9] telemetry: python3 /root/dpdk/usertools/dpdk-telemetry-client.py prompt connection refused

2021-06-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=731 Bug ID: 731 Summary: [dpdk-19.11.9] telemetry: python3 /root/dpdk/usertools/dpdk-telemetry-client.py prompt connection refused Product: DPDK Version: 19.11 Hardw

[dpdk-dev] [PATCH] Add Armv7 support

2021-06-10 Thread s . chandrakant
From: Chandrakant Sharpa Adding support for Armv7 based platforms. Used latest GNU cross compiler toolchain version(10.2) for testing. Signed-off-by: Chandrakant Sharpa --- config/arm/arm_armv7a_linux_gcc | 17 + 1 file changed, 17 insertions(+) create mode 100644 config/arm/a

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Ali Alnubani
> -Original Message- > From: Christian Ehrhardt > Sent: Thursday, June 10, 2021 1:59 PM > To: Kevin Traynor > Cc: Ali Alnubani ; dpdk stable ; dev > ; Abhishek Marathe ; > Akhil Goyal ; Walker, Benjamin > ; David Christensen > ; Govindharajan, Hariprasad > ; Hemant Agrawal > ; Ian Stokes

[dpdk-dev] [Bug 730] [19.11] doxygen build warnings with version 1.9.1

2021-06-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=730 Bug ID: 730 Summary: [19.11] doxygen build warnings with version 1.9.1 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Kevin Traynor
On 10/06/2021 11:29, Kevin Traynor wrote: > On 10/06/2021 11:05, Christian Ehrhardt wrote: >> On Thu, Jun 10, 2021 at 11:05 AM Ali Alnubani wrote: >>> >>> Hi Christian, >>> -Original Message- From: Christian Ehrhardt Sent: Thursday, June 10, 2021 11:49 AM To: dpdk stab

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Christian Ehrhardt
On Thu, Jun 10, 2021 at 10:48 AM Christian Ehrhardt wrote: > > On Fri, Jun 4, 2021 at 7:52 AM Christian Ehrhardt > wrote: > > > > Hi all, > > > > Here is version 2 of the list of patches targeted for stable release > > 19.11.9. > > Thanks to plenty of helpful developers we've collected a few mor

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Christian Ehrhardt
On Thu, Jun 10, 2021 at 12:30 PM Kevin Traynor wrote: > > On 10/06/2021 11:05, Christian Ehrhardt wrote: > > On Thu, Jun 10, 2021 at 11:05 AM Ali Alnubani wrote: > >> > >> Hi Christian, > >> > >>> -Original Message- > >>> From: Christian Ehrhardt > >>> Sent: Thursday, June 10, 2021 11:49

Re: [dpdk-dev] [RFC 00/14] mlx5: support SubFunction

2021-06-10 Thread Ferruh Yigit
On 5/27/2021 2:37 PM, Xueming Li wrote: > SubFunction [1] is a portion of the PCI device, a SF netdev has its own > dedicated queues(txq, rxq). A SF shares PCI level resources with other > SFs and/or with its parent PCI function. Auxiliary bus is the > fundamental of SF. > > This patch set introdu

Re: [dpdk-dev] [PATCH] kni: fix compilation on SLES15-SP3

2021-06-10 Thread Christian Ehrhardt
On Thu, Jun 10, 2021 at 10:39 AM Christian Ehrhardt wrote: > > On Tue, Jun 8, 2021 at 1:17 PM Ferruh Yigit wrote: > > > > On 6/2/2021 3:33 PM, Christian Ehrhardt wrote: > > > Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix > > > build with Linux 5.6"), a new parameter 'tx

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Kevin Traynor
On 10/06/2021 11:05, Christian Ehrhardt wrote: > On Thu, Jun 10, 2021 at 11:05 AM Ali Alnubani wrote: >> >> Hi Christian, >> >>> -Original Message- >>> From: Christian Ehrhardt >>> Sent: Thursday, June 10, 2021 11:49 AM >>> To: dpdk stable >>> Cc: dev ; Abhishek Marathe >>> ; Akhil Goyal

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Christian Ehrhardt
On Thu, Jun 10, 2021 at 11:05 AM Ali Alnubani wrote: > > Hi Christian, > > > -Original Message- > > From: Christian Ehrhardt > > Sent: Thursday, June 10, 2021 11:49 AM > > To: dpdk stable > > Cc: dev ; Abhishek Marathe > > ; Akhil Goyal ; > > Ali Alnubani ; Walker, Benjamin > > ; David C

Re: [dpdk-dev] [RFC 01/14] common/mlx5: add common device driver

2021-06-10 Thread Thomas Monjalon
27/05/2021 15:37, Xueming Li: > +static const struct { > + const char *name; > + unsigned int drv_class; > +} mlx5_classes[] = { > + { .name = "vdpa", .drv_class = MLX5_CLASS_VDPA }, > + { .name = "net", .drv_class = MLX5_CLASS_NET }, > + { .name = "regex", .drv_class = MLX5_CLA

[dpdk-dev] [Bug 729] Bad mbuf chain handling in the memif driver resulting in truncated packets

2021-06-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=729 Bug ID: 729 Summary: Bad mbuf chain handling in the memif driver resulting in truncated packets Product: DPDK Version: unspecified Hardware: All OS: All

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-06-10 Thread Olivier Matz
Hi Gregory, On Thu, Jun 10, 2021 at 04:10:25AM +, Gregory Etelson wrote: > Hello, > > There was no activity that patch for a long time. > The patch is marked as failed, but we verified failed tests and concluded > that the failures can be ignored. > https://patchwork.dpdk.org/project/dpdk/pat

Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-10 Thread Ananyev, Konstantin
> > From: Zhihong Peng > > AddressSanitizer (ASan) is a google memory error detect > standard tool. It could help to detect use-after-free and > {heap,stack,global}-buffer overflow bugs in C/C++ programs, > print detailed error information when error happens, large > improve debug efficiency.

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Ali Alnubani
Hi Christian, > -Original Message- > From: Christian Ehrhardt > Sent: Thursday, June 10, 2021 11:49 AM > To: dpdk stable > Cc: dev ; Abhishek Marathe > ; Akhil Goyal ; > Ali Alnubani ; Walker, Benjamin > ; David Christensen > ; Govindharajan, Hariprasad > ; Hemant Agrawal > ; Ian Stokes

Re: [dpdk-dev] 20.11.2 patches review and test

2021-06-10 Thread Christian Ehrhardt
On Wed, Jun 9, 2021 at 1:56 PM Xueming(Steven) Li wrote: > > Hi all, > > Thanks Kevin's feedback, there are some patches missing between > v21.05-rc1..v21.05. > Will roll out rc2 to include them all, please hold test and verification. Hi, chances are quite high that nowadays SLES15-SP3 will be b

Re: [dpdk-dev] 19.11.9 patches review and test - V2

2021-06-10 Thread Christian Ehrhardt
On Fri, Jun 4, 2021 at 7:52 AM Christian Ehrhardt wrote: > > Hi all, > > Here is version 2 of the list of patches targeted for stable release 19.11.9. > Thanks to plenty of helpful developers we've collected a few more backports > by now and sorted out a few rare compile time issues that were foun

Re: [dpdk-dev] [PATCH] kni: fix compilation on SLES15-SP3

2021-06-10 Thread Christian Ehrhardt
On Tue, Jun 8, 2021 at 1:17 PM Ferruh Yigit wrote: > > On 6/2/2021 3:33 PM, Christian Ehrhardt wrote: > > Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix > > build with Linux 5.6"), a new parameter 'txqueue' has to be added to > > 'ndo_tx_timeout' ndo on SLES 15-SP3 kernel

Re: [dpdk-dev] [RFC] porting AddressSanitizer feature to DPDK

2021-06-10 Thread Bruce Richardson
On Thu, Jun 10, 2021 at 01:13:52PM +0800, zhihongx.p...@intel.com wrote: > From: Zhihong Peng > > AddressSanitizer (ASan) is a google memory error detect > standard tool. It could help to detect use-after-free and > {heap,stack,global}-buffer overflow bugs in C/C++ programs, > print detailed erro

Re: [dpdk-dev] [PATCH v2 0/3] Increase test compatibility with PA IOVA

2021-06-10 Thread Stanislaw Kardach
On Fri, Jun 04, 2021 at 04:15:58PM +0200, Stanislaw Kardach wrote: > Please let me know if I'm missing a bigger picture with the --no-huge > and --no-shconf usage on non-FreeBSD platforms. > After looking at this issue again I'm abandoning this patchset because it seems wrong for 2 reasons: 1. --

[dpdk-dev] [Bug 728] [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails

2021-06-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=728 Bug ID: 728 Summary: [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails Product: DPDK Version: 19.11

Re: [dpdk-dev] [PATCH 1/2] net/bonding: support Tx prepare for bonding

2021-06-10 Thread Chengchang Tang
On 2021/6/9 17:35, Andrew Rybchenko wrote: > On 6/9/21 9:42 AM, Chengchang Tang wrote: >> Hi, Andrew and Ferruh >> >> On 2021/6/8 17:49, Andrew Rybchenko wrote: >>> "for bonding" is redundant in the summary since it is already "net/bonding". >>> >>> On 4/23/21 12:46 PM, Chengchang Tang wrote: >>

[dpdk-dev] [PATCH] event/cnxk: fix clang warning on Arm

2021-06-10 Thread Ruifeng Wang
Build with Clang-10 has warning: drivers/event/cnxk/cnxk_tim_worker.h:372:23: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths] : [rem] "=&r"(rem) ^ drivers/event/

Re: [dpdk-dev] Reg 6Wind fastpath DPDK 18.11.1 virtual memory allocation ( 54.5GB of anonymous mapping)

2021-06-10 Thread Olivier Matz
Hi Shanmugasundaram, On Wed, Jun 09, 2021 at 01:46:35PM +0100, Bruce Richardson wrote: > On Wed, Jun 09, 2021 at 02:28:04PM +0200, David Marchand wrote: > > On Wed, Jun 9, 2021 at 2:02 PM Shanmugasundaram M > > wrote: > > > We are using 6Wind fastpath(fp-rte) which is using DPDK version 18.11.1