[RFC v1] net/i40e: support customerized VXLAN FDIR and inner RSS

2022-09-29 Thread Steve Yang
Usage: flow create ingress pattern / end actions / end Added following pattern_str: eth / ipv4 / udp / vxlan / ipv4 / udp eth / ipv4 / udp / vxlan / ipv4 / tcp eth / ipv4 / udp / vxlan / ipv4 / icmp eth / ipv4 / udp / vxlan / ipv6 / udp eth / ipv4 / udp / vxlan / ipv6 / tcp

Re: [PATCH] cryptodev: fix unduly newlines in logs

2022-09-29 Thread David Marchand
On Thu, Sep 29, 2022 at 2:05 PM Olivier Matz wrote: > > The CDEV_LOG_* macros already add a '\n' at the end of > the line. Remove it from format strings to avoid duplicated > newlines. > > Signed-off-by: Olivier Matz I had the exact same patch in store :-). We may want to backport it, but otherw

RE: [RFC, v1 0/6] graph enhancement for multi-core dispatch

2022-09-29 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Tuesday, September 20, 2022 5:33 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; Liang, > Cunming ; Wang, Haiyue > > Subject: Re: [RFC, v1 0/6] graph enhancement for multi-core dispatch > > On Thu,

RE: [PATCH v4] net/iavf: fix TSO offload for tunnel case

2022-09-29 Thread Xu, Ke1
> -Original Message- > From: Zhichao Zeng > Sent: Thursday, September 29, 2022 1:27 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zhang, Qi Z ; Zeng, > ZhichaoX ; Wu, Jingjing ; > Xing, Beilei ; Nicolau, Radu > ; Sinha, Abhijit ; Doherty, > Declan > Subject: [PATCH v4] n

RE: [PATCH] app/test: fix LACP handshake overtime

2022-09-29 Thread Zhang, Ke1X
Hi humin: Thanks for your comments, I test the case, I try to change for (i = 0; i < 30 && all_slaves_done == 0; ++i) to for (i = 0; i < 32 && all_slaves_done == 0; ++i) it works good, so I think 60 is enough. And the "conf.update_timeout_ms" seems to be used as a base unit to compute in many

RE: [PATCH v2 0/2] check illegal packets

2022-09-29 Thread Zhang, Qi Z
> -Original Message- > From: Liu, KevinX > Sent: Tuesday, September 27, 2022 3:15 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Xing, Beilei > ; Wu, Jingjing ; Liu, KevinX > > Subject: [PATCH v2 0/2] check illegal packets > > Check whether the data packet i

[PATCH v12 1/3] event/dlb2: add producer port probing optimization

2022-09-29 Thread Abdullah Sevincer
For best performance, applications running on certain cores should use the DLB device locally available on the same tile along with other resources. To allocate optimal resources, probing is done for each producer port (PP) for a given CPU and the best performing ports are allocated to producers. T

