Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions

2021-02-10 Thread Tal Shnaiderman
> Subject: Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage > functions > > External email: Use caution opening links or attachments > > > Hi Tal, > > On 10/02/2021 13:33, Burakov, Anatoly wrote: > > On 06-Jan-21 8:35 PM, Tal Shnaiderman wrote: > >> Add support for TLS functi

Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions

2021-02-10 Thread Tal Shnaiderman
> Subject: Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage > functions > > External email: Use caution opening links or attachments > > > On 06-Jan-21 8:35 PM, Tal Shnaiderman wrote: > > Add support for TLS functionality in EAL. > > > > The following functions are added: > >

[dpdk-dev] [v2 PATCH] doc: replace testpmd with dpdk-testpmd in all commands

2021-02-10 Thread Sarosh Arif
replace testpmd with dpdk-testpmd in all commands because on compilation through meson, dpdk-testpmd is the default application name. Signed-off-by: Sarosh Arif --- v2: drop relative path replace testpmd with dpdk-testpmd in ixgbe.rst too --- doc/guides/nics/bnxt.rst| 8 doc/guides

Re: [dpdk-dev] [PATCH] doc: replace testpmd with .//app/dpdk-testpmd in all commands

2021-02-10 Thread Sarosh Arif
Yes, I think we can drop the relative path. I'll make this change in the next version. On Wed, Feb 10, 2021 at 5:54 PM Ferruh Yigit wrote: > > On 2/10/2021 11:56 AM, Sarosh Arif wrote: > > replace testpmd with .//app/dpdk-testpmd in all commands > > because on compilation through meson, dpdk-te

Re: [dpdk-dev] [PATCH v7 01/12] raw/octeontx_ep: changed device id

2021-02-10 Thread Radha Mohan
On Fri, Jan 29, 2021 at 4:45 AM Nalla Pradeep wrote: > > Device id to be probed by octeontx_ep raw device pmd is changed from > B203 to B204. B203 is for octeontx_ep net device pmd to probe. > > Signed-off-by: Nalla Pradeep > --- > drivers/common/octeontx2/otx2_common.h| 3 ++- > drivers/raw

[dpdk-dev] [Bug 629] ixgbe: 82599 chksum rx offload marks UDP packets over IPv4 with zero checksum as CKSUM_BAD

2021-02-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=629 Thomas Monjalon (tho...@monjalon.net) changed: What|Removed |Added Resolution|--- |FIXED Status|I

Re: [dpdk-dev] [PATCH] vdpa/mlx5: fix polling threads scheduling

2021-02-10 Thread Thomas Monjalon
> >> When the event mode is with 0 fixed delay, the polling-thread will > >> never give-up CPU. > >> > >> So, when multi-polling-threads are active, the context-switch between > >> them will be managed by the system which may affect latency according > >> to the time-out decided by the system. > >>

Re: [dpdk-dev] [PATCH] vhost: fix packed ring dequeue offloading

2021-02-10 Thread Thomas Monjalon
09/02/2021 15:52, Maxime Coquelin: > > On 2/5/21 8:47 AM, Marvin Liu wrote: > > When vhost doing dequeue offloading, will parse ethernet and l3/l4 > > header of the packet. Then vhost will set corresponded value in mbuf > > corresponding* > > > attributes. Thus mean offloading action should afte

Re: [dpdk-dev] [PATCH v3] app/testpmd: fix meter commands help strings

2021-02-10 Thread Thomas Monjalon
> > Helps strings syntax is "command : description", the 'command' part was > > missing, updated command help strings. > > > > Fixes: 281eeb8afc55 ("app/testpmd: add commands for metering and > > policing") > > Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and > > policing") > >

Re: [dpdk-dev] [PATCH] bus/pci: fix probing for non-netuio bound devices

2021-02-10 Thread Kadam, Pallavi
On 2/9/2021 10:00 PM, Tal Shnaiderman wrote: Subject: [PATCH] bus/pci: fix probing for non-netuio bound devices External email: Use caution opening links or attachments Implement rte_pci_map_device() to distinguish between the devices bound to netuio and NDIS devices. Only return success for

Re: [dpdk-dev] [PATCH v1] net/ixgbe: fix UDP zero checksum error for Arm NEON path

2021-02-10 Thread Thomas Monjalon
08/02/2021 10:07, Feifei Wang: > There is an 82599 errata that UDP frames with a zero checksum are > incorrectly marked as checksum invalid by the hardware. This was > leading to misleading PKT_RX_L4_CKSUM_BAD flag. > > To fix it for the NEON path in Arm platform, change the bad UDP checksum to >

