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

2021-06-18 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Ruifeng Wang >Sent: Thursday, June 10, 2021 12:55 PM >To: Pavan Nikhilesh Bhagavatula ; Shijith >Thotton >Cc: dev@dpdk.org; n...@arm.com; Ruifeng Wang > >Subject: [EXT] [PATCH] event/cnxk: fix clang warning on Arm > >External Email > >

Re: [dpdk-dev] [PATCH v4 1/7] vhost: fix missing memory table NUMA realloc

2021-06-18 Thread Maxime Coquelin
On 6/18/21 6:34 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, June 17, 2021 11:38 PM >> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo >> >> Cc: Maxime Coquelin ; sta...@dpdk.org >> Subject: [PATCH v4 1/7] vhost: fix

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

2021-06-18 Thread Lin, Xueqin
> -Original Message- > From: Jerin Jacob > Sent: Wednesday, June 16, 2021 7:35 PM > To: Lin, Xueqin > Cc: Peng, ZhihongX ; Burakov, Anatoly > ; Ananyev, Konstantin > ; Stephen Hemminger > ; dpdk-dev > Subject: Re: [dpdk-dev] [RFC v2] porting AddressSanitizer feature to DPDK > > On Wed,

Re: [dpdk-dev] [PATCH v4 4/7] vhost: fix NUMA reallocation with multiqueue

2021-06-18 Thread Maxime Coquelin
On 6/18/21 6:34 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, June 17, 2021 11:38 PM >> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo >> >> Cc: Maxime Coquelin ; sta...@dpdk.org >> Subject: [PATCH v4 4/7] vhost: fix

Re: [dpdk-dev] [PATCH v4 5/7] vhost: improve NUMA reallocation

2021-06-18 Thread Maxime Coquelin
On 6/18/21 6:34 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, June 17, 2021 11:38 PM >> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo >> >> Cc: Maxime Coquelin >> Subject: [PATCH v4 5/7] vhost: improve NUMA realloc

[dpdk-dev] [PATCH v2 1/4] examples/vhost: refactor vhost enqueue and dequeue datapaths.

2021-06-18 Thread Wenwu Ma
Previously, by judging the flag, we call different enqueue/dequeue functions in data path. Now, we use an ops that was initialized when Vhost was created, so that we can call ops directly in Vhost data path without any more flag judgment. Signed-off-by: Wenwu Ma --- examples/vhost/main.c

[dpdk-dev] [PATCH v2 0/4] vhost: support async dequeue for split ring

2021-06-18 Thread Wenwu Ma
This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading large copies to the DMA engine, thus saving precious CPU cycles. v2: - Refactor vhos

[dpdk-dev] [PATCH v2 2/4] examples/vhost: use a new API to query remaining ring space

2021-06-18 Thread Wenwu Ma
A new API for querying the remaining descriptor ring capacity is available, so we use the new one instead of the old one. Signed-off-by: Wenwu Ma --- examples/vhost/ioat.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/vhost/ioat.c b/examples/vhost/ioat.c index

[dpdk-dev] [PATCH v2 3/4] vhost: support async dequeue for split ring

2021-06-18 Thread Wenwu Ma
From: Yuan Wang This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading large copies to the DMA engine, thus saving precious CPU cycles. S

[dpdk-dev] [PATCH v2 4/4] examples/vhost: support vhost async dequeue data path

2021-06-18 Thread Wenwu Ma
This patch is to add vhost async dequeue data-path in vhost sample. vswitch can leverage IOAT to accelerate vhost async dequeue data-path. Signed-off-by: Wenwu Ma --- doc/guides/sample_app_ug/vhost.rst | 9 +- examples/vhost/ioat.c | 34 +-- examples/vhost/ioat.h

Re: [dpdk-dev] [PATCH v4 4/7] vhost: fix NUMA reallocation with multiqueue

2021-06-18 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, June 18, 2021 4:01 PM > To: Xia, Chenbo ; dev@dpdk.org; > david.march...@redhat.com > Cc: sta...@dpdk.org > Subject: Re: [PATCH v4 4/7] vhost: fix NUMA reallocation with multiqueue > > > > On 6/18/21 6:34 AM, Xia,

[dpdk-dev] [PATCH] net/memif: fix abstract socket addr_len

2021-06-18 Thread Nathan Skrzypczak
This fixes using abstract sockets with memifs. we were not passing the exact addr_len, which requires zeroing the remaining sun_path and doesn't appear well in other utilities (e.g. lsof -U) Signed-off-by: Nathan Skrzypczak --- drivers/net/memif/memif_socket.c | 13 ++--- 1 file changed,

