Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-07 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Monday, June 7, 2021 9:20 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; > Wang, Yinan > Subject: Re: [PATCH 0/2] provide thread unsafe async registration functions > > Hi Jiayu, > > On 6/7/21 10:0

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Thomas Monjalon
08/06/2021 06:10, Jerin Jacob: > On Mon, Jun 7, 2021 at 10:17 PM Thomas Monjalon wrote: > > > > 07/06/2021 15:54, Jerin Jacob: > > > On Mon, Jun 7, 2021 at 4:13 PM Thomas Monjalon > > > wrote: > > > > 07/06/2021 09:20, Wang, Haiyue: > > > > > From: Honnappa Nagarahalli > > > > > > If we keep CX

Re: [dpdk-dev] [RFC 3/3] net/virtio: add MAC device config getter and setter

2021-06-07 Thread Maxime Coquelin
On 6/8/21 7:29 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, June 3, 2021 10:29 PM >> To: Xia, Chenbo ; Maxime Coquelin >> ; dev@dpdk.org; amore...@redhat.com; >> david.march...@redhat.com >> Subject: Re: [RFC 3/3] net/virtio: a

Re: [dpdk-dev] [PATCH v2] vhost: allocate and free packets in bulk in Tx split

2021-06-07 Thread Xia, Chenbo
Hi Balazs, > -Original Message- > From: dev On Behalf Of Balazs Nemeth > Sent: Friday, June 4, 2021 8:14 PM > To: bnem...@redhat.com; dev@dpdk.org > Cc: maxime.coque...@redhat.com; david.march...@redhat.com > Subject: [dpdk-dev] [PATCH v2] vhost: allocate and free packets in bulk in Tx >

Re: [dpdk-dev] [PATCH v9 10/10] Enable the new EAL thread API

2021-06-07 Thread Narcisa Ana Maria Vasile
On Fri, Jun 04, 2021 at 04:44:34PM -0700, Narcisa Ana Maria Vasile wrote: > From: Narcisa Vasile > > Rename pthread_* occurrences with the new rte_thread_* API. > Enable the new API in the build system. > > Signed-off-by: Narcisa Vasile > --- I'll send v10. Can someone please help with an exa

Re: [dpdk-dev] [RFC v3 4/6] eal: add a helper for reading string from sysfs

2021-06-07 Thread Xia, Chenbo
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: Tuesday, June 1, 2021 1:39 PM > To: Xia, Chenbo > Cc: dev@dpdk.org; tho...@monjalon.net; Liang, Cunming > ; Wu, Jingjing ; Burakov, > Anatoly ; Yigit, Ferruh ; > m...@ashroe.eu; nhor...@tuxdriver.com; Richardson, Bruce >

Re: [dpdk-dev] [RFC v3 4/6] eal: add a helper for reading string from sysfs

2021-06-07 Thread Xia, Chenbo
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: Tuesday, June 1, 2021 1:38 PM > To: Xia, Chenbo > Cc: dev@dpdk.org; tho...@monjalon.net; Liang, Cunming > ; Wu, Jingjing ; Burakov, > Anatoly ; Yigit, Ferruh ; > m...@ashroe.eu; nhor...@tuxdriver.com; Richardson, Bruce >

Re: [dpdk-dev] [RFC 3/3] net/virtio: add MAC device config getter and setter

2021-06-07 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, June 3, 2021 10:29 PM > To: Xia, Chenbo ; Maxime Coquelin > ; dev@dpdk.org; amore...@redhat.com; > david.march...@redhat.com > Subject: Re: [RFC 3/3] net/virtio: add MAC device config getter and setter > > Hi Chenb