[dpdk-dev] [PATCH v2] bus/pci: fix probing for non-netuio bound devices

2021-02-10 Thread Pallavi Kadam
Implement rte_pci_map_device() to distinguish between the devices bound to netuio and NDIS devices. Only return success for the netuio devices. v2 changes: - Extended the comment to mention about mapping - replaced the return errno value with -1 Suggested-by: Dmitry Kozlyuk Signe

Re: [dpdk-dev] [PATCH v3 1/1] ethdev: refine doxygen comment of UDP tunnel API

2021-02-10 Thread Thomas Monjalon
10/02/2021 12:20, Ferruh Yigit: > On 2/6/2021 10:40 AM, Andrew Rybchenko wrote: > > On 2/3/21 11:02 PM, Thomas Monjalon wrote: > >> From: Qi Zhang > >> > >> Clarify what is the scope and impact of the UDP port tunnel API. > >> > >> There are still missing infos to be improved in future: > >>-

Re: [dpdk-dev] [v3 PATCH] usertools: show valid hugepage sizes if user requests an invalid hugepage size

2021-02-10 Thread Burakov, Anatoly
On 10-Feb-21 6:16 AM, Sarosh Arif wrote: If user requests a hugepage size which is not supported by the system, currently user gets an error message saying that the requested size is not a valid system huge page size. In addition to this if we display the valid hugepage sizes it will be convenien

Re: [dpdk-dev] [PATCH] dpdk-kmods: nvme support for netuio on Windows

2021-02-10 Thread Nick Connolly
Hi Harini, As discussed - attaching zip file with images showing the NVMe device being attached under netuio management and the output from the spdk identify command. Thanks, Nick On 25/01/2021 17:39, Nick Connolly wrote: Enable the netuio driver for an NVMe storage controller on Windows. A

Re: [dpdk-dev] Feature Discussion: CPU topology detection on FreeBSD

2021-02-10 Thread Burakov, Anatoly
On 29-Jan-21 1:45 PM, Bruce Richardson wrote: On Fri, Jan 29, 2021 at 12:52:50PM +, Burakov, Anatoly wrote: On 29-Jan-21 10:05 AM, Bruce Richardson wrote: On Thu, Jan 28, 2021 at 04:07:07AM +, Oscar Zhao wrote: Hello dpdk devs, I would like to discuss the feasibility of implementing C

Re: [dpdk-dev] 【Some Questions About Multi-Process Resource Cleaning】

2021-02-10 Thread Burakov, Anatoly
On 04-Feb-21 11:47 AM, oulijun wrote: Hi, Sorry your questions are quite confused. Please start explaining what is the problem you are trying to solve. Start the master and slave processes at the same time, and then run the kill -9 command to kill the slave processes. The slave process shoul

[dpdk-dev] [PATCH v2] guides: add a testing guide for developing tests

2021-02-10 Thread Aaron Conole
The DPDK testing infrastructure includes a comprehensive set of libraries, utilities, and CI integrations for developers to test their code changes. This isn't well documented, however. Document the basics for adding a test suite to the infrastructure and enabling that test suite for continuous i

Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions

2021-02-10 Thread Medvedkin, Vladimir
Hi Tal, On 10/02/2021 13:33, Burakov, Anatoly wrote: On 06-Jan-21 8:35 PM, Tal Shnaiderman wrote: Add support for TLS functionality in EAL. The following functions are added: rte_thread_tls_key_create - create a TLS data key. rte_thread_tls_key_delete - delete a TLS data key. rte_thread_tls_va

Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions

2021-02-10 Thread Burakov, Anatoly
On 06-Jan-21 8:35 PM, Tal Shnaiderman wrote: Add support for TLS functionality in EAL. The following functions are added: rte_thread_tls_key_create - create a TLS data key. rte_thread_tls_key_delete - delete a TLS data key. rte_thread_tls_value_set - set value bound to the TLS key rte_thread_tls

Re: [dpdk-dev] [PATCH v1 00/20] net/txgbe: add VF driver support

2021-02-10 Thread Ferruh Yigit
On 2/3/2021 7:48 AM, Jiawen Wu wrote: On February 3, 2021 2:08 AM, Ferruh Yigit wrote: On 1/22/2021 9:47 AM, Jiawen Wu wrote: This patch adds txgbevf PMD as a part of txgbe PMD. Jiawen Wu (20): net/txgbe: add ethdev probe and remove for VF device net/txgbe: add base code for VF driver

Re: [dpdk-dev] [PATCH] doc: replace testpmd with .//app/dpdk-testpmd in all commands

