[dpdk-dev] [PATCH 1/2] doc: add policy for adding vendor PMD specific examples

2021-05-26 Thread Hemant Agrawal
This patch update the dpdk sample app policy to support vendor PMD specific test examples in the respective drivers sub-directory in examples. Signed-off-by: Hemant Agrawal --- doc/guides/sample_app_ug/intro.rst | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [PATCH 2/2] examples: move vendor specific apps to drivers sub directory

2021-05-26 Thread Hemant Agrawal
As approved by DPDK technical board on 2021-03-24 NTB and IOAT raw driver's example application will be moved to example/drivers/raw/ to avoid PMD specific example application to show up in examples directory. Signed-off-by: Hemant Agrawal --- doc/guides/sample_app_ug/ioat.rst | 2 +-

[dpdk-dev] [Bug 721] Wrong event pointer in rx adapter

2021-05-26 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=721 Bug ID: 721 Summary: Wrong event pointer in rx adapter Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: N

[dpdk-dev] [PATCH] net/iavf: fix error handle for unsupported promisc configure

2021-05-26 Thread Qi Zhang
iavf_execute_vf_cmd returns standard error code but not IAVF_xxx, The patch fix the wrong error handling in iavf_config_promisc. Fixes: 1e4d55a7fe71 ("net/iavf: optimize promiscuous device operations") Cc: sta...@dpdk.org Signed-off-by: Qi Zhang --- drivers/net/iavf/iavf_vchnl.c | 4 ++-- 1 fil

Re: [dpdk-dev] [Bug 721] Wrong event pointer in rx adapter

2021-05-26 Thread Van Haaren, Harry
> From: dev On Behalf Of bugzi...@dpdk.org > Sent: Wednesday, May 26, 2021 9:24 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [Bug 721] Wrong event pointer in rx adapter > > https://bugs.dpdk.org/show_bug.cgi?id=721 > > Bug ID: 721 >Summary: Wrong event pointer in rx adapte

Re: [dpdk-dev] [dpdk-users] DPDK issue with Marvell NIC QLogic Corp. FastLinQ QL41000