Re: [dpdk-dev] [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost

2021-06-07 Thread Jiang, Cheng1
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Monday, June 7, 2021 9:46 PM > To: Jiang, Cheng1 ; maxime.coque...@redhat.com; > Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > > Subject: Re: [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost > >

Re: [dpdk-dev] backport virtio mmio support to LTS version

2021-06-07 Thread Wang, Yinan
+chenbo > -Original Message- > From: 谢华伟(此时此刻) > Sent: 2021年6月7日 21:37 > To: David Marchand ; Maxime Coquelin > ; Yigit, Ferruh > Cc: Maxime Coquelin ; Xueming(Steven) Li > ; Gaetan Rivet ; Wang, Yinan > ; Zhu, Heqing ; dev > > Subject: backport virtio mmio support to LTS version > >

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 10:17 PM Thomas Monjalon wrote: > > 07/06/2021 15:54, Jerin Jacob: > > On Mon, Jun 7, 2021 at 4:13 PM Thomas Monjalon wrote: > > > 07/06/2021 09:20, Wang, Haiyue: > > > > From: Honnappa Nagarahalli > > > > > If we keep CXL in mind, I would imagine that in the future the >

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

2021-06-07 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 11:55 PM Stephen Hemminger wrote: > > On Mon, 7 Jun 2021 23:28:42 +0530 > Nithin Dabilpuram wrote: > > > 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 > >

Re: [dpdk-dev] [PATCH 0/3] net/bnxt: vector mode patches

2021-06-07 Thread Ajit Khaparde
On Mon, May 24, 2021 at 12:00 PM Lance Richardson wrote: > > Vector mode updates for the bnxt PMD. > > Lance Richardson (3): > net/bnxt: refactor HW ptype mapping table > net/bnxt: fix Rx burst size constraint > net/bnxt: add AVX2 vector PMD Patchset applied to dpdk-next-net-brcm/for-next-n

Re: [dpdk-dev] [PATCH] net/bnxt: do not use possibly NULL pointers

2021-06-07 Thread Ajit Khaparde
On Mon, May 24, 2021 at 2:00 AM Thierry Herbelot wrote: > > Check that pointers are valid before using them. > > Fixes: 7bc8e9a227ccb ("net/bnxt: support async link notification") > Cc: sta...@dpdk.org > Cc: Ajit Khaparde > Cc: Somnath Kotur > > Signed-off-by: Thierry Herbelot Modified the com

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Honnappa Nagarahalli
> -Original Message- > From: Jerin Jacob > On Mon, Jun 7, 2021 at 4:13 PM Thomas Monjalon > wrote: > > > > 07/06/2021 09:20, Wang, Haiyue: > > > From: Honnappa Nagarahalli > > > > If we keep CXL in mind, I would imagine that in the future the > > > > devices on PCIe could have their ow

Re: [dpdk-dev] [PATCH v2] ethdev: add IPv4 checksum RSS offload type

2021-06-07 Thread Ajit Khaparde
On Thu, Jun 3, 2021 at 1:04 AM Alvin Zhang wrote: > > This patch defines new RSS offload type for IPv4 checksum, > which is required when users want to distribute packets based > on the IPv4 checksum field. > > For example "flow create 0 ingress pattern eth / ipv4 / end > actions rss types ipv4-ch

Re: [dpdk-dev] [PATCH v1] net/i40e: remove the SMP barrier in HW scanning func

2021-06-07 Thread Honnappa Nagarahalli
> > > > > > > > > > Add the logic to determine how many DD bits have been set for > > > > contiguous packets, for removing the SMP barrier while reading descs. > > > > > > I didn't understand this. > > > The current logic already guarantee the read out DD bits are from > > > continue packets, as

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-07 Thread Ivan Malov
On 07/06/2021 22:27, Ilya Maximets wrote: On 6/3/21 1:29 PM, Ivan Malov wrote: On 03/06/2021 12:29, Ilya Maximets wrote: On 6/2/21 9:35 PM, Ivan Malov wrote: On 02/06/2021 20:35, Ilya Maximets wrote: (Dropped Broadcom folks from CC.  Mail server refuses to accept their emails for some reason:

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-07 Thread Ilya Maximets
On 6/3/21 1:29 PM, Ivan Malov wrote: > On 03/06/2021 12:29, Ilya Maximets wrote: >> On 6/2/21 9:35 PM, Ivan Malov wrote: >>> On 02/06/2021 20:35, Ilya Maximets wrote: (Dropped Broadcom folks from CC.  Mail server refuses to accept their emails for some reason: "Recipient address rejected:

Re: [dpdk-dev] [PATCH] eal/arm: enable FreeBSD build

2021-06-07 Thread James Grant
Hi Everyone, Thanks for the help . I was able to build DPDK using this patch on a physical machine. Best regards, James Grant Senior Embedded Software Engineer | CSIT | QUB. -Original Message- From: Ruifeng Wang Sent: 04 June 2021 06:49 To: vikto...@rehivetech.com; jer...@marvell.co

Re: [dpdk-dev] [PATCH v2] net/ice: fix data path corrupt on secondary process

2021-06-07 Thread Wang, Yixue
Hi Qi, Patch v2 has been tested. Best Regards, Yixue. > -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, May 26, 2021 14:13 > To: Yang, Qiming > Cc: Zhang, Liheng ; Wang, Yixue > ; Dong, Yao ; dev@dpdk.org; > Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH v2] net/ice: fix dat

[dpdk-dev] memory leak reported by address sanitizer

2021-06-07 Thread Cosmin Banu
Hello, After a recent DPDK upgrade I noticed a memory leak on exit when running with address sanitizer: = ==2260==ERROR: LeakSanitizer: detected memory leaks Direct leak of 3805032 byte(s) in 71 object(s) allocated from: #0 0x7fa

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

2021-06-07 Thread Stephen Hemminger
On Mon, 7 Jun 2021 23:28:42 +0530 Nithin Dabilpuram wrote: > 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 an

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

2021-06-07 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 v2 61/62] net/cnxk: added reta and rss_hash operations

2021-06-07 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 v2 60/62] net/cnxk: support for rte flow dev dump API

2021-06-07 Thread Nithin Dabilpuram
From: Satheesh Paul Add support to dump hardware internal representation information of rte flow to file. 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_RX_ACTIONOP_UCAST (1)

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

2021-06-07 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 v2 58/62] net/cnxk: add time read/write/adjust operations