Re: [dpdk-dev] [PATCH] Add Armv7 support

2021-06-18 Thread Supriya Shekhar Mane
Hi Thomas, Here are the meson/ninja build results, we see no warnings here: supriya@supriya:~/dpdk-meson-openwrt/dpdk-21.05$ meson armv7-build --cross-file config/arm/arm_armv7a_linux_gcc The Meson build system Version: 0.58.0 Source dir: /home/supriya/dpdk-meson-openwrt/dpdk-21.05 Build dir: /ho

[dpdk-dev] Regarding Armv7 support in DPDK-21.05

2021-06-18 Thread Supriya Shekhar Mane
Hi Thomas, The checklist shows a functional test error(as shown in attachment), but the error is in X86, how to reproduce and fix this issue? Regards, Supriya Mane -- Disclaimer:This message is intended only for the designated recipient(s). It may contain confidential or proprietary informatio

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

2021-06-18 Thread Li, Xiaoyun
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, June 17, 2021 22:20 > To: Li, Xiaoyun ; Ori Kam > Cc: dev@dpdk.org; Richardson, Bruce ; Yigit, > Ferruh ; Singh, Aman Deep > > Subject: [PATCH v3] app/testpmd: send failure logs to stderr > > Running with stdout suppressed

Re: [dpdk-dev] Regarding Armv7 support in DPDK-21.05