2021-05-26 Thread Varghese, Vipin
Based on the logs shared from `Turing Team`, the observation is as follows 1. 1GB huge pages are used in the application ```logs 12:46:11.792 §EAL: No free hugepages reported in hugepages-2048kB 12:46:11.792 §EAL: No available hugepages reported in hugepages-2048kB ``` 2. Issue comes right at `d

Re: [dpdk-dev] [dts] [PATCH V1] tests/generic_filter: use flow api replace legancy

2021-05-26 Thread David Marchand
On Thu, May 6, 2021 at 9:08 AM Bo Chen wrote: > > use flow api replace legancy filter command > > Signed-off-by: Bo Chen > --- > tests/TestSuite_generic_filter.py | 41 ++- > 1 file changed, 24 insertions(+), 17 deletions(-) > > diff --git a/tests/TestSuite_generic_fi

[dpdk-dev] [PATCH v2] test: remove strict timing requirements from alarm and cycles tests

2021-05-26 Thread Aaron Conole
The tests 'alarm_autotest' and 'cycles_autotest' rely on the underlying system having very accurate and precise timing. On systems where the timing isn't as rigid, or the load is particularly high, these tests are unreliable since the wake latency from the scheduler can be high enough to miss the

Re: [dpdk-dev] [Bug 721] Wrong event pointer in rx adapter

2021-05-26 Thread Pavan Nikhilesh Bhagavatula
>> From: dev On Behalf Of bugzi...@dpdk.org >> Sent: Wednesday, May 26, 2021 9:24 AM >> To: dev@dpdk.org >> Subject: [dpdk-dev] [Bug 721] Wrong event pointer in rx adapter >> >> https://urldefense.proofpoint.com/v2/url?u=https- >3A__bugs.dpdk.org_show-5Fbug.cgi-3Fid- >3D721&d=DwIGaQ&c=nKjWec2b6R0m

Re: [dpdk-dev] [PATCH v2] test: remove strict timing requirements from alarm and cycles tests

2021-05-26 Thread Aaron Conole
Aaron Conole writes: > The tests 'alarm_autotest' and 'cycles_autotest' rely on the underlying > system having very accurate and precise timing. On systems where the > timing isn't as rigid, or the load is particularly high, these tests are > unreliable since the wake latency from the scheduler

[dpdk-dev] Unable to recognize master/representor on the multiple IB devices

2021-05-26 Thread Sankalpa Timilsina
Hi, I am getting a DPDK MLX5 probing issue. 1. I have installed the mlx5/ofed driver 2. I have loaded the kernel modules. EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available hugepages reported in hugepages-2048kB EAL: Probing VFIO support...

[dpdk-dev] [dpdk-announce] DPDK Summit North America CFP OPEN

2021-05-26 Thread Jill Lovato
Hello DPDK Community, The CFP for DPDK Summit North America (July 12-13, virital) is live: https://events.linuxfoundation.org/dpdk-summit-north-america/program/cfp/ The agenda should cover the latest developments to the DPDK framework and other related projects, plans for future releases, and cas

Re: [dpdk-dev] [PATCH] dpdk-kmods/windows: Add Intel 100GbE Ethernet adapter device IDs to netuio INF

2021-05-26 Thread Thomas Monjalon
18/05/2021 21:17, Narcisa Ana Maria Vasile: > On Wed, Apr 21, 2021 at 05:05:03PM -0700, Pallavi Kadam wrote: > > Add Intel 100GbE Ethernet adapter device IDs to netuio inf file > > in order to enable them on Windows. > > > > Signed-off-by: Pallavi Kadam > > Reviewed-by: Ranjit Menon > > --- > >

[dpdk-dev] [kmods PATCH v2 0/4] windows/virt2phys: fix paging issue

2021-05-26 Thread Dmitry Kozlyuk
Physical addresses exposed by virt2phys driver could become pageable. This presents stability and security issues that prevent Microsoft from signing virt2phys, because a signed driver would be trusted by all end-user machines. Ensure that memory for which physical addresses are exposed by virt2ph

[dpdk-dev] [kmods PATCH v2 1/4] windows/virt2phys: add PnpLockdown directive

2021-05-26 Thread Dmitry Kozlyuk
WDK for Windows 10, version 2004 emits a warning suggesting to add PnpLockdown directive to INI [1]. Add it since virt2phys has no potential use-cases that require modifications to driver files. [1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-version-section Signed-off

[dpdk-dev] [kmods PATCH v2 2/4] windows/virt2phys: do not expose pageable physical addresses

2021-05-26 Thread Dmitry Kozlyuk
virt2phys relied on the user to ensure that memory for which physical address (PA) is obtained is non-pageable and remains such for the lifetime of the process. While DPDK does lock pages in memory, virt2phys can be accessed by any process with sufficient privileges. A malicious process could get P

[dpdk-dev] [kmods PATCH v2 3/4] windows/virt2phys: add limits against resource exhaustion

2021-05-26 Thread Dmitry Kozlyuk
Tracked processes are enumerated in process creation/termination callback, making it O(N = number of tracked processes). A malicious user could cause system-wide slowdown of process termination by making just one call to virt2phys from many processes. Limit the number of tracked processes by `Proce

[dpdk-dev] [kmods PATCH v2 4/4] windows/virt2phys: add tracing

2021-05-26 Thread Dmitry Kozlyuk
WPP tracing [1] allows kernel drivers to print logs that can be viewed without attaching a debugger to the running system. Traces are colelcted only when enabled. Instrument virt2phys with traces: * ERROR: failures that prevent the driver from working. * WARNING: incorrect calls to the driver. *

[dpdk-dev] [PATCH] pmdinfogen: allow padding after NUL terminator

2021-05-26 Thread Dmitry Kozlyuk
Size of string constant symbol may be larger than its length measured up to NUL terminator. In this case pmdinfogen included padding bytes after NUL terminator in generated source, yielding incorrect code. Always trim string data to NUL terminator while reading ELF. It was already done for COFF be

Re: [dpdk-dev] [PATCH 3/3] net/bnxt: add AVX2 vector PMD