2021-06-07 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 v2 57/62] net/cnxk: add Rx/Tx timestamp read operations

2021-06-07 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 v2 56/62] net/cnxk: add timesync enable/disable operations

2021-06-07 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 v2 55/62] net/cnxk: add base PTP timesync support

2021-06-07 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 v2 54/62] net/cnxk: register callback to get PTP status

2021-06-07 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 v2 53/62] net/cnxk: support for rss in rte_flow

2021-06-07 Thread Nithin Dabilpuram
From: Satheesh Paul Added support for rss action in rte_flow code based on ROC. Signed-off-by: Satheesh Paul --- drivers/net/cnxk/cnxk_rte_flow.c | 72 +++- 1 file changed, 64 insertions(+), 8 deletions(-) diff --git a/drivers/net/cnxk/cnxk_rte_flow.c b/dri

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

2021-06-07 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 v2 51/62] net/cnxk: add ethdev firmware version get

2021-06-07 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 v2 50/62] net/cnxk: add flow ops get operation

2021-06-07 Thread Nithin Dabilpuram
From: Satheesh Paul This patch adds flow ops get operation to enable rte_flow_ops. Signed-off-by: Satheesh Paul --- drivers/common/cnxk/roc_npc.c | 2 ++ drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 5 - drivers/net/cnxk/cnxk_ethdev_ops.c | 10 ++

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

2021-06-07 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 | 118 doc/guide

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

2021-06-07 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 v2 47/62] net/cnxk: add pending Tx mbuf cleanup operation

2021-06-07 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 v2 46/62] net/cnxk: add device close and reset operations

2021-06-07 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 v2 45/62] net/cnxk: add rxq/txq info get operations

2021-06-07 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 v2 44/62] net/cnxk: add xstats apis

2021-06-07 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/cnx

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

2021-06-07 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 v2 42/62] net/cnxk: add validation API for mempool ops

2021-06-07 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 v2 41/62] net/cnxk: add Rx queue interrupt enable/disable ops

2021-06-07 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 v2 40/62] net/cnxk: add EEPROM module info get operations

2021-06-07 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 v2 39/62] net/cnxk: add link up/down operations

2021-06-07 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 v2 38/62] net/cnxk: add flow ctrl set/get ops

2021-06-07 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 v2 37/62] net/cnxk: add Rx/Tx burst mode get ops

2021-06-07 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 v2 36/62] net/cnxk: add all multicast enable/disable ethops

2021-06-07 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 v2 35/62] net/cnxk: add DMAC filter support

2021-06-07 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 v2 34/62] net/cnxk: add promiscuous mode enable and disable

2021-06-07 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 v2 33/62] net/cnxk: add MTU set device operation

2021-06-07 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 v2 32/62] net/cnxk: add MAC address set ops

2021-06-07 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 v2 31/62] net/cnxk: add device start and stop operations

2021-06-07 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 v2 30/62] net/cnxk: add Tx vector version for cn10k

2021-06-07 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 | 959 drivers/net/cnxk/cn10k_tx_vec.c | 25 ++ drivers/net/cnxk/meson.bu

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

