[PATCH v1 1/1] net/cnxk: program DF bit appropriately in vector mode

2022-08-31 Thread Hanumanth Pothula
In vector mode, DF bit is not programmed correctly, as the return value of vsetq_lane_u64() is ignored, which actually contains the updated value, leading HW to free mbufs though NIX_TX_OFFLOAD_MBUF_NOFF_F flag is set. Hence, save return value of vsetq_lane_u64() appropriately so that DF bit is pr

[PATCH v1 1/1] net/cnxk: resolve fail to set large Rx/Tx queues

2022-08-31 Thread Hanumanth Pothula
While configuring NIX, local variables 'nb_rxq' and 'nb_txq' are declared as 8bit variables, leading to an integer overflow when an application sends Rxq/Txq value greater than 255. Hence, declare local variables, 'nb_rxq' and 'nb_txq' as 16bit variable. Also, during the cleanup, make sure PFC tre

RE: [PATCH v2] net/ice: support original represented_port action

2022-08-31 Thread Xu, Ke1
> -Original Message- > From: Zhichao Zeng > Sent: Wednesday, August 31, 2022 1:42 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > Zhang, Qi Z > Subject: [PATCH v2] net/ice: support original represented_port action > > Add support to send matching traffic

[PATCH v2] net/mlx5: fix modify action attributes detection

2022-08-31 Thread Jiawei Wang
The driver splits the flow with sample action into two sub-flows, sub prefix flow and sub suffix flow. In the case of tunnel flow including a decap action, the driver should translate the inner as outer for actions coming after the decap action. In the case of flow splitting, the packet layers, us

[PATCH] net/i40e: fix incorrect VLAN stripping for QinQ

2022-08-31 Thread Kevin Liu
QinQ enable, when enable strip function, it is wrong to strip inner VLAN of double VLAN package. The correct action is outer VLAN is stripped. So, need to configure 'outer_vlan_flags' to update vsi. When enable QinQ strip function, need to set 'port_vlan_flags' to configure inner VLAN strip. Sign

RE: [PATCH v1 00/10] baseband/acc200

2022-08-31 Thread Chautru, Nicolas
Hi Tom, > -Original Message- > From: Tom Rix > Sent: Wednesday, August 31, 2022 5:28 PM > To: Chautru, Nicolas ; Maxime Coquelin > ; dev@dpdk.org; tho...@monjalon.net; > gak...@marvell.com; hemant.agra...@nxp.com; Vargas, Hernan > > Cc: m...@ashroe.eu; Richardson, Bruce ; > david.march.

RE: [PATCH v2] net/ice: support original represented_port action

2022-08-31 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Wednesday, August 31, 2022 1:42 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > Zhang, Qi Z > Subject: [PATCH v2] net/ice: support original represented_port action > > Add support to send matching traf

RE: [PATCH v3 0/5] support flow subscription

2022-08-31 Thread Zhang, Qi Z
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, August 31, 2022 8:54 PM > To: Zhang, Qi Z ; Wang, Jie1X ; > dev@dpdk.org > Cc: Yang, Qiming ; Wu, Jingjing > ; Xing, Beilei ; Yang, SteveX > > Subject: Re: [PATCH v3 0/5] support flow subscription > > On 8/31/2022 1:28 PM, Zh

Re: [PATCH v1 00/10] baseband/acc200

2022-08-31 Thread Tom Rix
On 8/31/22 3:37 PM, Chautru, Nicolas wrote: Hi Thomas, Tom, -Original Message- From: Tom Rix Sent: Wednesday, August 31, 2022 12:26 PM To: Chautru, Nicolas ; Maxime Coquelin ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com; Vargas, Hernan Cc: m...@ashr

Re: [PATCH v6 0/7] Introduce support for LoongArch architecture

2022-08-31 Thread zhoumin
Sincerely ping. On Sat, 27 Aug, 2022 at 16:59 +0800, Min Zhou wrote: Dear team, The following patch set is intended to support DPDK running on LoongArch architecture. LoongArch is the general processor architecture of Loongson Corporation and is a new RISC ISA, which is a bit like MIPS or RIS

Re: [PATCH v2] vhost: fix build

2022-08-31 Thread zhoumin
Sincerely ping. On 2022年08月29日 16:29, Min Zhou wrote: On CentOS 8 or Debian 10.4 systems using gcc 12.1 to cross compile DPDK, gcc shows a following warning which will cause build to fail when build is run with -werror: In function 'mbuf_to_desc', inlined from 'vhost_enqueue_async_packed'

RE: [PATCH v1 00/10] baseband/acc200

2022-08-31 Thread Chautru, Nicolas
Hi Thomas, Tom, > -Original Message- > From: Tom Rix > Sent: Wednesday, August 31, 2022 12:26 PM > To: Chautru, Nicolas ; Maxime Coquelin > ; dev@dpdk.org; tho...@monjalon.net; > gak...@marvell.com; hemant.agra...@nxp.com; Vargas, Hernan > > Cc: m...@ashroe.eu; Richardson, Bruce ; > davi