2021-02-10 Thread Ferruh Yigit
On 2/10/2021 11:56 AM, Sarosh Arif wrote: replace testpmd with .//app/dpdk-testpmd in all commands because on compilation through meson, dpdk-testpmd is the default application name. Signed-off-by: Sarosh Arif --- doc/guides/nics/bnxt.rst| 8 doc/guides/nics/e1000em.rst | 2 +-

[dpdk-dev] [PATCH] doc: add tested platforms with Mellanox NICs

2021-02-10 Thread Raslan Darawsheh
Add tested platforms with Mellanox NICs to the 21.02 release notes. Signed-off-by: Raslan Darawsheh --- doc/guides/rel_notes/release_21_02.rst | 117 + 1 file changed, 117 insertions(+) diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_2

[dpdk-dev] [PATCH] doc: replace testpmd with .//app/dpdk-testpmd in all commands

2021-02-10 Thread Sarosh Arif
replace testpmd with .//app/dpdk-testpmd in all commands because on compilation through meson, dpdk-testpmd is the default application name. Signed-off-by: Sarosh Arif --- doc/guides/nics/bnxt.rst| 8 doc/guides/nics/e1000em.rst | 2 +- doc/guides/nics/kni.rst | 4 ++-- doc/gui

Re: [dpdk-dev] [PATCH v3 1/1] ethdev: refine doxygen comment of UDP tunnel API

2021-02-10 Thread Ferruh Yigit
On 2/6/2021 10:40 AM, Andrew Rybchenko wrote: On 2/3/21 11:02 PM, Thomas Monjalon wrote: From: Qi Zhang Clarify what is the scope and impact of the UDP port tunnel API. There are still missing infos to be improved in future: - no capability flag - dependency between ports of t

[dpdk-dev] [PATCH] net/octeontx_ep: fixed format specifier

2021-02-10 Thread Nalla Pradeep
Used PRIx64 format specifier where ever the variable getting printed is of type uint64 Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx_ep_rxtx.c | 51 +++ 1 file changed, 20 insertions(+), 31 deletions(-) diff --git a/drivers/net/octeontx_ep/otx_ep_rxtx.c b

Re: [dpdk-dev] [RFC PATCH v1] config/arm: fix clang cross part number

2021-02-10 Thread Thomas Monjalon
08/02/2021 15:44, Juraj Linkeš: > Rename the 'default' part number in clang cross-file to fix the > following issue: > config/arm/meson.build:238:2: ERROR: Problem encountered: Unsupported > part number default of implementer generic. Please add support for it or > use the generic (-Dmachine=gener

Re: [dpdk-dev] [PATCH] config/arm: add qualcomm config

2021-02-10 Thread Thomas Monjalon
05/02/2021 23:33, Honnappa Nagarahalli: > Add Qualcomm config back which was deleted. > > Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables") > Cc: juraj.lin...@pantheon.tech > > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Ruifeng Wang Applied, thanks. There were

Re: [dpdk-dev] [PATCH 1/2] config/arm: fix Hisilicon kunpeng920 SoC build

2021-02-10 Thread Thomas Monjalon
03/02/2021 13:46, Lijun Ou: > From: Chengchang Tang > > Because of the '9ca2f16' have merged, the current hns3 > pmd driver can not be directly complied on the kunpeng920 > server board. Therefore, we need to fix the meson build. > Besides, add kunpeng 920 SoC meson cross compile target. > > Fix

Re: [dpdk-dev] [dpdk-stable] [PATCH v13 0/4] raw/ifpga: add extra OPAE APIs

2021-02-10 Thread Thomas Monjalon
10/02/2021 02:48, Wei Huang: > Cyborg is part of OpenStack, it needs some OPAE APIs to manage > devices with Intel FPGA. The first three patches implement extra > APIs to meet Cyborg requirement. The last patch add an example > to show how to use these APIs. > > Main changes from v12: > - implemen

[dpdk-dev] [PATCH] net/mlx5: fix metadata item validation for ingress flows

2021-02-10 Thread Viacheslav Ovsiienko
In legacy metadata mode the metadata register B is engaged to handle the metadata item. In the ingress domain the hardware supports the register setting only, the match on register B is not supported. Due to this limitation only the SET_META action can be supported for the ingress flows, the META

Re: [dpdk-dev] [PATCH] eal: fix detection of static or shared DPDK builds

2021-02-10 Thread Thomas Monjalon
09/02/2021 21:10, Pai G, Sunil: > Hi Bruce, > > Thanks for the fix. > I do see the issue mentioned when using DPDK shared libs with OVS and this > patch fixes it. > > However, I saw the issue only for system installed DPDK but not for directory > installed DPDK. > > > > I saw this issue with