2021-06-07 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 | 166 +++ drivers/net/cnxk/cn10k_tx_mseg.c | 25 ++ drivers/

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

2021-06-07 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 v2 27/62] net/cnxk: add Rx vector version for cn10k

2021-06-07 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 v2 26/62] net/cnxk: add Rx multi-segment version for cn10k

2021-06-07 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 v2 25/62] net/cnxk: add Rx support for cn10k

2021-06-07 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 v2 24/62] net/cnxk: add Tx vector version for cn9k

2021-06-07 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 | 920 + drivers/net/cnxk/cn9k_tx_vec.c | 25 ++ drivers/net/cnxk/meson.buil

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

2021-06-07 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 | 147 drivers/net/cnxk/cn9k_tx_mseg.c | 25 +++ drivers/net

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

2021-06-07 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 v2 21/62] net/cnxk: add Rx vector version for cn9k

2021-06-07 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 v2 20/62] net/cnxk: add Rx multi-segmented version for cn9k

2021-06-07 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 v2 19/62] net/cnxk: add Rx support for cn9k

2021-06-07 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 v2 18/62] net/cnxk: add queue start and stop support

2021-06-07 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 v2 17/62] net/cnxk: add packet type support

2021-06-07 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 v2 16/62] net/cnxk: add Tx queue setup and release

2021-06-07 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 v2 15/62] net/cnxk: add Rx queue setup and release

2021-06-07 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 v2 14/62] net/cnxk: add link status update support

2021-06-07 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 v2 13/62] net/cnxk: add device configuration operation

2021-06-07 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 v2 12/62] net/cnxk: add common dev infos get support

2021-06-07 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 v2 11/62] net/cnxk: add common devargs parsing function

2021-06-07 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 v2 10/62] net/cnxk: add platform specific probe and remove

2021-06-07 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 v2 09/62] net/cnxk: add build infra and common probe

2021-06-07 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 | 3 + doc/guides/nics/cnxk.rst | 29 + doc/guides/nics/features/cnxk.ini | 9 ++ do

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

2021-06-07 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 v2 07/62] common/cnxk: add provision to enable RED on RQ

2021-06-07 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 v2 06/62] common/cnxk: allocate lmt region in userspace

2021-06-07 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 v2 05/62] common/cnxk: support for mark and flag flow actions

2021-06-07 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 v2 04/62] common/cnxk: add support to dump flow entries

2021-06-07 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 v2 03/62] common/cnxk: fix batch alloc completion poll logic

2021-06-07 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 v2 02/62] common/cnxk: update Rx inline IPsec mbox message format

2021-06-07 Thread Nithin Dabilpuram
From: Srujana Challa Updates Rx inline IPSEC mailbox message format to make it sync with latest CPT PF driver. Signed-off-by: Srujana Challa --- drivers/common/cnxk/roc_mbox.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h

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

2021-06-07 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 v2 00/62] Marvell CNXK Ethdev Driver

2021-06-07 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] backport virtio mmio support to LTS version

2021-06-07 Thread 谢华伟(此时此刻)
Hi: Customer want to develop their NFV app based on LTS version. How about back-porting the mmio patches to LTS version, like 20.11?

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Thomas Monjalon
07/06/2021 15:54, Jerin Jacob: > On Mon, Jun 7, 2021 at 4:13 PM Thomas Monjalon wrote: > > 07/06/2021 09:20, Wang, Haiyue: > > > From: Honnappa Nagarahalli > > > > If we keep CXL in mind, I would imagine that in the future the devices > > > > on PCIe could have their own > > > > local memory. Ma

Re: [dpdk-dev] [PATCH 1/1] lib/vhost: support async dequeue for split ring

2021-06-07 Thread Maxime Coquelin
Hi Yuan, This is a first review, I will certainly have more comments later. On 6/2/21 10:31 AM, Yuan Wang wrote: > 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 pac

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-07 Thread Thomas Monjalon
07/06/2021 15:21, Ilya Maximets: > On 6/7/21 2:08 PM, Ori Kam wrote: > > From: Andrew Rybchenko > >> On 6/7/21 11:28 AM, Thomas Monjalon wrote: > >>> I see emails don't work well to conclude on how to manage representors. > >>> I propose working in live meetings so we can try to align our views on