Re: [PATCH] MAINTAINERS: drop email address for Jan Viktorin

2022-08-31 Thread Thomas Monjalon
31/08/2022 21:30, Stephen Hemminger: > Going over list of active DPDK developers and MAINTAINERS > and noticed that Jan's email was not active. His response was: > >well, that rehivetech.com address is probably receiving but it's not >under my control for quite some time. Anyway, I can see

[PATCH] MAINTAINERS: drop email address for Jan Viktorin

2022-08-31 Thread Stephen Hemminger
Going over list of active DPDK developers and MAINTAINERS and noticed that Jan's email was not active. His response was: well, that rehivetech.com address is probably receiving but it's not under my control for quite some time. Anyway, I can see that there is Ruifeng Wang listed now as a

Re: [PATCH v1 00/10] baseband/acc200

2022-08-31 Thread Tom Rix
On 8/30/22 12:45 PM, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Tuesday, August 30, 2022 12:45 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com; t...@redhat.com; Vargas, Hernan Cc: m...@ash

Re: [PATCH v1 00/10] baseband/acc200

2022-08-31 Thread Thomas Monjalon
31/08/2022 18:43, Maxime Coquelin: > Hello Nicolas, > > On 8/30/22 21:45, Chautru, Nicolas wrote: > > Hi Maxime, > > > >> -Original Message- > >> From: Maxime Coquelin > >> Sent: Tuesday, August 30, 2022 12:45 AM > >> To: Chautru, Nicolas ; dev@dpdk.org; > >> tho...@monjalon.net; gak...@

RE: [Patch v6 01/18] net/mana: add basic driver, build environment and doc

2022-08-31 Thread Long Li
> Subject: Re: [Patch v6 01/18] net/mana: add basic driver, build environment > and doc > > > 在 2022/8/31 6:51, lon...@linuxonhyperv.com 写道: > > From: Long Li > > > > MANA is a PCI device. It uses IB verbs to access hardware through the > > kernel RDMA layer. This patch introduces build environm

Re: [PATCH v1 00/10] baseband/acc200

2022-08-31 Thread Maxime Coquelin
Hello Nicolas, On 8/30/22 21:45, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Tuesday, August 30, 2022 12:45 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com; t...@redhat.com; Vargas, Hernan C

Re: [PATCH] net/pcap: reduce time for stopping device

2022-08-31 Thread Stephen Hemminger
On Mon, 29 Aug 2022 11:50:29 + "Zhou, YidingX" wrote: > I draw a diagram to describe it more clearly > > fwrite fclose/fflush > fclose/fdatasync > ->| libc buffer |> |disk cache in RA

Re: [PATCH v3 1/2] net/memif: add a Rx fast path