[PATCH v12 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-29 Thread Abdullah Sevincer
If producer thread is only acting as a bridge between NIC and DLB, then performance can be greatly improved by bypassing the fence instruction. DLB enqueue API calls memory fence once per enqueue burst. If prodcuer thread is just reading from NIC and sending to DLB without updating the read buffer

[PATCH v12 3/3] event/dlb2: optimize credit allocations

2022-09-29 Thread Abdullah Sevincer
This commit implements the changes required for using suggested port type hint feature. Each port uses different credit quanta based on port type specified using port configuration flags. Each port has separate quanta defined in dlb2_priv.h Producer and consumer ports will need larger quanta value

RE: [PATCH v6 09/14] baseband/acc: add LTE processing functions

2022-09-29 Thread Chautru, Nicolas
Thanks Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 27, 2022 6:43 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.com; > david.march...@redhat.com; step...@n

RE: [PATCH v6 11/14] baseband/acc: support interrupt

2022-09-29 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 27, 2022 6:50 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.com; > david.march...@redhat.com; step...@netwo

RE: [PATCH v6 10/14] baseband/acc: add support for FFT operations

2022-09-29 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 27, 2022 6:45 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.com; > david.march...@redhat.com; step...@netwo

[PATCH v7 10/14] baseband/acc: add support for FFT operations

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Add functions and capability for FFT processing Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 243 +- 1 file changed, 241 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc

[PATCH v7 14/14] baseband/acc: simplify meson dependency

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Removing some of libraries from the external dependency captured in meson build file. Signed-off-by: Nic Chautru --- drivers/baseband/acc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/meson.build b/drivers/baseband/acc/me

[PATCH v7 12/14] baseband/acc: add device status and vf2pf comms

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Add support to expose the device status seen from the host through v2pf mailbox communication. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc200_pmd.c | 64 --- 1 file changed, 47 insertions(+), 17 deletions(-

[PATCH v7 13/14] baseband/acc: add PF configure companion function

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Add configure function notably to configure the device from the PF within DPDK and bbdev-test (without external dependency). Signed-off-by: Nic Chautru --- app/test-bbdev/test_bbdev_perf.c | 71 drivers/baseband/acc/meson.build | 2 +- drivers/baseband/acc/r

[PATCH v7 11/14] baseband/acc: support interrupt

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Adding support for capability and functions for MSI/MSI-X interrupt and underlying information ring. Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 305 +- 1 file changed, 302 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH v7 08/14] baseband/acc: add LDPC processing functions

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Adding LDPC encode and decode processing functions. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 84 ++ drivers/baseband/acc/rte_acc200_pmd.c | 1384 - 2 files changed, 1464 insertions(+), 4 del

[PATCH v7 09/14] baseband/acc: add LTE processing functions

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Add functions and capability for 4G FEC Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 849 +- 1 file changed, 845 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc/rte_acc

[PATCH v7 07/14] baseband/acc: add queue configuration for ACC200

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Adding function to create and configure queues for the device. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 391 +- 2 files changed, 391 insertions(+

[PATCH v7 06/14] baseband/acc: add info get function for ACC200

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Add support for info_get to allow to query the device. Null capability exposed. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc200_pmd.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 239 ++ 2 files changed,

[PATCH v7 01/14] baseband/acc100: remove unused registers

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Cleaning up the enum files to remove un-used registers definitions. No functionality change. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc100/acc100_pf_enum.h | 939 --- 1 file changed, 939 deletions(-) diff --git a/dri

[PATCH v7 05/14] baseband/acc: add HW register definitions for ACC200

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Add registers list and structure to access the device. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc200_pf_enum.h | 108 + drivers/baseband/acc/acc200_pmd.h | 163 ++ drivers/baseband/acc/acc2

[PATCH v7 04/14] baseband/acc: introduce PMD for ACC200

2022-09-29 Thread Nicolas Chautru
This patch introduces stubs for device driver for the ACC200 integrated VRAN accelerator on SPR-EEC Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- MAINTAINERS | 3 + doc/guides/bbdevs/acc200.rst | 244 ++ doc/guides/b

[PATCH v7 03/14] baseband/acc: rename directory from acc100 to acc

2022-09-29 Thread Nicolas Chautru
From: Nic Chautru Using a common directory for the ACC PMDs Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- MAINTAINERS | 2 +- app/test-bbdev/meson.build| 4 ++-- app/test-bbdev/test_bbdev_perf.c

From: Nicolas Chautru

2022-09-29 Thread Nicolas Chautru
v7: Additional update in commits 9,10,11 based on review from Maxime. v5/v6:Updates based on Maxime reviews of v4/v5. Thanks. v4: Rebase suggested by Maxime to split first commit and update the order within the series. No functional change. v3: Putting together ACC100 and ACC200 PMDs in common ac

RE: [EXT] [PATCH v7 6/7] bbdev: add queue related warning and status information

2022-09-29 Thread Chautru, Nicolas
Hi Thomas, In absence of Ray (I did not see email from him for a some time) can you please advise on best option so that as to move on. I can either keep as is based on initial review with Ray, or replace _PADDED_MAX to _SIZE_MAX macro as suggested by Ferruh. I am happy either way as long as we

RE: [EXT] [PATCH v2 0/2] cryptodev: add SM3 and SM4 algorithms

2022-09-29 Thread Akhil Goyal
> ShangMi 4 (SM4) is a block cipher used in the Chinese National Standard for > Wireless LAN WAPI and also used with Transport Layer Security. > ShangMi 3 (SM3) is a cryptographic hash function used in the > Chinese National Standard. > > This patcheset adds both to the Cryptodev. > > v2: > - Fix

RE: [EXT] [PATCH v7 6/7] bbdev: add queue related warning and status information

2022-09-29 Thread Akhil Goyal
> > Thanks for your comment. > > To be totally honest I don't yet see how your suggestion would be better, > > but I > quite possibly miss something. I did not reply in line with your comments so > that > to try to be clearer and avoid spreading the argument to much. Ray and Bruce > feel free to

Re: [EXT] [PATCH v7 6/7] bbdev: add queue related warning and status information

2022-09-29 Thread Ferruh Yigit
On 9/27/2022 9:59 PM, Chautru, Nicolas wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Hi Ferruh, Thanks for your comment. To be totally honest I don't yet see h

RE: [PATCH v3] dma/cnxk: add support for CN10K DMA engine

2022-09-29 Thread Radha Chintakuntla
> -Original Message- > From: Radha Chintakuntla > Sent: Monday, September 19, 2022 2:44 PM > To: dev@dpdk.org; Thomas Monjalon > Cc: tho...@monjalon.net; Nithin Kumar Dabilpuram > ; Kiran Kumar Kokkilagadda > ; Sunil Kumar Kori ; Satha > Koteswara Rao Kottidi ; Veerasenareddy Burru > > Su

Re: [PATCH 4/4] ethdev: remove deprecated flow actions to copy TTL

2022-09-29 Thread Ajit Khaparde
On Thu, Sep 29, 2022 at 2:23 AM Andrew Rybchenko wrote: > > These actions are supported by no drivers. > > The patch breaks ABI. > > Signed-off-by: Andrew Rybchenko Acked-by: Ajit Khaparde smime.p7s Description: S/MIME Cryptographic Signature

Re: [PATCH 3/4] ethdev: remove deprecated flow action to set layer 3 TTL

2022-09-29 Thread Ajit Khaparde
On Thu, Sep 29, 2022 at 2:23 AM Andrew Rybchenko wrote: > > The action is supported by no drivers. > > The patch breaks ABI. > > Signed-off-by: Andrew Rybchenko Acked-by: Ajit Khaparde smime.p7s Description: S/MIME Cryptographic Signature

Re: [PATCH 2/4] ethdev: remove deprecated flow action to decrement MPLS TTL

2022-09-29 Thread Ajit Khaparde
On Thu, Sep 29, 2022 at 2:23 AM Andrew Rybchenko wrote: > > The action is supported by no drivers. > > The patch breaks ABI. > > Signed-off-by: Andrew Rybchenko Acked-by: Ajit Khaparde > --- > app/test-pmd/cmdline_flow.c | 9 - > doc/guides/prog_guide/rte_flow.rst

Re: [PATCH 1/4] ethdev: remove deprecated flow action to set MPLS TTL

2022-09-29 Thread Ajit Khaparde
On Thu, Sep 29, 2022 at 2:23 AM Andrew Rybchenko < andrew.rybche...@oktetlabs.ru> wrote: > > The action is supported by no drivers. > > The patch breaks ABI. > > Signed-off-by: Andrew Rybchenko Acked-by: Ajit Khaparde > --- > app/test-pmd/cmdline_flow.c | 27 --

[PATCH v11 3/3] event/dlb2: optimize credit allocations

2022-09-29 Thread Abdullah Sevincer
This commit implements the changes required for using suggested port type hint feature. Each port uses different credit quanta based on port type specified using port configuration flags. Each port has separate quanta defined in dlb2_priv.h Producer and consumer ports will need larger quanta value

[PATCH v11 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-29 Thread Abdullah Sevincer
If producer thread is only acting as a bridge between NIC and DLB, then performance can be greatly improved by bypassing the fence instruction. DLB enqueue API calls memory fence once per enqueue burst. If prodcuer thread is just reading from NIC and sending to DLB without updating the read buffer

[PATCH v11 1/3] event/dlb2: add producer port probing optimization

2022-09-29 Thread Abdullah Sevincer
For best performance, applications running on certain cores should use the DLB device locally available on the same tile along with other resources. To allocate optimal resources, probing is done for each producer port (PP) for a given CPU and the best performing ports are allocated to producers. T

[PATCH v4] ethdev: add send to kernel action

2022-09-29 Thread Michael Savisko
In some cases application may receive a packet that should have been received by the kernel. In this case application uses KNI or other means to transfer the packet to the kernel. With bifurcated driver we can have a rule to route packets matching a pattern (example: IPv4 packets) to the DPDK appl

RE: [PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-29 Thread Pei, Andy
Hi Chenbo, Thanks for your efforts. > -Original Message- > From: Xia, Chenbo > Sent: Thursday, September 29, 2022 4:38 PM > To: Pei, Andy ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v2] vhost: use dedicated variable for vhost message > result code > > > -Or

Re: [PATCH v7 0/3] add uncore api to be called through l3fwd-power

2022-09-29 Thread Hunt, David
Hi Tadhg, On 28/09/2022 14:30, Tadhg Kearney wrote: This is targeting 22.11 and aims to add an API to DPDK power library to allow uncore frequency adjustment. This will be called through the l3fwd-power app and gives the ability to set the minimum and maximum uncore frequency to both min, max o

RE: [PATCH] dumpcap: fix list interfaces

2022-09-29 Thread Pattan, Reshma
> -Original Message- > From: Stephen Hemminger > Sent: Monday, September 26, 2022 12:34 AM > To: dev@dpdk.org > Cc: Stephen Hemminger ; > konce...@gmail.com; Pattan, Reshma > Subject: [PATCH] dumpcap: fix list interfaces > Acked-by: Reshma Pattan

Re: [PATCH v7 1/4] eal: add lcore poll busyness telemetry

2022-09-29 Thread Kevin Laatz
On 26/09/2022 10:37, Konstantin Ananyev wrote: Hi Kevin, Currently, there is no way to measure lcore poll busyness in a passive way, without any modifications to the application. This patch adds a new EAL API that will be able to passively track core polling busyness. The poll busyness is calc

RE: [PATCH 3/3] ethdev: add structure for indirect AGE update

2022-09-29 Thread Ori Kam
Hi Michael, > -Original Message- > From: Michael Baum > Sent: Wednesday, 21 September 2022 17:54 > > Add a new structure for indirect AGE update. > > This new structure enables: > 1. Update timeout value. > 2. Stop AGE checking. > 3. Start AGE checking. > 4. restart AGE checking. > >

[PATCH v2] cryptodev: add trace points

2022-09-29 Thread Amit Prakash Shukla
Add trace points for cryptodev functions. Signed-off-by: Amit Prakash Shukla --- v2: - Removed trace changes for non-public API - Code changes to include API result in trace lib/cryptodev/cryptodev_trace_points.c | 138 + lib/cryptodev/rte_cryptodev.c | 319 +++-

[PATCH] mem: fix API doc about allocation on secondary processes

2022-09-29 Thread Olivier Matz
Since 10 years, memzone allocation is allowed on secondary processes. Now it's time to update the documentation accordingly. At the same time, fix mempool, mbuf and ring documentation which rely on memzones internally. Bugzilla ID: 1074 Fixes: 916e4f4f4e45 ("memory: fix for multi process support"

[PATCH] net/virtio: add queue and port ID in some logs

2022-09-29 Thread Olivier Matz
Add the queue id and/or the port id in some logs, so it is easier to understand what happens. Signed-off-by: Olivier Matz --- drivers/net/virtio/virtio_ethdev.c | 6 -- drivers/net/virtio/virtio_rxtx.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/virt

[PATCH] net/virtio: remove declaration of undefined function

2022-09-29 Thread Olivier Matz
This function is not defined, remove its declaration. Fixes: c1f86306a026 ("virtio: add new driver") Signed-off-by: Olivier Matz --- drivers/net/virtio/virtqueue.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h index d100ed

[PATCH] net/ixgbevf: fix promiscuous and allmulti

2022-09-29 Thread Olivier Matz
The configuration of allmulti and promiscuous modes conflicts together. For instance, if we enable promiscuous mode, then enable and disable allmulti, then the promiscuous mode is wrongly disabled. Fix this behavior by: - doing nothing when we set/unset allmulti if promiscuous mode is on - restort

[PATCH 2/2] net/ixgbe: fix unexpected VLAN Rx in promisc mode on VF

2022-09-29 Thread Olivier Matz
When the promiscuous mode is enabled on a VF, the IXGBE_VMOLR_VPE bit (VLAN Promiscuous Enable) is set. This means that the VF will receive packets whose VLAN is not the same as the VLAN of the VF. For instance, in this situation: ┌┐┌┐┌┐ ││││

[PATCH 1/2] net/ixgbe: fix bcast packets Rx on VF after promisc removal

2022-09-29 Thread Olivier Matz
After a VF requested to remove the promiscuous flag on an interface, the broadcast packets are not received anymore. This breaks some protocols like ARP. In ixgbe_update_vf_xcast_mode(), we should keep the IXGBE_VMOLR_BAM bit (Broadcast Accept) on promiscuous removal. This flag is already set by d

[PATCH 0/2] net/ixgbe: fixes related to promiscuous mode in VFs

2022-09-29 Thread Olivier Matz
These 2 patches have been submitted and accepted to the kernel (see links in the patches). They also apply smoothly to DPDK, however I didn't have the opportunity to test them with a PF managed by DPDK. Given this is exactly the same code, I think it could be applied anyway. Olivier Matz (2):

[PATCH] drivers/bus: set device NUMA node to unknown by default

2022-09-29 Thread Olivier Matz
The dev->device.numa_node field is set by each bus driver for every device it manages to indicate on which NUMA node this device lies. When this information is unknown, the assigned value is not consistent across the bus drivers. Set the default value to SOCKET_ID_ANY (-1) by all bus drivers when

[PATCH] cryptodev: fix unduly newlines in logs

2022-09-29 Thread Olivier Matz
The CDEV_LOG_* macros already add a '\n' at the end of the line. Remove it from format strings to avoid duplicated newlines. Signed-off-by: Olivier Matz --- lib/cryptodev/cryptodev_pmd.c | 4 ++-- lib/cryptodev/cryptodev_pmd.h | 2 +- lib/cryptodev/rte_cryptodev.c | 26 +---

[PATCH] devtools: fix checkpatches subject retrieval from stdin

2022-09-29 Thread Olivier Matz
When passing the patch to checkpatches.sh through stdin, the subject is retrieved by reading the input until a "Subject:" entry is found. The rest of the input is piped to checkpatch.pl. Since the "From:" line is before the "Subject:" line, it won't be sent to checkpatch.pl, which won't be able to

RE: [PATCH 0/4] ethdev: remove not supported flow actions

2022-09-29 Thread Ori Kam
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, 29 September 2022 12:23 > > Process deprecation notice to remove RTE flow API actions which > are not actually supported by any PMD. > > Andrew Rybchenko (4): > ethdev: remove deprecated flow action to set MPLS TTL > e

RE: [PATCH 2/3] ethdev: add queue-based API to report aged flow rules

2022-09-29 Thread Ori Kam
Hi Michael, > -Original Message- > From: Michael Baum > Sent: Wednesday, 21 September 2022 17:54 > > When application use queue-based flow rule management and operate the > same flow rule on the same queue, e.g create/destroy/query, API of > querying aged flow rules should also have queu

RE: [PATCH 1/3] ethdev: add strict queue to pre-configuration flow hints

2022-09-29 Thread Ori Kam
Hi Michael, > -Original Message- > From: Michael Baum > Sent: Wednesday, 21 September 2022 17:54 > > The data-path focused flow rule management can manage flow rules in more > optimized way than traditional one by using hints provided by > application in initialization phase. > > In add

[PATCH v4] net/vhost: support asynchronous data path

2022-09-29 Thread Yuan Wang
Vhost asynchronous data-path offloads packet copy from the CPU to the DMA engine. As a result, large packet copy can be accelerated by the DMA engine, and vhost can free CPU cycles for higher level functions. In this patch, we enable asynchronous data-path for vhostpmd. Asynchronous data path is e

RE: [PATCH v3] config/arm: add Graviton3

2022-09-29 Thread Juraj Linkeš
Reviewed-by: Juraj Linkeš > -Original Message- > From: Ruifeng Wang > Sent: Thursday, September 29, 2022 11:29 AM > To: vikto...@rehivetech.com; bruce.richard...@intel.com; Juraj Linkeš > ; vcchu...@amazon.com > Cc: dev@dpdk.org; honnappa.nagaraha...@arm.com; n...@arm.com; Ruifeng > Wang

[PATCH v5 2/2] mem: telemetry support for system memory information

2022-09-29 Thread Amit Prakash Shukla
Changes adds telemetry support to display system memory information, allocated using calls malloc, calloc, mmap, etc. This patch is based on malloc_info. This patch adds following endpoints: 1. /sysmem/sys_heap_list The commands displays the arenas currently in use. Example: --> /sysmem/sys_heap_l

[PATCH v5 1/2] mem: telemetry support for memseg and element information

2022-09-29 Thread Amit Prakash Shukla
Changes adds telemetry support to display memory occupancy in memseg and the information of the elements allocated from a memseg based on arguments provided by user. This patch adds following endpoints: 1. /eal/memseg_list_array The command displays the memseg list from which the memory has been a

RE: [EXT] Re: [PATCH v4 1/2] mem: telemetry support for memseg and element information

2022-09-29 Thread Amit Prakash Shukla
Hi David, Thanks for the feedback. I will do the suggested changes in next version of the patch. -Amit Shukla > -Original Message- > From: David Marchand > Sent: Thursday, September 29, 2022 2:00 PM > To: Amit Prakash Shukla ; Anatoly Burakov > ; bruce.richard...@intel.com; Ciara Power

RE: [PATCH] metrics: return error code on initialization failures

2022-09-29 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 29 September 2022 11.38 > > DPDK libraries should never call rte_exit on failure, so change the > function return type of rte_metrics_init to "int" to allow returning an > error code to the application rather than exiti

[PATCH v6 3/4] app/testpmd: add rxhdrs commands and parameters

2022-09-29 Thread Yuan Wang
Add command line parameter: --rxhdrs=eth,[eth-ipv4,eth-ipv4-udp] Set the protocol_hdr of segments to scatter packets on receiving if split feature is engaged. And the queues with BUFFER_SPLIT flag. Add interactive mode command: testpmd>set rxhdrs eth,eth-ipv4,eth-ipv4-udp (protocol sequence shoul

[PATCH v6 2/4] ethdev: introduce protocol hdr based buffer split

2022-09-29 Thread Yuan Wang
Currently, Rx buffer split supports length based split. With Rx queue offload RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT enabled and Rx packet segment configured, PMD will be able to split the received packets into multiple segments. However, length based buffer split is not suitable for NICs that do split b

[PATCH v6 4/4] net/ice: support buffer split in Rx path

2022-09-29 Thread Yuan Wang
This patch adds support for protocol based buffer split in normal Rx data paths. When the Rx queue is configured with specific protocol type, packets received will be directly split into protocol header and payload parts limitation of pmd. And the two parts will be put into different mempools. Cur

[PATCH v6 1/4] ethdev: introduce protocol header API

2022-09-29 Thread Yuan Wang
Add a new ethdev API to retrieve supported protocol headers of a PMD, which helps to configure protocol header based buffer split. Signed-off-by: Yuan Wang Signed-off-by: Xuan Ding Signed-off-by: Wenxuan Wu Reviewed-by: Andrew Rybchenko --- doc/guides/rel_notes/release_22_11.rst | 5 li

[PATCH v6 0/4] support protocol based buffer split

2022-09-29 Thread Yuan Wang
Protocol type based buffer split consists of splitting a received packet into several separate segments based on the packet content. It is useful in some scenarios, such as GPU acceleration. The splitting will help to enable true zero copy and hence improve the performance significantly. This patc

RE: [PATCH v2] mempool: fix get objects from mempool with cache

2022-09-29 Thread Morten Brørup
PING again. If the explanation and/or diff is too longwinded, just look at the resulting code instead - it is clean and easily readable. This patch should not be controversial, so I would like to see it merged into the coming LTS release. (Unlike my other mempool patch [3], which changes the b

[PATCH] eal: remove panic on remote launch failure

2022-09-29 Thread Bruce Richardson
Library functions should not cause the app to exit or panic. Replace the existing panic call in the EAL remote launch functions with an error code return instead. Signed-off-by: Bruce Richardson --- doc/guides/rel_notes/deprecation.rst | 3 --- lib/eal/common/eal_common_launch.c | 3 +-- lib/e

[PATCH v2 4/4] ethdev: add trace points for tm

2022-09-29 Thread Ankur Dwivedi
Adds trace points for rte_tm specific functions in ethdev lib. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 90 ++ lib/ethdev/rte_ethdev_trace.h| 283 +++ lib/ethdev/rte_tm.c | 40 + lib/ethdev/version.map

[PATCH v2 3/4] ethdev: add trace points for mtr

2022-09-29 Thread Ankur Dwivedi
Adds trace points for rte_mtr specific functions in ethdev lib. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 57 ++ lib/ethdev/rte_ethdev_trace.h| 176 +++ lib/ethdev/rte_mtr.c | 27 + lib/ethdev/version.map

[PATCH v2 2/4] ethdev: add trace points for flow

2022-09-29 Thread Ankur Dwivedi
Adds trace points for rte_flow specific functions in ethdev lib. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_trace_points.c | 117 + lib/ethdev/rte_ethdev_trace.h| 418 +++ lib/ethdev/rte_flow.c| 54 lib/ethdev/version.map

[PATCH v2 1/4] ethdev: add trace points

2022-09-29 Thread Ankur Dwivedi
Add trace points for ethdev functions. Signed-off-by: Ankur Dwivedi --- lib/ethdev/ethdev_private.c |3 + lib/ethdev/ethdev_trace_points.c | 435 +++ lib/ethdev/rte_ethdev.c | 148 lib/ethdev/rte_ethdev_trace.h| 1185 ++ lib/ethdev

[PATCH v2 0/4] add trace points in ethdev library

2022-09-29 Thread Ankur Dwivedi
This series adds trace points for functions in the ethdev library. The trace points are added in ethdev, flow, mtr and tm files. v2: - Made rte_eth_trace_call_rx_callbacks and rte_eth_trace_call_tx_callbacks as fastpath trace functions. - Moved some trace functions call to the end to capture

Re: 回复: [PATCH v2 0/3] Direct re-arming of buffers on receive side

2022-09-29 Thread Ferruh Yigit
On 9/29/2022 7:19 AM, Feifei Wang wrote: -邮件原件- 发件人: Feifei Wang 发送时间: Tuesday, September 27, 2022 10:48 AM 抄送: dev@dpdk.org; nd ; Feifei Wang 主题: [PATCH v2 0/3] Direct re-arming of buffers on receive side Currently, the transmit side frees the buffers into the lcore cache and the rece

[PATCH v2] rcu: fix build failure with debug dp log level

2022-09-29 Thread Anoob Joseph
Build fails if RTE_LOG_DP_LEVEL is set to RTE_LOG_DEBUG. Fix the same by including the required header. ../lib/rcu/rte_rcu_qsbr.h:678:40: error: expected ‘)’ before ‘PRIu64’ 678 |"%s: status: least acked token = %" PRIu64, |^~ Fixes: 30a1de1

[PATCH 3/3] doc: remove deprecation notices for event vector

2022-09-29 Thread pbhagavatula
From: Pavan Nikhilesh Deprecation notice targeted for v22.11 of event vector has been merged in the following commits, remove deprecation notices. Fixes: 7b12f13ce3ee ("eventdev: add element offset to event vector") Signed-off-by: Pavan Nikhilesh --- doc/guides/rel_notes/deprecation.rst | 7 -

[PATCH 2/3] eventdev: replace *u64s with u64s in event vector

2022-09-29 Thread pbhagavatula
From: Pavan Nikhilesh Replace *u64s with u64s in rte_event_vector structure as the *ptrs already serves the purpose of holding pointers and the intention of u64s is to hold array of uint64_t values. Signed-off-by: Pavan Nikhilesh --- doc/guides/rel_notes/deprecation.rst | 3 --- lib/eventdev/r

[PATCH 1/3] eventdev: add rte prefix to function declaration

2022-09-29 Thread pbhagavatula
From: Pavan Nikhilesh Add `rte` prefix to stop flush callback function pointer declaration to avoid conflicts with application functions, ``eventdev_stop_flush_t`` is renamed to ``rte_eventdev_stop_flush_t``. Signed-off-by: Pavan Nikhilesh --- doc/guides/rel_notes/deprecation.rst | 3 --- lib/

[PATCH v2 2/3] common/cnxk: add congestion management ROC APIs

2022-09-29 Thread skori
From: Sunil Kumar Kori Add congestion management RoC APIs. Depends-on: patch-24902 ("ethdev: support congestion management") Signed-off-by: Sunil Kumar Kori --- v1..v2: - Rebase on top of the dpdk-next-net-mrvl/for-next-net drivers/common/cnxk/roc_nix.h | 5 ++ drivers/common/cnxk/r

[PATCH v2 3/3] net/cnxk: support congestion management ops

2022-09-29 Thread skori
From: Sunil Kumar Kori Support congestion management. Depends-on: patch-24902 ("ethdev: support congestion management") Signed-off-by: Sunil Kumar Kori --- v1..v2: - Rebase on top of the dpdk-next-net-mrvl/for-next-net - Aligned with congestion management v3 spec doc/guides/nics/features/c

[PATCH v2 1/3] app/testpmd: support congestion management CLIs

2022-09-29 Thread skori
From: Sunil Kumar Kori Support congestion management CLIs. Depends-on: patch-24902 ("ethdev: support congestion management") Signed-off-by: Sunil Kumar Kori --- v1..v2: - Rebase on top of the dpdk-next-net-mrvl/for-next-net app/test-pmd/cmdline.c | 15 + app/test-pmd/c

[PATCH] metrics: return error code on initialization failures

2022-09-29 Thread Bruce Richardson
DPDK libraries should never call rte_exit on failure, so change the function return type of rte_metrics_init to "int" to allow returning an error code to the application rather than exiting the whole app on init failure. Signed-off-by: Bruce Richardson --- doc/guides/rel_notes/deprecation.rst |

[PATCH v3 1/1] ethdev: support congestion management

2022-09-29 Thread skori
From: Jerin Jacob NIC HW controllers often come with congestion management support on various HW objects such as Rx queue depth or mempool queue depth. Also, it can support various modes of operation such as RED (Random early discard), WRED etc on those HW objects. This patch adds a framework t

[PATCH v3] config/arm: add Graviton3

2022-09-29 Thread Ruifeng Wang
Add meson build configuration for Graviton3 platform with 64-bit ARM Neoverse V1 cores. Signed-off-by: Ruifeng Wang --- config/arm/arm64_graviton3_linux_gcc | 16 config/arm/meson.build | 20 2 files changed, 36 insertions(+) create mode 10064

[PATCH 4/4] ethdev: remove deprecated flow actions to copy TTL

2022-09-29 Thread Andrew Rybchenko
These actions are supported by no drivers. The patch breaks ABI. Signed-off-by: Andrew Rybchenko --- app/test-pmd/cmdline_flow.c | 18 -- doc/guides/prog_guide/rte_flow.rst| 35 --- doc/guides/rel_notes/deprecation.rst | 4 --- doc

[PATCH 3/4] ethdev: remove deprecated flow action to set layer 3 TTL

2022-09-29 Thread Andrew Rybchenko
The action is supported by no drivers. The patch breaks ABI. Signed-off-by: Andrew Rybchenko --- app/test-pmd/cmdline_flow.c | 26 --- doc/guides/prog_guide/rte_flow.rst| 17 doc/guides/rel_notes/deprecation.rst | 2 +- doc/gu

[PATCH 2/4] ethdev: remove deprecated flow action to decrement MPLS TTL

2022-09-29 Thread Andrew Rybchenko
The action is supported by no drivers. The patch breaks ABI. Signed-off-by: Andrew Rybchenko --- app/test-pmd/cmdline_flow.c | 9 - doc/guides/prog_guide/rte_flow.rst| 17 - doc/guides/rel_notes/deprecation.rst | 2 +- doc/guides/

[PATCH 1/4] ethdev: remove deprecated flow action to set MPLS TTL

2022-09-29 Thread Andrew Rybchenko
The action is supported by no drivers. The patch breaks ABI. Signed-off-by: Andrew Rybchenko --- app/test-pmd/cmdline_flow.c | 27 --- doc/guides/prog_guide/rte_flow.rst| 17 doc/guides/rel_notes/deprecation.rst | 2 +- doc/gu

[PATCH 0/4] ethdev: remove not supported flow actions

2022-09-29 Thread Andrew Rybchenko
Process deprecation notice to remove RTE flow API actions which are not actually supported by any PMD. Andrew Rybchenko (4): ethdev: remove deprecated flow action to set MPLS TTL ethdev: remove deprecated flow action to decrement MPLS TTL ethdev: remove deprecated flow action to set layer 3

RE: [PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-29 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Monday, September 26, 2022 2:58 PM > To: Pei, Andy ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v2] vhost: use dedicated variable for vhost message > result code > > > -Original Message- > > From: Pei, Andy

RE: [PATCH] examples/vhost: fix use after free

2022-09-29 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Thursday, September 22, 2022 9:47 PM > To: Ma, WenwuX ; maxime.coque...@redhat.com; > dev@dpdk.org > Cc: Hu, Jiayu ; Wang, Yinan ; He, > Xingguang ; Ling, WeiX ; Wang, > YuanX ; sta...@dpdk.org > Subject: RE: [PATCH] examples/vhost: fix use

Re: [PATCH 0/3] ethdev: AGE action preparation

2022-09-29 Thread Andrew Rybchenko
@Ori, could you take a look at the patch series. On 9/21/22 17:54, Michael Baum wrote: RFC's: https://patchwork.dpdk.org/project/dpdk/patch/7a45693f478b1b721b4e05131141b526185a175c.1654063912.git.jack...@nvidia.com/ https://patchwork.dpdk.org/project/dpdk/patch/608febf8d5d3c434a1eddb2e56f425ebbd

RE: [PATCH] vhost: reduce memory footprint when IOMMU is disabled

2022-09-29 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Thursday, September 22, 2022 9:09 PM > To: David Marchand ; dev@dpdk.org > Cc: Maxime Coquelin > Subject: RE: [PATCH] vhost: reduce memory footprint when IOMMU is disabled > > > -Original Message- > > From: David Marchand > > Sent

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

2022-09-29 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Wednesday, September 28, 2022 12:47 PM > To: Alexander Chernavin ; > maxime.coque...@redhat.com > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH v3] net/virtio: fix crash when dev is configured twice > > > -Original Message

RE: [PATCH] vhost: remove deprecated helpers

2022-09-29 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Wednesday, September 28, 2022 12:43 PM > To: David Marchand ; dev@dpdk.org > Cc: Maxime Coquelin ; Ray Kinsella > > Subject: RE: [PATCH] vhost: remove deprecated helpers > > > -Original Message- > > From: David Marchand > > Sent:

Re: [PATCH v4 1/2] mem: telemetry support for memseg and element information

2022-09-29 Thread David Marchand
Added more people involved in the dpdk mem allocator, and telemetry. On Wed, May 25, 2022 at 12:34 PM Amit Prakash Shukla wrote: > > Changes adds telemetry support to display memory occupancy > in memseg and the information of the elements allocated from > a memseg based on arguments provided by

Re: [EXT] Re: [PATCH] rcu: fix build failure with debug dp log level

2022-09-29 Thread Bruce Richardson
On Thu, Sep 29, 2022 at 03:25:44AM +, Anoob Joseph wrote: > Hi Stephen, > > Please see inline. > > Thanks, > Anoob > > > -Original Message- > > From: Stephen Hemminger > > Sent: Thursday, September 29, 2022 3:51 AM > > To: Anoob Joseph > > Cc: Honnappa Nagarahalli ; Jerin Jacob > >

  1   2   >