Re: [dpdk-dev] [PATCH v1] net/i40e: remove the SMP barrier in HW scanning func

2021-06-07 Thread Zhang, Qi Z
> -Original Message- > From: Honnappa Nagarahalli > Sent: Monday, June 7, 2021 2:33 AM > To: Zhang, Qi Z ; Joyce Kong ; > Xing, Beilei ; Ruifeng Wang > Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli > ; nd > Subject: RE: [PATCH v1] net/i40e: remove the SMP barrier in HW scanning > func >

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Jerin Jacob
On Mon, Jun 7, 2021 at 4:13 PM Thomas Monjalon wrote: > > 07/06/2021 09:20, Wang, Haiyue: > > From: Honnappa Nagarahalli > > > If we keep CXL in mind, I would imagine that in the future the devices on > > > PCIe could have their own > > > local memory. May be some of the APIs could use generic n

Re: [dpdk-dev] [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost

2021-06-07 Thread Maxime Coquelin
On 6/2/21 6:28 AM, Cheng Jiang wrote: > Applications need to stop DMA transfers and finish all the in-flight > pkts when in VM memory hot-plug case and async vhost is used. This > patch is to provide an unsafe API to drain in-flight pkts which are > submitted to DMA engine in vhost async data pa

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-07 Thread Ilya Maximets
On 6/7/21 2:08 PM, Ori Kam wrote: > > >> -Original Message- >> From: Andrew Rybchenko >> semantics >> >> On 6/7/21 11:28 AM, Thomas Monjalon wrote: >>> 03/06/2021 11:55, Andrew Rybchenko: On 6/3/21 12:18 PM, Ori Kam wrote: > Sorry but OVS got it right, this is the idea to send p

Re: [dpdk-dev] [PATCH 0/2] provide thread unsafe async registration functions

2021-06-07 Thread Maxime Coquelin
Hi Jiayu, On 6/7/21 10:07 AM, Hu, Jiayu wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Friday, June 4, 2021 3:25 PM >> To: Hu, Jiayu ; dev@dpdk.org >> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; >> Wang, Yinan >> Subject: Re: [PATCH 0/2] provide thread u

Re: [dpdk-dev] [RFC PATCH 0/3] Add PIE support for HQoS library

2021-06-07 Thread Liguzinski, WojciechX
> -Original Message- > From: Morten Brørup > Sent: Tuesday, May 25, 2021 10:57 AM > To: Liguzinski, WojciechX ; dev@dpdk.org; > Singh, Jasvinder ; Dumitrescu, Cristian > > Cc: Dharmappa, Savinay > Subject: RE: [dpdk-dev] [RFC PATCH 0/3] Add PIE support for HQoS library > > > From: d

Re: [dpdk-dev] code.dpdk.org bugfix releases

2021-06-07 Thread Ali Alnubani
Hi, > -Original Message- > From: Morten Brørup > Sent: Friday, June 4, 2021 12:14 PM > To: NBU-Contact-Thomas Monjalon ; Ali Alnubani > > Cc: dev@dpdk.org; david.march...@redhat.com > Subject: RE: [dpdk-dev] code.dpdk.org bugfix releases > > > From: dev [mailto:dev-boun...@dpdk.org] On

Re: [dpdk-dev] [RFC PATCH] ethdev: clarify flow action PORT ID semantics

2021-06-07 Thread Ori Kam
> -Original Message- > From: Andrew Rybchenko > semantics > > On 6/7/21 11:28 AM, Thomas Monjalon wrote: > > 03/06/2021 11:55, Andrew Rybchenko: > >> On 6/3/21 12:18 PM, Ori Kam wrote: > >>> Sorry but OVS got it right, this is the idea to send packet to the > >>> VF not to the represent

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Thomas Monjalon
06/06/2021 03:10, Honnappa Nagarahalli: > > The new library gpudev is for dealing with GPU from a DPDK application in a > > vendor-agnostic way. > > It would be good to explain how the application using GPU+DPDK would look > like. It can be anything to invent. We can give few more words saying i

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

2021-06-07 Thread Thomas Monjalon
07/06/2021 09:20, Wang, Haiyue: > From: Honnappa Nagarahalli > > If we keep CXL in mind, I would imagine that in the future the devices on > > PCIe could have their own > > local memory. May be some of the APIs could use generic names. For ex: > > instead of calling it as > > "rte_gpu_malloc" ma

  1   2   >