2022-08-31 Thread Stephen Hemminger
On Mon, 22 Aug 2022 03:47:30 + Joyce Kong wrote: > + if (likely(mbuf_size >= pmd->cfg.pkt_buffer_size)) { > + struct rte_mbuf *mbufs[nb_pkts]; > + ret = rte_pktmbuf_alloc_bulk(mq->mempool, mbufs, nb_pkts); > + if (unlikely(ret < 0)) > +

Re: [PATCH V2 0/6] pipeline: make the hash function configurable per table

2022-08-31 Thread Stephen Hemminger
On Fri, 19 Aug 2022 19:52:19 + Cristian Dumitrescu wrote: > Also, since this flexibility has some performance cost, this patch set > also introduces key comparison functions specialized for each key size > value. Since the key size is fixed for each table, the key comparison > function can be

[dpdk-dev v2] crypto/openssl: fix HMAC output length

2022-08-31 Thread Kai Ji
This patch sets the max length of dst in OpenSSL 3.0 lib EVP MAC final routine to ensure enough space for the result. Fixes: 75adf1eae44f ("crypto/openssl: update HMAC routine with 3.0 EVP API") Signed-off-by: Kai Ji Acked-by: Fan Zhang --- drivers/crypto/openssl/rte_openssl_pmd.c | 2 +- 1 fi

Re: [PATCH 0/3] ethdev: remove deprecated Flow Director configuration

2022-08-31 Thread Ferruh Yigit
On 8/24/2022 10:42 AM, Ferruh Yigit wrote: On 8/3/2022 12:13 PM, Andrew Rybchenko wrote: Flow Director configuration fdir_conf was deprecated long time ago and was planned to be removed in 20.11. i40e, ixgbe, qede and txgbe driver maintainers are encouraged to review correspodning patches very

[PATCH] net/mlx5: fix modify action attributes detection

2022-08-31 Thread Jiawei Wang
The driver splits the flow with sample action into two sub-flows, sub prefix flow and sub suffix flow. In the case of tunnel flow including a decap action, the driver should translate the inner as outer for actions coming after the decap action. In the case of flow splitting, the packet layers, us

Re: [PATCH v3 0/5] support flow subscription

2022-08-31 Thread Ferruh Yigit
On 8/31/2022 1:28 PM, Zhang, Qi Z wrote: -Original Message- From: Ferruh Yigit Sent: Wednesday, August 31, 2022 6:57 PM To: Wang, Jie1X ; dev@dpdk.org Cc: Yang, Qiming ; Zhang, Qi Z ; Wu, Jingjing ; Xing, Beilei ; Yang, SteveX Subject: Re: [PATCH v3 0/5] support flow subscription On

RE: [PATCH v3 0/5] support flow subscription

2022-08-31 Thread Zhang, Qi Z
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, August 31, 2022 6:57 PM > To: Wang, Jie1X ; dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > ; Yang, SteveX > Subject: Re: [PATCH v3 0/5] support flow subscription > > On 8/30/2022 7:05 PM, Jie

Re: [PATCH v2 1/2] usertools/telemetry: move main to function

2022-08-31 Thread Bruce Richardson
On Wed, Aug 31, 2022 at 12:52:49PM +0100, Conor Walsh wrote: > In order to allow other tools to use the generic telemetry functions > provided within dpdk-telemetry move the "main" part of the code to > a function and only run this code if the tool has been called by a > user. This allows other scr

[PATCH v2 2/2] usertools/telemetry: add new telemetry client

2022-08-31 Thread Conor Walsh
A lot of DPDK apps do not provide feedback to their users while running, but many interesting metrics are available through the app's telemetry socket. Currently, the main way to view these metrics is to query them using the dpdk-telemetry.py script. This is useful to check a few values or to check

[PATCH v2 1/2] usertools/telemetry: move main to function

2022-08-31 Thread Conor Walsh
In order to allow other tools to use the generic telemetry functions provided within dpdk-telemetry move the "main" part of the code to a function and only run this code if the tool has been called by a user. This allows other scripts to use the tool as a module to prevent code duplication. Signed

Re: [PATCH v3 0/5] support flow subscription

2022-08-31 Thread Ferruh Yigit
On 8/30/2022 7:05 PM, Jie Wang wrote: Add support AVF can be able to subscribe a flow from PF. Hi Jie, Can you please provide more details, what does subscribing a flow from PF mean? Thanks, ferruh -- v3: * fix eth layer inputset. * rebase. v2: * split v1 patch 2/2 to 4 small patch

Re: [PATCH v1] net/nfp: compose firmware file name with new hwinfo

2022-08-31 Thread Ferruh Yigit
On 8/2/2022 8:55 AM, Chaoyong He wrote: From: Peng Zhang During initialization of the NFP driver, a file name for loading application firmware is composed using the NIC's AMDA information and port type (count and speed). E.g.: "nic_AMDA0145-1012_2x10.nffw". In practice there may be many varian

RE: [PATCH v7 2/7] bbdev: add device status info

2022-08-31 Thread Zhang, Mingshan
Acked-by: Mingshan Zhang > -Original Message- > From: Chautru, Nicolas > Sent: Tuesday, August 30, 2022 2:07 AM > To: dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; > hemant.agra...@nxp.com > Cc: maxime.coque...@redhat.com; t...@redhat.com; m...@ashroe.eu; > Richardson, Bruce ; >

RE: about RTL8168 PMD on ARM SoC

2022-08-31 Thread Hau
Hi Honnappa, Thanks for prompt reply. Currently our pmd driver still has other issues. After we fix it, we will submit our code as RFC. Thanks, Hau From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] Sent: Saturday, August 27, 2022 12:44 AM To: xing_wang ; dev@dpdk.org Cc: dali_che

[PATCH] net/virtio: fix crash when dev is configured twice

2022-08-31 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin

FW: [PATCH v1] buildtools: ensure the NUMA nodes are counted correct

2022-08-31 Thread Nole Zhang
> -Original Message- > From: Thomas Monjalon > Sent: 2022年8月29日 21:15 > To: Nole Zhang ; Chaoyong He > > Subject: Re: [PATCH v1] buildtools: ensure the NUMA nodes are counted > correct > > 29/08/2022 13:17, Nole Zhang: > > From: Thomas Monjalon > > > 02/08/2022 09:54, Chaoyong He:

[PATCH] net/virtio: fix crash when dev is configured twice

2022-08-31 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin

Re: [PATCH v1] net/nfp: compose firmware file name with new hwinfo

2022-08-31 Thread Niklas Söderlund
Hi all, A gentle ping on this patch. On 2022-08-02 15:55:03 +0800, Chaoyong He wrote: > From: Peng Zhang > > During initialization of the NFP driver, a file name for loading > application firmware is composed using the NIC's AMDA information and port > type (count and speed). E.g.: "nic_AMDA014