2021-05-26 Thread Lance Richardson
On Mon, May 24, 2021 at 3:00 PM Lance Richardson wrote: > > Implement AVX2 vector PMD. > There are CI test failures for this patch series that appear be unrelated, are these known/expected failures? >From http://mails.dpdk.org/archives/test-report/2021-May/196470.html Ubuntu 18.04 ARM Ke

Re: [dpdk-dev] [PATCH] net/iavf: fix error handle for unsupported promisc configure

2021-05-26 Thread Xing, Beilei
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, May 26, 2021 5:53 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH] net/iavf: fix error handle for unsupported promisc configure > > iavf_execute_vf_cmd returns standard error code but

Re: [dpdk-dev] [dts] [PATCH V1] tests/generic_filter: use flow api replace legancy

2021-05-26 Thread Honnappa Nagarahalli
> > On Thu, May 6, 2021 at 9:08 AM Bo Chen wrote: > > > > use flow api replace legancy filter command > > > > Signed-off-by: Bo Chen > > --- > > tests/TestSuite_generic_filter.py | 41 > > ++- > > 1 file changed, 24 insertions(+), 17 deletions(-) > > > > diff --git

[dpdk-dev] Traffic policing with similar APIs as tc

2021-05-26 Thread Sagar A
Hello, I am working on a dataplane which uses DPDK. We want to implement bandwidth fairness, and have implemented the token bucket algorithm. I wanted to use traffic control (tc), but it is a Linux utility. We wanted to know if there is any existing work on traffic policing in DPDK which works sim

[dpdk-dev] [PATCH] net/iavf: add FDIR ESP support to match outer IP

2021-05-26 Thread Simei Su
This patch adds IPV4/IPV6 SRC/DST input set for ESP to support outer IP match. Signed-off-by: Simei Su --- drivers/net/iavf/iavf_fdir.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/iavf/iavf_fdir.c b/drivers/net/iavf/iavf_fdir.c index f238a83..43460

[dpdk-dev] [PATCH 0/2] net/ice: support FDIR ESP and NATT to match outer IP

2021-05-26 Thread Simei Su
[PATCH 1/2] enable FDIR ESP for matching outer IPV4/IPV6 SRC/DST field. [PATCH 2/2] add IPV4/IPV6 SRC/DST input set for ESP/NAT_T_ESP. Simei Su (2): net/ice/base: support FDIR ESP for outer IP match net/ice: support FDIR ESP and NATT to match outer IP drivers/net/ice/base/ice_fdir.c | 8 +

[dpdk-dev] [PATCH 1/2] net/ice/base: support FDIR ESP for outer IP match

2021-05-26 Thread Simei Su
Enable FDIR ESP for matching outer IPV4/IPV6 SRC/DST field. Signed-off-by: Simei Su --- drivers/net/ice/base/ice_fdir.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ice/base/ice_fdir.c b/drivers/net/ice/base/ice_fdir.c index 1805082..926f9c5 100644 --- a/drivers/net/ic

[dpdk-dev] [PATCH 2/2] net/ice: support FDIR ESP and NATT to match outer IP

2021-05-26 Thread Simei Su
This patch adds IPV4/IPV6 SRC/DST input set for ESP/NAT_T_ESP to support outer IP match. Signed-off-by: Simei Su --- drivers/net/ice/ice_fdir_filter.c | 73 +++ 1 file changed, 73 insertions(+) diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice

[dpdk-dev] [PATCH] net/ice: fix default RSS key generation

2021-05-26 Thread dapengx . yu
From: Dapeng Yu In original implementation, device reconfiguration will generate a new default RSS key if there is no one from user, it is unexpected when updating a completely unrelated configuration. This patch makes default RSS key unchanged, during the lifetime of the DPDK application even i

Re: [dpdk-dev] [PATCH] pmdinfogen: allow padding after NUL terminator

2021-05-26 Thread David Marchand
On Wed, May 26, 2021 at 11:44 PM Dmitry Kozlyuk wrote: > > Size of string constant symbol may be larger than its length > measured up to NUL terminator. In this case pmdinfogen included padding > bytes after NUL terminator in generated source, yielding incorrect code. > > Always trim string data t