2021-06-18 Thread David Marchand
Hello Supriya, I waived 2/3 mails from you in the ml moderation list. Please register to the dev@ mailing list if you wish to contribute to the project. On Fri, Jun 18, 2021 at 10:27 AM Supriya Shekhar Mane wrote: > > Hi Thomas, > > The checklist shows a functional test error(as shown in attach

[dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input set

2021-06-18 Thread Alvin Zhang
Allow VLAN tag being added to L2 payload packet type RSS input set. Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow") Cc: sta...@dpdk.org Signed-off-by: Alvin Zhang --- drivers/net/i40e/i40e_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_h

Re: [dpdk-dev] [PATCH v4 4/7] vhost: fix NUMA reallocation with multiqueue

2021-06-18 Thread Maxime Coquelin
On 6/18/21 10:21 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Friday, June 18, 2021 4:01 PM >> To: Xia, Chenbo ; dev@dpdk.org; >> david.march...@redhat.com >> Cc: sta...@dpdk.org >> Subject: Re: [PATCH v4 4/7] vhost: fix NUMA reallocatio

Re: [dpdk-dev] [PATCH V6] config/arm: add Qualcomm Centriq 2400 part number

2021-06-18 Thread Thomas Monjalon
18/06/2021 04:09, Ruifeng Wang: > From: Thierry Herbelot > > 'part_number_config': { > > -'0xc00': {'machine_args': ['-march=armv8-a+crc']} > > +'0x800': {'machine_args': ['-march=armv8-a+crc']}, > > +'0xc00': {'machine_args': ['-march=armv8-a+crc']}, > Nit, redunda

Re: [dpdk-dev] [RFC PATCH] dmadev: introduce DMA device library

2021-06-18 Thread fengchengwen
On 2021/6/17 22:18, Bruce Richardson wrote: > On Thu, Jun 17, 2021 at 12:02:00PM +0100, Bruce Richardson wrote: >> On Thu, Jun 17, 2021 at 05:48:05PM +0800, fengchengwen wrote: >>> On 2021/6/17 1:31, Bruce Richardson wrote: On Wed, Jun 16, 2021 at 05:41:45PM +0800, fengchengwen wrote: > On

Re: [dpdk-dev] [PATCH V6] config/arm: add Qualcomm Centriq 2400 part number

2021-06-18 Thread Thierry Herbelot
On 6/18/21 10:51 AM, Thomas Monjalon wrote: 18/06/2021 04:09, Ruifeng Wang: From: Thierry Herbelot 'part_number_config': { -'0xc00': {'machine_args': ['-march=armv8-a+crc']} +'0x800': {'machine_args': ['-march=armv8-a+crc']}, +'0xc00': {'machine_args': ['-march

Re: [dpdk-dev] [PATCH V6] config/arm: add Qualcomm Centriq 2400 part number

2021-06-18 Thread Thomas Monjalon
18/06/2021 10:53, Thierry Herbelot: > On 6/18/21 10:51 AM, Thomas Monjalon wrote: > > 18/06/2021 04:09, Ruifeng Wang: > >> From: Thierry Herbelot > >>> 'part_number_config': { > >>> -'0xc00': {'machine_args': ['-march=armv8-a+crc']} > >>> +'0x800': {'machine_args': ['-march

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

2021-06-18 Thread David Marchand
On Fri, Jun 18, 2021 at 9:49 AM Lin, Xueqin wrote: > > > Suggest listing demo code and tool capture information for user to try if > > tool works, also add this part into doc. > > > > > > > > > > > # Also, Please update the release note for this feature. > > > Sure, we can update the release note

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Thursday, 17 June 2021 19.06 > > I think it would be better to change rx_pkt_burst() to accept port_id > and queue_id, instead of void *. Current: typedef uint16_t (*eth_rx_burst_t)(void *rxq,

Re: [dpdk-dev] [RFC PATCH] dmadev: introduce DMA device library

2021-06-18 Thread Bruce Richardson
On Fri, Jun 18, 2021 at 04:52:00PM +0800, fengchengwen wrote: > On 2021/6/17 22:18, Bruce Richardson wrote: > > On Thu, Jun 17, 2021 at 12:02:00PM +0100, Bruce Richardson wrote: > >> On Thu, Jun 17, 2021 at 05:48:05PM +0800, fengchengwen wrote: > >>> On 2021/6/17 1:31, Bruce Richardson wrote: > >>>

Re: [dpdk-dev] [RFC PATCH] dmadev: introduce DMA device library

2021-06-18 Thread fengchengwen
On 2021/6/18 13:52, Jerin Jacob wrote: > On Thu, Jun 17, 2021 at 2:46 PM Bruce Richardson > wrote: >> >> On Wed, Jun 16, 2021 at 08:07:26PM +0530, Jerin Jacob wrote: >>> On Wed, Jun 16, 2021 at 3:47 PM fengchengwen >>> wrote: On 2021/6/16 15:09, Morten Brørup wrote: >> From: dev [m

Re: [dpdk-dev] [RFC PATCH] dmadev: introduce DMA device library

2021-06-18 Thread Bruce Richardson
On Fri, Jun 18, 2021 at 11:22:28AM +0530, Jerin Jacob wrote: > On Thu, Jun 17, 2021 at 2:46 PM Bruce Richardson > wrote: > > > > On Wed, Jun 16, 2021 at 08:07:26PM +0530, Jerin Jacob wrote: > > > On Wed, Jun 16, 2021 at 3:47 PM fengchengwen > > > wrote: > > > > > > > > On 2021/6/16 15:09, Morten

Re: [dpdk-dev] [RFC PATCH] dmadev: introduce DMA device library

2021-06-18 Thread Bruce Richardson
On Fri, Jun 18, 2021 at 10:46:08AM +0530, Jerin Jacob wrote: > On Thu, Jun 17, 2021 at 1:30 PM Bruce Richardson > wrote: > > > > On Thu, Jun 17, 2021 at 01:12:22PM +0530, Jerin Jacob wrote: > > > On Thu, Jun 17, 2021 at 12:43 AM Bruce Richardson > > > wrote: > > > > > > > > On Wed, Jun 16, 2021 a

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Ferruh Yigit
On 6/17/2021 5:55 PM, Morten Brørup wrote: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit >> Sent: Thursday, 17 June 2021 18.13 >> >> On 6/17/2021 4:17 PM, Morten Brørup wrote: From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] Sent: Thursday, 17 June 20

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Ferruh Yigit
On 6/17/2021 6:05 PM, Ananyev, Konstantin wrote: > > >> On 6/17/2021 4:17 PM, Morten Brørup wrote: From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] Sent: Thursday, 17 June 2021 16.59 14/06/2021 15:15, Bruce Richardson: > On Mon, Jun 14, 2021

[dpdk-dev] [PATCH v3 00/62] Marvell CNXK Ethdev Driver

2021-06-18 Thread Nithin Dabilpuram
This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk' driver. In future, CN9K a.k.a octeontx2 will also be supported by same driver when code is ready and 'net/octeontx2' will be deprecated. Harman Kalra (1): common/cnxk: allocate lmt region in userspace Jerin Jacob (7): c

[dpdk-dev] [PATCH v3 01/62] common/cnxk: add support to lock NIX RQ contexts

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao This patch will consider device argument to lock rss table in NIX. This patch also adds few misc fixes such as disabling NIX Tx vlan insertion conf in SMQ, enabling SSO in NIX Tx SQ for Tx completions and TM related stats API. Signed-off-by: Satha Rao --- drivers/common/cnxk/r

[dpdk-dev] [PATCH v3 02/62] common/cnxk: fix batch alloc completion poll logic

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob The instruction generation was not correct due to fact that volatile suppose to use with ccode variable as well. Change the logic to use gcc atomic builtin to simplify and avoid explicit volatile from the code. Fixes: 81af26789316 ("common/cnxk: support NPA batch alloc/free")

[dpdk-dev] [PATCH v3 03/62] common/cnxk: add support to dump flow entries

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul Add NPC support API to dump created flow entries. Signed-off-by: Satheesh Paul --- drivers/common/cnxk/hw/npc.h| 2 + drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_npc.c | 20 ++ drivers/common/cnxk/roc_npc.h |

[dpdk-dev] [PATCH v3 04/62] common/cnxk: support for mark and flag flow actions

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul Add roc API to get mark action. Signed-off-by: Satheesh Paul --- drivers/common/cnxk/roc_npc.c | 17 + drivers/common/cnxk/roc_npc.h | 3 +++ drivers/common/cnxk/version.map | 2 ++ 3 files changed, 22 insertions(+) diff --git a/drivers/common/cnxk/ro

[dpdk-dev] [PATCH v3 05/62] common/cnxk: allocate lmt region in userspace

2021-06-18 Thread Nithin Dabilpuram
From: Harman Kalra As per the new LMTST design, userspace shall allocate lmt region, setup the DMA translation and share the IOVA with kernel via MBOX. Kernel will convert this IOVA to physical memory and update the LMT table entry with the same. With this new design also shared mode (i.e. all pc

[dpdk-dev] [PATCH v3 06/62] common/cnxk: add provision to enable RED on RQ

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao Send RED pass/drop levels based on rq configurations to kernel. Fixed the aura and pool shift value calculation. Signed-off-by: Satha Rao --- drivers/common/cnxk/roc_nix.h | 8 ++ drivers/common/cnxk/roc_nix_queue.c | 50 + drivers

[dpdk-dev] [PATCH v3 07/62] common/cnxk: support for VLAN push and pop flow actions

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul Add roc API to configure VLAN tag addition and removal. Signed-off-by: Satheesh Paul --- drivers/common/cnxk/roc_npc.c | 255 +++-- drivers/common/cnxk/roc_npc.h | 24 drivers/common/cnxk/roc_npc_mcam.c | 2 +- drivers/commo

[dpdk-dev] [PATCH v3 08/62] common/cnxk: fix flow create on CN98xx

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul CN96xx and CN98xx have 4096 and 16384 MCAM entries respectively. Aligning the code with the same numbers. Fixes: a07f7ced436d ("common/cnxk: add NPC init and fini") Signed-off-by: Satheesh Paul --- drivers/common/cnxk/roc_model.h | 6 ++ drivers/common/cnxk/roc_npc.c

[dpdk-dev] [PATCH v3 09/62] net/cnxk: add build infra and common probe

2021-06-18 Thread Nithin Dabilpuram
Add build infrastructure and common probe and remove for cnxk driver which is used by both CN10K and CN9K SoC. Signed-off-by: Nithin Dabilpuram --- MAINTAINERS| 5 +- doc/guides/nics/cnxk.rst | 29 + doc/guides/nics/features/cnxk.ini | 9 ++

[dpdk-dev] [PATCH v3 10/62] net/cnxk: add platform specific probe and remove

2021-06-18 Thread Nithin Dabilpuram
Add platform specific probe and remove callbacks for CN9K and CN10K which use common probe and remove functions. Register ethdev driver for CN9K and CN10K. Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_ethdev.c | 64 drivers/net/cnxk/cn10k_ethdev.h

[dpdk-dev] [PATCH v3 11/62] net/cnxk: add common devargs parsing function

2021-06-18 Thread Nithin Dabilpuram
Add various devargs parsing command line arguments parsing functions supported by CN9K and CN10K. Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/cnxk.rst | 94 +++ drivers/net/cnxk/cnxk_ethdev.c | 7 ++ drivers/net/cnxk/cnxk_ethdev.h | 9 +

[dpdk-dev] [PATCH v3 12/62] net/cnxk: add common dev infos get support

2021-06-18 Thread Nithin Dabilpuram
Add support to retrieve dev infos get for CN9K and CN10K. Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/cnxk.rst | 3 ++ doc/guides/nics/features/cnxk.ini | 4 ++ doc/guides/nics/features/cnxk_vec.ini | 4 ++ doc/guides/nics/features/cnxk_vf.ini | 3 ++ drivers/net/c

[dpdk-dev] [PATCH v3 13/62] net/cnxk: add device configuration operation

2021-06-18 Thread Nithin Dabilpuram
Add device configuration op for CN9K and CN10K. Most of the device configuration is common between two platforms except for some supported offloads. Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/cnxk.rst | 2 + doc/guides/nics/features/cnxk.ini | 2 + doc/guides/nics/

[dpdk-dev] [PATCH v3 14/62] net/cnxk: add link status update support

2021-06-18 Thread Nithin Dabilpuram
Add link status update callback to get current link status. Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 2 + doc/guides/nics/features/cnxk_vec.ini | 2 + doc/guides/nics/features/cnxk_vf.ini | 2 + drivers/net

[dpdk-dev] [PATCH v3 15/62] net/cnxk: add Rx queue setup and release

2021-06-18 Thread Nithin Dabilpuram
Add Rx queue setup and release op for CN9K and CN10K SoC. Release is completely common while setup is platform dependent due to fast path Rx queue structure variation. Fastpath is platform dependent partly due to core cacheline size difference. Signed-off-by: Nithin Dabilpuram --- doc/guides/nic

[dpdk-dev] [PATCH v3 16/62] net/cnxk: add Tx queue setup and release

2021-06-18 Thread Nithin Dabilpuram
aDD tx queue setup and release for CN9K and CN10K. Release is common while setup is platform dependent due to differences in fast path Tx queue structures. Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/

[dpdk-dev] [PATCH v3 17/62] net/cnxk: add packet type support

2021-06-18 Thread Nithin Dabilpuram
Add support for packet type lookup on Rx to translate HW specific types to RTE_PTYPE_* defines Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/featur

[dpdk-dev] [PATCH v3 18/62] net/cnxk: add queue start and stop support

2021-06-18 Thread Nithin Dabilpuram
Add Rx/Tx queue start and stop callbacks for CN9K and CN10K. Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + drivers/net/cnxk/cn10k_ethdev.c | 16 ++ drivers/n

[dpdk-dev] [PATCH v3 19/62] net/cnxk: add Rx support for cn9k

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob Add Rx burst scalar version for CN9K. Signed-off-by: Jerin Jacob --- drivers/net/cnxk/cn9k_ethdev.h | 3 + drivers/net/cnxk/cn9k_rx.c | 46 drivers/net/cnxk/cn9k_rx.h | 237 + drivers/net/cnxk/cnxk_ethdev.h | 3 +

[dpdk-dev] [PATCH v3 20/62] net/cnxk: add Rx multi-segmented version for cn9k

2021-06-18 Thread Nithin Dabilpuram
Add Rx burst multi-segmented version for CN9K. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/cnxk/cn9k_rx.c | 17 drivers/net/cnxk/cn9k_rx.h | 60 ++--- drivers/net/cnxk/cn9k_rx_mseg.c | 17

[dpdk-dev] [PATCH v3 21/62] net/cnxk: add Rx vector version for cn9k

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob Add Rx burst vector version for CN9K. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn9k_rx.c | 13 ++- drivers/net/cnxk/cn9k_rx.h | 221 + drivers/net/cnxk/cn9k_rx_vec.c | 17 drivers/

[dpdk-dev] [PATCH v3 22/62] net/cnxk: add Tx support for cn9k

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob Add Tx burst scalar version for CN9K. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Signed-off-by: Harman Kalra --- drivers/net/cnxk/cn9k_ethdev.h | 1 + drivers/net/cnxk/cn9k_tx.c | 53 ++ drivers/net/cnxk/cn9k_tx.h

[dpdk-dev] [PATCH v3 23/62] net/cnxk: add Tx multi-segment version for cn9k

2021-06-18 Thread Nithin Dabilpuram
Add Tx burst multi-segment version for CN9K. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/cnxk/cn9k_tx.c | 14 drivers/net/cnxk/cn9k_tx.h | 150 drivers/net/cnxk/cn9k_tx_mseg.c | 25 +++ drivers/net

[dpdk-dev] [PATCH v3 24/62] net/cnxk: add Tx vector version for cn9k

2021-06-18 Thread Nithin Dabilpuram
Add Tx burst vector version for CN9K. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/cnxk/cn9k_tx.c | 16 +- drivers/net/cnxk/cn9k_tx.h | 743 + drivers/net/cnxk/cn9k_tx_vec.c | 25 ++ drivers/net/cnxk/meson.buil

[dpdk-dev] [PATCH v3 25/62] net/cnxk: add Rx support for cn10k

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob Add Rx burst support for CN10K SoC. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Signed-off-by: Harman Kalra --- drivers/net/cnxk/cn10k_ethdev.h | 3 + drivers/net/cnxk/cn10k_rx.c | 45 drivers/net/cnxk/cn10k_rx

[dpdk-dev] [PATCH v3 26/62] net/cnxk: add Rx multi-segment version for cn10k

2021-06-18 Thread Nithin Dabilpuram
Add Rx burst multi-segment version for CN10K. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- doc/guides/nics/cnxk.rst | 2 ++ doc/guides/nics/features/cnxk.ini | 2 ++ doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini |

[dpdk-dev] [PATCH v3 27/62] net/cnxk: add Rx vector version for cn10k

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob Add Rx burst vector version for CN10K. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram --- doc/guides/nics/cnxk.rst| 1 + drivers/net/cnxk/cn10k_rx.c | 13 ++- drivers/net/cnxk/cn10k_rx.h | 222 drivers/

[dpdk-dev] [PATCH v3 28/62] net/cnxk: add Tx support for cn10k

2021-06-18 Thread Nithin Dabilpuram
From: Jerin Jacob Add Tx burst scalar version for CN10K. Signed-off-by: Jerin Jacob Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Signed-off-by: Harman Kalra --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 7 + doc/guides/nics/f

[dpdk-dev] [PATCH v3 29/62] net/cnxk: add Tx multi-segment version for cn10k

2021-06-18 Thread Nithin Dabilpuram
Add Tx burst multi-segment version for CN10K. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/cnxk/cn10k_tx.c | 18 - drivers/net/cnxk/cn10k_tx.h | 171 +++ drivers/net/cnxk/cn10k_tx_mseg.c | 25 ++ drivers/

[dpdk-dev] [PATCH v3 31/62] net/cnxk: add device start and stop operations

2021-06-18 Thread Nithin Dabilpuram
Add device start and stop operation callbacks for CN9K and CN10K. Device stop is common for both platforms while device start as some platform dependent portion where the platform specific offload flags are recomputed and the right Rx/Tx burst function is chosen. Signed-off-by: Nithin Dabilpuram

[dpdk-dev] [PATCH v3 30/62] net/cnxk: add Tx vector version for cn10k

2021-06-18 Thread Nithin Dabilpuram
Add Tx burst vector version for CN10K. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh --- drivers/net/cnxk/cn10k_tx.c | 10 + drivers/net/cnxk/cn10k_tx.h | 815 drivers/net/cnxk/cn10k_tx_vec.c | 25 ++ drivers/net/cnxk/meson.bu

[dpdk-dev] [PATCH v3 32/62] net/cnxk: add MAC address set ops

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Default mac address set operation is implemented for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 1 + drivers/net/cnxk/cnxk_ethdev.h | 2 ++ drivers/net/cnxk/cnxk_ethdev_ops.c | 29 +

[dpdk-dev] [PATCH v3 33/62] net/cnxk: add MTU set device operation

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori This Patch implements mtu set dev op for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_

[dpdk-dev] [PATCH v3 34/62] net/cnxk: add promiscuous mode enable and disable

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Add device operations to enable and disable promisc mode for cn9k and cn10k. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + drivers/net/cnxk/cnx

[dpdk-dev] [PATCH v3 35/62] net/cnxk: add DMAC filter support

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori DMAC filter support is added for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + drivers/net/cnxk/cnxk_ethdev.c

[dpdk-dev] [PATCH v3 36/62] net/cnxk: add all multicast enable/disable ethops

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori L2 multicast packets can be allowed or blocked. Patch implements corresponding ethops. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + drivers/net/cnxk/cnxk_ethdev.c| 2 ++ drivers/n

[dpdk-dev] [PATCH v3 37/62] net/cnxk: add Rx/Tx burst mode get ops

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements ethdev operations to get Rx and Tx burst mode. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + drivers/net/cnxk/cnxk_ethdev.c

[dpdk-dev] [PATCH v3 38/62] net/cnxk: add flow ctrl set/get ops

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements set and get operations for flow control. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + drivers/net/cnxk/cnxk_ethdev.c

[dpdk-dev] [PATCH v3 39/62] net/cnxk: add link up/down operations

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements link up/down ethdev operations for cn9k and cn10k platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 4 +++- drivers/net/cnxk/cnxk_ethdev.h | 4 drivers/net/cnxk/cnxk_ethdev_ops.c | 47 ++

[dpdk-dev] [PATCH v3 40/62] net/cnxk: add EEPROM module info get operations

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements eeprom module info get ethops for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + drivers/net/cnxk/cnx

[dpdk-dev] [PATCH v3 41/62] net/cnxk: add Rx queue interrupt enable/disable ops

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Application may choose to enable/disable interrupts on Rx queues so that application can select its processing if no packets are available on queues for a longer period. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/fea

[dpdk-dev] [PATCH v3 42/62] net/cnxk: add validation API for mempool ops

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori cn9k and cn10k supports platform specific mempool ops. This patch implements API to validate whether given mempool ops is supported or not. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 1 + drivers/net/cnxk/cnxk_ethdev.h | 1 + drivers/n

[dpdk-dev] [PATCH v3 43/62] net/cnxk: add port/queue stats

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao This patch implements regular port statistics and queue mapping set api to get queue statistics Signed-off-by: Satha Rao --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 2 + doc/guides/nics/features/cnxk_vec.ini | 2 + doc/guides/nics

[dpdk-dev] [PATCH v3 44/62] net/cnxk: add xstats apis

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao Initial implementation of xstats operations. Signed-off-by: Satha Rao --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + drivers/net/cnxk/cnxk_ethdev.c| 5 + drivers/net/cnxk

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Ananyev, Konstantin
> > > > 14/06/2021 15:15, Bruce Richardson: > >> On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote: > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, 14 June 2021 12.59 > > Performance of access in a f

[dpdk-dev] [PATCH v3 45/62] net/cnxk: add rxq/txq info get operations

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao Initial apis to get default queue information. Signed-off-by: Satha Rao --- drivers/net/cnxk/cnxk_ethdev.c | 2 ++ drivers/net/cnxk/cnxk_ethdev.h | 4 drivers/net/cnxk/cnxk_ethdev_ops.c | 30 ++ 3 files changed, 36 insertions(+) diff

[dpdk-dev] [PATCH v3 46/62] net/cnxk: add device close and reset operations

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements device close and reset operations for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 35 --- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/drivers/net/cnxk/c

[dpdk-dev] [PATCH v3 47/62] net/cnxk: add pending Tx mbuf cleanup operation

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Once mbufs are transmitted, mbufs are freed by H/W. No mbufs are accumalated as a pending mbuf. Hence operation is NOP for cnxk platform. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 1 + drivers/net/cnxk/cnxk_ethdev.h | 1 + drivers/net

[dpdk-dev] [PATCH v3 48/62] net/cnxk: add support to configure npc

2021-06-18 Thread Nithin Dabilpuram
From: Kiran Kumar K Adding support to configure NPC on device initialization. This involves reading the MKEX and initializing the necessary data. Signed-off-by: Kiran Kumar K --- drivers/net/cnxk/cnxk_ethdev.c | 25 ++--- drivers/net/cnxk/cnxk_ethdev.h | 3

[dpdk-dev] [PATCH v3 49/62] net/cnxk: add initial version of rte flow support

2021-06-18 Thread Nithin Dabilpuram
From: Kiran Kumar K Adding initial version of rte_flow support for cnxk family device. Supported rte_flow ops are flow_validate, flow_create, flow_crstroy, flow_flush, flow_query, flow_isolate. Signed-off-by: Kiran Kumar K --- doc/guides/nics/cnxk.rst | 7 + doc/guides/nics/features

[dpdk-dev] [PATCH v3 50/62] net/cnxk: add flow ops get operation

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul This patch adds flow ops get operation to enable rte_flow_ops.A This patch also add support for flow dev dump API. Every flow rule added will be dumped in the below format. MCAM Index:1881 Interface :NIX-RX (0) Priority :1 NPC RX Action:0X404001 ActionOp:NIX

[dpdk-dev] [PATCH v3 51/62] net/cnxk: add ethdev firmware version get

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao Add callback to get ethdev firmware version. Signed-off-by: Satha Rao --- doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf.ini | 1 + drivers/net/cnxk/cnxk_ethdev.c| 1 + drivers/net/cnxk/cnx

[dpdk-dev] [PATCH v3 52/62] net/cnxk: add get register operation

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao With this patch implemented api to dump platform registers for debug purposes. Signed-off-by: Satha Rao --- doc/guides/nics/cnxk.rst | 1 + doc/guides/nics/features/cnxk.ini | 1 + doc/guides/nics/features/cnxk_vec.ini | 1 + doc/guides/nics/features/cnxk_vf

[dpdk-dev] [PATCH v3 53/62] net/cnxk: support for RSS in rte flow

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul Added support for RSS action in rte flow code based on ROC. Signed-off-by: Satheesh Paul --- doc/guides/nics/features/cnxk.ini | 1 + drivers/net/cnxk/cnxk_rte_flow.c | 74 ++- 2 files changed, 67 insertions(+), 8 deletions(-) diff --g

[dpdk-dev] [PATCH v3 54/62] net/cnxk: register callback to get PTP status

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Once PTP status is changed at H/W i.e. enable/disable then it is propagated to user via registered callback. So corresponding callback is registered to get PTP status. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev.c| 87 ++

[dpdk-dev] [PATCH v3 55/62] net/cnxk: add base PTP timesync support

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Base PTP timesync support is added for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev.c | 31 + drivers/net/cnxk/cn10k_ethdev.h | 1 + drivers/net/cnxk/cn10k_rx.c | 32 ++--- drivers/net/cnxk/cn10k_rx.h |

[dpdk-dev] [PATCH v3 56/62] net/cnxk: add timesync enable/disable operations

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements timesync enable/disable operations for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cn10k_ethdev.c | 50 + drivers/net/cnxk/cn9k_ethdev.c | 50

[dpdk-dev] [PATCH v3 57/62] net/cnxk: add Rx/Tx timestamp read operations

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements Rx/Tx timestamp read operations for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 2 ++ drivers/net/cnxk/cnxk_ethdev.h | 5 + drivers/net/cnxk/cnxk_ptp.c| 38 +

[dpdk-dev] [PATCH v3 58/62] net/cnxk: add time read/write/adjust operations

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements read/write/adjust time operations for cn9k and cn10k platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 3 ++ drivers/net/cnxk/cnxk_ethdev.h | 5 drivers/net/cnxk/cnxk_ptp.c| 63

[dpdk-dev] [PATCH v3 59/62] net/cnxk: add read clock operation

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch implements read raw clock operation for cn9k and cn10k. Signed-off-by: Sunil Kumar Kori --- doc/guides/nics/features/cnxk.ini | 2 ++ drivers/net/cnxk/cnxk_ethdev.c| 1 + drivers/net/cnxk/cnxk_ethdev.h| 1 + drivers/net/cnxk/cnxk_ptp.c | 17 +++

[dpdk-dev] [PATCH v3 60/62] net/cnxk: added RETA and RSS hash operations

2021-06-18 Thread Nithin Dabilpuram
From: Satha Rao This patch will implement RETA and RSS hash apis. Also added device argument to lock rx context. Signed-off-by: Satha Rao --- doc/guides/nics/features/cnxk.ini | 2 + doc/guides/nics/features/cnxk_vec.ini | 2 + doc/guides/nics/features/cnxk_vf.ini | 2 + drivers/

[dpdk-dev] [PATCH v3 61/62] net/cnxk: add multicast filter support

2021-06-18 Thread Nithin Dabilpuram
From: Sunil Kumar Kori Patch adds multicast filter support for cn9k and cn10k platforms. CGX DMAC filter table(32 entries) is divided among all LMACs connected to it i.e. if CGX has 4 LMACs then each LMAC can have up to 8 filters. If CGX has 1 LMAC then it can have up to 32 filters. Above menti

[dpdk-dev] [PATCH v3 62/62] net/cnxk: add marking and VLAN tagging support

2021-06-18 Thread Nithin Dabilpuram
From: Satheesh Paul This patch adds support for mark, flag, VLAN pop and push flow actions. Signed-off-by: Satheesh Paul --- doc/guides/nics/features/cnxk.ini | 5 ++ drivers/net/cnxk/cn10k_rte_flow.c | 42 + drivers/net/cnxk/cn10k_rx.c | 27 +++--- drivers/net/cnxk/cn10k_rx.

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Ferruh Yigit
On 6/18/2021 10:14 AM, Morten Brørup wrote: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, >> Konstantin >> Sent: Thursday, 17 June 2021 19.06 >> >> I think it would be better to change rx_pkt_burst() to accept port_id >> and queue_id, instead of void *. > > Current: > > typedef

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Ferruh Yigit
On 6/18/2021 11:41 AM, Ananyev, Konstantin wrote: > >>> >>> 14/06/2021 15:15, Bruce Richardson: On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon >> Sent: Monday, 14 June 2021 12.5

[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-18 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=728 jiang,yu (yux.ji...@intel.com) changed: What|Removed |Added CC||yux.ji...@intel.com S

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

2021-06-18 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=732 jiang,yu (yux.ji...@intel.com) changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|---

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-18 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Friday, 18 June 2021 12.47 > > On 6/18/2021 10:14 AM, Morten Brørup wrote: > > Another thing: > > > > I just noticed that struct rte_eth_dev_data has "void **rx_queues;" > (and similarly for tx_queues). > > > > That should

[dpdk-dev] [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11

2021-06-18 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=744 Bug ID: 744 Summary: [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED

  1   2   >