Re: [dpdk-dev] [dpdk-ci] Fedora Rawhide Meson Compile Testing - DPDK Compile Warning

2020-10-01 Thread David Marchand
On Thu, Oct 1, 2020 at 8:24 PM Brandon Lo wrote: > We have successfully added Fedora Rawhide to our production pipeline > for Meson compile testing. > The image for the container will be updated on a weekly basis. > > The version of GCC that it is currently running (10.2) catches that > the driver

Re: [dpdk-dev] [PATCH v2] pci: support both PIO and MMIO BAR for legacy virtio on x86

2020-10-01 Thread 谢华伟(此时此刻)
On 2020/10/1 18:22, Burakov, Anatoly wrote: On 30-Sep-20 3:59 PM, 谢华伟(此时此刻) wrote:  From c13f981e287254cd0877cc7b98ee2dd7b80c3b69 Mon Sep 17 00:00:00 2001 From: "huawei.xhw" Date: Wed, 30 Sep 2020 22:37:03 +0800 Subject: [PATCH v2] pci:  support both PIO and MMIO BAR for legacy virtio on   x

Re: [dpdk-dev] [PATCH] hash: build on Windows

2020-10-01 Thread Kadam, Pallavi
On 10/1/2020 8:30 AM, Tal Shnaiderman wrote: From: Ophir Munk Build the lib for Windows. Export the needed function from eal. Signed-off-by: Ophir Munk Signed-off-by: Tal Shnaiderman --- Tested-by: Pallavi Kadam Acked-by: Pallavi Kadam

[dpdk-dev] [PATCH v11 10/10] baseband/acc100: add configure function

2020-10-01 Thread Nicolas Chautru
Add configure function to configure the PF from within the bbdev-test itself without external application configuration the device. Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- app/test-bbdev/test_bbdev_perf.c | 71 +++ doc/guides/rel_notes/release_20_11.rst

[dpdk-dev] [PATCH v11 07/10] baseband/acc100: add support for 4G processing

2020-10-01 Thread Nicolas Chautru
Adding capability for 4G encode and decoder processing Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- doc/guides/bbdevs/features/acc100.ini|4 +- drivers/baseband/acc100/rte_acc100_pmd.c | 1007 +++--- 2 files changed, 936 insertions(+), 75 deletions(-

[dpdk-dev] [PATCH v11 08/10] baseband/acc100: add interrupt support to PMD

2020-10-01 Thread Nicolas Chautru
Adding capability and functions to support MSI interrupts, call backs and inforing. Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- drivers/baseband/acc100/rte_acc100_pmd.c | 307 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 16 ++ 2 files changed, 320 i

[dpdk-dev] [PATCH v11 01/10] drivers/baseband: add PMD for ACC100

2020-10-01 Thread Nicolas Chautru
Add stubs for the ACC100 PMD Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- doc/guides/bbdevs/acc100.rst | 228 + doc/guides/bbdevs/features/acc100.ini | 14 ++ doc/guides/bbdevs/index.rst| 1 + drivers

[dpdk-dev] [PATCH v11 09/10] baseband/acc100: add debug function to validate input

2020-10-01 Thread Nicolas Chautru
Debug functions to validate the input API from user Only enabled in DEBUG mode at build time Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao Reviewed-by: Tom Rix --- drivers/baseband/acc100/rte_acc100_pmd.c | 436 +++ 1 file changed, 436 insertions(+) diff --

[dpdk-dev] [PATCH v11 04/10] baseband/acc100: add queue configuration

2020-10-01 Thread Nicolas Chautru
Adding function to create and configure queues for the device. Still no capability. Signed-off-by: Nicolas Chautru Reviewed-by: Rosen Xu Acked-by: Liu Tianjiao --- drivers/baseband/acc100/rte_acc100_pmd.c | 445 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 45 +++

[dpdk-dev] [PATCH v11 06/10] baseband/acc100: add HARQ loopback support

2020-10-01 Thread Nicolas Chautru
Additional support for HARQ memory loopback Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao Reviewed-by: Tom Rix --- drivers/baseband/acc100/rte_acc100_pmd.c | 159 ++- 1 file changed, 155 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc100/rte

[dpdk-dev] [PATCH v11 02/10] baseband/acc100: add register definition file

2020-10-01 Thread Nicolas Chautru
Add in the list of registers for the device and related HW specs definitions. Signed-off-by: Nicolas Chautru Reviewed-by: Rosen Xu Acked-by: Liu Tianjiao --- drivers/baseband/acc100/acc100_pf_enum.h | 1068 ++ drivers/baseband/acc100/acc100_vf_enum.h | 73 ++ driv

[dpdk-dev] [PATCH v11 05/10] baseband/acc100: add LDPC processing functions

2020-10-01 Thread Nicolas Chautru
Adding LDPC decode and encode processing operations Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao Acked-by: Dave Burley --- doc/guides/bbdevs/features/acc100.ini|8 +- drivers/baseband/acc100/rte_acc100_pmd.c | 1621 +- drivers/baseband/acc100/rte_ac

[dpdk-dev] [PATCH v11 03/10] baseband/acc100: add info get function

2020-10-01 Thread Nicolas Chautru
Add in the "info_get" function to the driver, to allow us to query the device. No processing capability are available yet. Linking bbdev-test to support the PMD with null capability. Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- app/test-bbdev/meson.build | 3 + driv

[dpdk-dev] [PATCH v11 00/10] bbdev PMD ACC100

2020-10-01 Thread Nicolas Chautru
v11: Addtional updates based on Tom + Maxime review comments on v9 and v10. Thanks v10: Updates based on Tom Rix valuable review comments. Notably doc clarifiction, #define names updates, few magic numbers left, stricter error handling and few valuable coding suggestions. Thanks v9: moved the re

Re: [dpdk-dev] [PATCH v8 01/13] ethdev: introduce sample action for rte flow

2020-10-01 Thread Ajit Khaparde
On Sat, Sep 26, 2020 at 11:20 PM Jiawei Wang wrote: > > When using full offload, all traffic will be handled by the HW, and > forwarded to the requested VF or wire and the control application does > not see this traffic anymore. So there's a need for an action that > enables the control applicatio

[dpdk-dev] [PATCH 1/2] lib/ethdev: replace full barrier with relaxed barrier

2020-10-01 Thread Honnappa Nagarahalli
From: Phil Yang While registering the call back functions full write barrier can be replaced with one-way write barrier. Signed-off-by: Phil Yang Signed-off-by: Honnappa Nagarahalli Reviewed-by: Ruifeng Wang --- lib/librte_ethdev/rte_ethdev.c | 9 ++--- 1 file changed, 6 insertions(+), 3

[dpdk-dev] [PATCH 2/2] lib/ethdev: fix memory ordering for call back functions

2020-10-01 Thread Honnappa Nagarahalli
Call back functions are registered on the control plane. They are accessed from the data plane. Hence, correct memory orderings should be used to avoid race conditions. Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") Fixes: c8231c63ddcb ("ethdev: insert Rx callback as head of

Re: [dpdk-dev] [PATCH] ethdev: check if queues are allocated before getting info

2020-10-01 Thread Ajit Khaparde
On Thu, Oct 1, 2020 at 11:14 AM Ferruh Yigit wrote: > > A crash is detected when '--txpkts=#' parameter provided to the testpmd, > this is because queue information is requested before queues have been > allocated. > > Adding check to queue info APIs > ('rte_eth_rx_queue_info_get()' & 'rte_eth_tx_

[dpdk-dev] [PATCH v5] windows/netuio: add Windows NetUIO kernel driver

2020-10-01 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile The Windows netuio kernel driver provides the DPDK userspace application with direct access to hardware, by mapping the HW registers in userspace and allowing read/write operations from/to the device configuration space. Two IOCTLs are defined by the netuio interface: * IO

[dpdk-dev] [PATCH] net/qede: fix get link details

2020-10-01 Thread Rasesh Mody
This patch fixes get current link details, without this change the link details can be inaccurate if proper lock is not acquired. Fixes: 739a5b2f2b49 ("net/qede/base: use passed ptt handler") Cc: sta...@dpdk.org Reported-by: Ferruh Yigit Signed-off-by: Rasesh Mody Signed-off-by: Igor Russkikh

[dpdk-dev] [PATCH] net/bnxt: support fast mbuf free

2020-10-01 Thread Lance Richardson
Add support for DEV_TX_OFFLOAD_MBUF_FAST_FREE to bnxt vector mode transmit. This offload may be enabled only when multi-segment transmit is not needed, all transmitted mbufs for a given queue will be allocated from the same pool, and all transmitted mbufs will have a reference count of 1. Since th

Re: [dpdk-dev] [PATCH] maintainers: New Reviewer entry type added to MAINTAINERS

2020-10-01 Thread Thomas Monjalon
01/10/2020 23:22, Chautru, Nicolas: > From: t...@redhat.com > > From: Tom Rix > > > > Copied from the Linux kernel MAINTAINERS file. > > A Reviewer is designated person who wishes to review changes in areas of > > interest. > > > > Added self as Reviewer for baseband. > > > > I am a Linux kern

Re: [dpdk-dev] [PATCH v9 07/10] baseband/acc100: add support for 4G processing

2020-10-01 Thread Chautru, Nicolas
Hi Tom, > From: Tom Rix > On 9/30/20 12:10 PM, Chautru, Nicolas wrote: > > Hi Tom, > > > >> From: Tom Rix > >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: > >>> Adding capability for 4G encode and decoder processing > >>> > >>> Signed-off-by: Nicolas Chautru > >>> Acked-by: Liu Tianjiao > >>> -

Re: [dpdk-dev] [PATCH v10 10/10] baseband/acc100: add configure function

2020-10-01 Thread Maxime Coquelin
On 10/1/20 9:50 PM, Chautru, Nicolas wrote: > Hi Maxime, > >> From: Maxime Coquelin >> On 10/1/20 5:36 PM, Chautru, Nicolas wrote: >>> Hi Maxime, From: Maxime Coquelin Hi Nicolas, On 10/1/20 5:14 AM, Nicolas Chautru wrote: > diff --git > a/drivers/baseband/acc100/

Re: [dpdk-dev] [PATCH] doc: add Vhost and Virtio updates to release note

2020-10-01 Thread Maxime Coquelin
On 10/1/20 11:33 PM, Thomas Monjalon wrote: > 01/10/2020 14:53, Thomas Monjalon: >> 01/10/2020 13:45, Maxime Coquelin: >>> >>> On 10/1/20 1:42 PM, Thomas Monjalon wrote: 01/10/2020 12:36, Maxime Coquelin: > Signed-off-by: Maxime Coquelin > --- > doc/guides/rel_notes/release_20

Re: [dpdk-dev] [PATCH] doc: add Vhost and Virtio updates to release note

2020-10-01 Thread Thomas Monjalon
01/10/2020 14:53, Thomas Monjalon: > 01/10/2020 13:45, Maxime Coquelin: > > > > On 10/1/20 1:42 PM, Thomas Monjalon wrote: > > > 01/10/2020 12:36, Maxime Coquelin: > > >> Signed-off-by: Maxime Coquelin > > >> --- > > >> doc/guides/rel_notes/release_20_11.rst | 10 ++ > > >> 1 file change

Re: [dpdk-dev] [PATCH v2 02/11] ethdev: add IPv6 fragment extension header item

2020-10-01 Thread Stephen Hemminger
On Fri, 2 Oct 2020 00:14:59 +0300 Dekel Peled wrote: > diff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h > index 5b5bed2..1443e6a 100644 > --- a/lib/librte_ethdev/rte_flow.h > +++ b/lib/librte_ethdev/rte_flow.h > @@ -368,6 +368,13 @@ enum rte_flow_item_type { > RTE_F

Re: [dpdk-dev] [PATCH] maintainers: New Reviewer entry type added to MAINTAINERS

2020-10-01 Thread Chautru, Nicolas
Hi Tom, Thanks for the help. Note that they are a few other BBDEV patches in flight for 20.11 on top of the acc100 PMD that you may want to be aware of. https://patches.dpdk.org/project/dpdk/list/?series=&submitter=chautru&state=&q=&archive=&delegate= Acked-by: Nicolas Chautru > -Origin

[dpdk-dev] [PATCH v2 11/11] net/mlx5: enforce limitation on IPv6 next proto

2020-10-01 Thread Dekel Peled
Due to PRM requirement, the IPv6 header item 'proto' field, indicating the next header protocol, should not be set as extension header. This patch adds the relevant validation, and documents the limitation. Signed-off-by: Dekel Peled --- doc/guides/nics/mlx5.rst | 7 +++ drivers/net/mlx

[dpdk-dev] [PATCH v2 10/11] doc: update release notes for MLX5 L3 frag support

2020-10-01 Thread Dekel Peled
This patch updates 20.11 release notes with the changes included in patches of this series: 1) MLX5 support of matching on IPv4/IPv6 fragmented/non-fragmented packets. 2) ABI change in ethdev struct rte_flow_item_ipv6. Signed-off-by: Dekel Peled --- doc/guides/rel_notes/release_20_11.rst | 10

[dpdk-dev] [PATCH v2 07/11] net/mlx5: support match on IPv4 fragment packets

2020-10-01 Thread Dekel Peled
This patch adds to MLX5 PMD the support of matching on IPv4 fragmented and non-fragmented packets, using the IPv4 header fragment_offset field. Signed-off-by: Dekel Peled --- drivers/net/mlx5/mlx5_flow.c | 48 drivers/net/mlx5/mlx5_flow.h | 10 +++ drivers/net/mlx5/mlx

[dpdk-dev] [PATCH v2 08/11] net/mlx5: support match on IPv6 fragment packets

2020-10-01 Thread Dekel Peled
This patch adds to MLX5 PMD the support of matching on IPv6 fragmented and non-fragmented packets, using the new field frag_ext_exist, added to rte_flow following RFC [1]. [1] https://mails.dpdk.org/archives/dev/2020-August/177257.html Signed-off-by: Dekel Peled --- drivers/net/mlx5/mlx5_flow_d

[dpdk-dev] [PATCH v2 09/11] net/mlx5: support match on IPv6 fragment ext. item

2020-10-01 Thread Dekel Peled
rte_flow update, following RFC [1], added to ethdev the rte_flow item ipv6_frag_ext. This patch adds to MLX5 PMD the option to match on this item type. [1] http://mails.dpdk.org/archives/dev/2020-March/160255.html Signed-off-by: Dekel Peled --- drivers/net/mlx5/mlx5_flow.h| 4 + drivers/n

[dpdk-dev] [PATCH v2 06/11] net/mlx5: remove handling of ICMP fragmented packets

2020-10-01 Thread Dekel Peled
Commit [1] forced setting of match on 'frag' bit mask 1 and value 0. Previous patch in this series added support of match on fragmented and non-fragmented packets on L3 items, so this setting is now redundant. This patch removes the changes done in [1]. [1] commit 85407db9f60d ("net/mlx5: fix mat

[dpdk-dev] [PATCH v2 04/11] app/testpmd: support IPv6 fragments

2020-10-01 Thread Dekel Peled
rte_flow update, following RFC [1], introduced frag_ext_exist field for IPv6 header item, used to indicate match on fragmented/non-fragmented packets. This patch updates testpmd CLI to support the new field. To match on non-fragmented IPv6 packets, need to use pattern: ... ipv6 frag_ext_exist spec

[dpdk-dev] [PATCH v2 05/11] app/testpmd: support IPv6 fragment extension item

2020-10-01 Thread Dekel Peled
rte_flow update, following RFC [1], added to ethdev the rte_flow item ipv6_frag_ext. This patch updates testpmd CLI to support the new item and its fields. To match on fragmented IPv6 packets, this item is added to pattern: ... ipv6 / ipv6_frag_ext ... [1] http://mails.dpdk.org/archives/dev/2020-

[dpdk-dev] [PATCH v2 03/11] app/testpmd: support IPv4 fragments

2020-10-01 Thread Dekel Peled
This patch updates testpmd CLI to support fragment_offset field of IPv4 header item. To match on non-fragmented IPv4 packets, need to use pattern: ... ipv4 fragment_offset spec 0 fragment_offset mask 0x3fff ... To match on fragmented IPv4 packets, need to use pattern: ... ipv4 fragment_offset spec

[dpdk-dev] [PATCH v2 02/11] ethdev: add IPv6 fragment extension header item

2020-10-01 Thread Dekel Peled
Applications handling fragmented IPv6 packets need to match on IPv6 fragment extension header, in order to identify the fragments order and location in the packet. This patch introduces the IPv6 fragment extension header item, proposed in [1]. Relevant definitions are moved from lib/librte_ip_frag

[dpdk-dev] [PATCH v2 01/11] ethdev: add extensions attributes to IPv6 item

2020-10-01 Thread Dekel Peled
Using the current implementation of DPDK, an application cannot match on IPv6 packets, based on the existing extension headers, in a simple way. Field 'Next Header' in IPv6 header indicates type of the first extension header only. Following extension headers can't be identified by inspecting the I

[dpdk-dev] [PATCH v2 00/11] support match on L3 fragmented packets

2020-10-01 Thread Dekel Peled
This series implements support of matching on packets based on the fragmentation attribute of the packet, i.e. if packet is a fragment of a larger packet, or the opposite - packet is not a fragment. In ethdev, add API to support IPv6 extension headers, and specifically the IPv6 fragment extension

Re: [dpdk-dev] [PATCH v9 10/10] baseband/acc100: add configure function

2020-10-01 Thread Chautru, Nicolas
Hi Tom, > From: Tom Rix > On 9/30/20 3:54 PM, Chautru, Nicolas wrote: > > Hi Tom, > > > >> From: Tom Rix > >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: > >>> Add configure function to configure the PF from within the > >>> bbdev-test itself without external application configuration the device

Re: [dpdk-dev] [PATCH v9 08/10] baseband/acc100: add interrupt support to PMD

2020-10-01 Thread Chautru, Nicolas
Hi Tom, > From: Tom Rix > On 9/30/20 12:45 PM, Chautru, Nicolas wrote: > > Hi Tom, > > > >> From: Tom Rix > >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: > >>> Adding capability and functions to support MSI interrupts, call > >>> backs and inforing. > >>> > >>> Signed-off-by: Nicolas Chautru >

Re: [dpdk-dev] [PATCH v10 03/10] baseband/acc100: add info get function

2020-10-01 Thread Chautru, Nicolas
Hi Maxime, Ok for all. I can rename. > From: Maxime Coquelin > On 10/1/20 5:14 AM, Nicolas Chautru wrote: > > Add in the "info_get" function to the driver, to allow us to query the > > device. > > No processing capability are available yet. > > Linking bbdev-test to support the PMD with null ca

Re: [dpdk-dev] [PATCH v10 04/10] baseband/acc100: add queue configuration

2020-10-01 Thread Chautru, Nicolas
Hi Maxime, > From: Maxime Coquelin > On 10/1/20 5:14 AM, Nicolas Chautru wrote: > > Adding function to create and configure queues for the device. Still > > no capability. > > > > Signed-off-by: Nicolas Chautru > > Reviewed-by: Rosen Xu > > Acked-by: Liu Tianjiao > > --- > > drivers/baseband

Re: [dpdk-dev] [PATCH v10 10/10] baseband/acc100: add configure function

2020-10-01 Thread Chautru, Nicolas
Hi Maxime, > From: Maxime Coquelin > On 10/1/20 5:36 PM, Chautru, Nicolas wrote: > > Hi Maxime, > >> From: Maxime Coquelin > >> Hi Nicolas, > >> > >> On 10/1/20 5:14 AM, Nicolas Chautru wrote: > >>> diff --git > >>> a/drivers/baseband/acc100/rte_pmd_bbdev_acc100_version.map > >>> b/drivers/base

[dpdk-dev] [PATCH v2 2/2] app/testpmd: support query of AGE action

2020-10-01 Thread Dekel Peled
Following ethdev update [1], this patch adds CLI support to query information related to AGE action. [1] https://mails.dpdk.org/archives/dev/2020-September/183699.html Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- app/test-pmd/config.c | 12 1 file changed, 12 insertions(+)

[dpdk-dev] [PATCH v2 1/2] ethdev: support query of AGE action

2020-10-01 Thread Dekel Peled
Existing API supports AGE action to monitor the aging of a flow. This patch implements RFC [1], introducing the response format for query of an AGE action. Application will be able to query the AGE action state. The response will be returned in the format implemented here. [1] https://mails.dpdk.o

[dpdk-dev] [PATCH v2 0/2] support query of AGE action

2020-10-01 Thread Dekel Peled
This series includes change in ethdev to support a new query response format, and change in testpmd CLI using it. --- v2: enclose 2 separate patches in series. (no change in patch contents). --- Dekel Peled (2): ethdev: support query of AGE action app/testpmd: support query of AGE action

[dpdk-dev] [PATCH v2] ethdev: add VLAN attributes to ETH and VLAN items

2020-10-01 Thread Dekel Peled
From: Dekel Peled This patch implements the change proposes in RFC [1], adding dedicated fields to ETH and VLAN items structs, to clearly define the required characteristic of a packet, and enable precise match criteria. [1] https://mails.dpdk.org/archives/dev/2020-August/177536.html Signed-off

[dpdk-dev] [PATCH] ethdev: add VLAN attributes to ETH and VLAN items

2020-10-01 Thread Dekel Peled
From: Dekel Peled This patch implements the change proposes in RFC [1], adding dedicated fields to ETH and VLAN items structs, to clearly define the required characteristic of a packet, and enable precise match criteria. [1] https://mails.dpdk.org/archives/dev/2020-August/177536.html Signed-off

[dpdk-dev] [PATCH] ethdev: check if queues are allocated before getting info

2020-10-01 Thread Ferruh Yigit
A crash is detected when '--txpkts=#' parameter provided to the testpmd, this is because queue information is requested before queues have been allocated. Adding check to queue info APIs ('rte_eth_rx_queue_info_get()' & 'rte_eth_tx_queue_info_get') to protect against similar cases. Fixes: ba2fb4f

Re: [dpdk-dev] [PATCH v7 00/42] Pipeline alignment with the P4 language

2020-10-01 Thread Dumitrescu, Cristian
> -Original Message- > From: David Marchand > Sent: Thursday, October 1, 2020 6:16 PM > To: Dumitrescu, Cristian > Cc: dev ; Thomas Monjalon > Subject: Re: [PATCH v7 00/42] Pipeline alignment with the P4 language > > On Thu, Oct 1, 2020 at 12:20 PM Cristian Dumitrescu > wrote: > > >

Re: [dpdk-dev] [PATCH v7 00/42] Pipeline alignment with the P4 language

2020-10-01 Thread David Marchand
On Thu, Oct 1, 2020 at 12:20 PM Cristian Dumitrescu wrote: > > This patch set introduces a new pipeline type that combines the DPDK > performance with the flexibility of the P4-16 language[1]. The new API > can be used either by itself to code a complete software switch (SWX) > or data plane app,

[dpdk-dev] [PATCH v2] net/ring: fix unchecked return value

2020-10-01 Thread Kevin Laatz
Add a check for the return value of the sscanf call in parse_internal_args(), returning an error if we don't get the expected result. Coverity issue: 362049 Fixes: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API") Cc: sta...@dpdk.org Signed-off-by: Kevin Laatz --- v2: added consumed c

[dpdk-dev] [PATCH 2/2] raw/octeontx2_dma: Add support in case of multiple DPI blocks

2020-10-01 Thread Radha Mohan Chintakuntla
This patch adds support for multiple DPI blocks by removing the fixed macro that was writing to same sysfs entry for different DPI blocks. Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Satananda Burla --- drivers/raw/octeontx2_dma/otx2_dpi_msg.c| 18 +- drivers/raw/oc

[dpdk-dev] [PATCH 1/2] raw/octeontx2_dma: Assign pem_id as lport for non-internal DMA

2020-10-01 Thread Radha Mohan Chintakuntla
DPI needs to know the PEM number for all external transfers. Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Satha Koteswara Rao Kottidi Reviewed-by: Satananda Burla --- drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 2 ++ drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h | 1 + 2 files changed,

Re: [dpdk-dev] [PATCH] app/testpmd: support query of AGE action

2020-10-01 Thread Ferruh Yigit
On 10/1/2020 7:53 AM, Dekel Peled wrote: Following ethdev update [1], this patch adds CLI support to query information related to AGE action. [1] https://mails.dpdk.org/archives/dev/2020-September/183699.html Hi Dekel, If there will be a new version of ethdev patch or this patch, can you ple

Re: [dpdk-dev] [RFC v2] ethdev: introduce GENEVE header extension item

2020-10-01 Thread Ferruh Yigit
On 9/3/2020 8:39 AM, Shiri Kuzin wrote: The Geneve tunneling protocol is designed to allow the user to specify some data context on the packet. The header extension options is the mean intended to present the user data. These ones are implemented in TLV (Type-Length-Value) fashion, in order to su

Re: [dpdk-dev] [PATCH][v2] net/af_xdp: avoid to unnecessary allocation and free mbuf in rx path

2020-10-01 Thread Loftus, Ciara
> > when receive packets, the max bunch number of mbuf are allocated > if hardware does not receive the max bunch number packets, it > will free redundancy mbuf, that is low-performance > > so optimize rx performance, by allocating number of mbuf based on > result of xsk_ring_cons__peek, to avoid

Re: [dpdk-dev] [PATCH v9 10/10] baseband/acc100: add configure function

2020-10-01 Thread Tom Rix
On 9/30/20 3:54 PM, Chautru, Nicolas wrote: > Hi Tom, > >> From: Tom Rix >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: >>> Add configure function to configure the PF from within the >>> bbdev-test itself without external application configuration the device. >>> >>> Signed-off-by: Nicolas Chau

Re: [dpdk-dev] [PATCH v9 05/10] baseband/acc100: add LDPC processing functions

2020-10-01 Thread Chautru, Nicolas
Hi Tom, Note that there is no a v10 which includes several suggested changes deemed valuable. > From: Tom Rix > On 9/30/20 11:52 AM, Chautru, Nicolas wrote: > > Hi Tom, > > > >> From: Tom Rix > >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: > >>> Adding LDPC decode and encode processing operat

Re: [dpdk-dev] [PATCH v9 09/10] baseband/acc100: add debug function to validate input

2020-10-01 Thread Tom Rix
On 9/30/20 12:53 PM, Chautru, Nicolas wrote: > Hi Tom, > >> From: Tom Rix >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: >>> Debug functions to validate the input API from user Only enabled in >>> DEBUG mode at build time >>> >>> Signed-off-by: Nicolas Chautru >>> Acked-by: Liu Tianjiao >>> --

Re: [dpdk-dev] [PATCH v9 08/10] baseband/acc100: add interrupt support to PMD

2020-10-01 Thread Tom Rix
On 9/30/20 12:45 PM, Chautru, Nicolas wrote: > Hi Tom, > >> From: Tom Rix >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: >>> Adding capability and functions to support MSI interrupts, call backs >>> and inforing. >>> >>> Signed-off-by: Nicolas Chautru >>> Acked-by: Liu Tianjiao >>> --- >>> dr

Re: [dpdk-dev] [PATCH v9 07/10] baseband/acc100: add support for 4G processing

2020-10-01 Thread Tom Rix
On 9/30/20 12:10 PM, Chautru, Nicolas wrote: > Hi Tom, > >> From: Tom Rix >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: >>> Adding capability for 4G encode and decoder processing >>> >>> Signed-off-by: Nicolas Chautru >>> Acked-by: Liu Tianjiao >>> --- >>> doc/guides/bbdevs/features/acc100.i

Re: [dpdk-dev] [PATCH v10 10/10] baseband/acc100: add configure function

2020-10-01 Thread Maxime Coquelin
On 10/1/20 5:36 PM, Chautru, Nicolas wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, October 1, 2020 7:11 AM >> To: Chautru, Nicolas ; dev@dpdk.org; >> akhil.go...@nxp.com >> Cc: Richardson, Bruce ; Xu, Rosen >> ; t...@redhat.com; Yigit, Ferruh

Re: [dpdk-dev] [PATCH v10 04/10] baseband/acc100: add queue configuration

2020-10-01 Thread Maxime Coquelin
On 10/1/20 5:14 AM, Nicolas Chautru wrote: > Adding function to create and configure queues for > the device. Still no capability. > > Signed-off-by: Nicolas Chautru > Reviewed-by: Rosen Xu > Acked-by: Liu Tianjiao > --- > drivers/baseband/acc100/rte_acc100_pmd.c | 438 > ++

Re: [dpdk-dev] [PATCH v10 10/10] baseband/acc100: add configure function

2020-10-01 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, October 1, 2020 7:11 AM > To: Chautru, Nicolas ; dev@dpdk.org; > akhil.go...@nxp.com > Cc: Richardson, Bruce ; Xu, Rosen > ; t...@redhat.com; Yigit, Ferruh > ; Liu, Tianjiao > Subject: Re: [dpdk-dev] [PATCH v10 10

Re: [dpdk-dev] [PATCH v9 06/10] baseband/acc100: add HARQ loopback support

2020-10-01 Thread Tom Rix
On 9/30/20 11:55 AM, Chautru, Nicolas wrote: > Hi Tom, > > >> From: Tom Rix >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: >>> Additional support for HARQ memory loopback >>> >>> Signed-off-by: Nicolas Chautru >>> Acked-by: Liu Tianjiao >>> --- >>> drivers/baseband/acc100/rte_acc100_pmd.c | 1

[dpdk-dev] [PATCH] hash: build on Windows

2020-10-01 Thread Tal Shnaiderman
From: Ophir Munk Build the lib for Windows. Export the needed function from eal. Signed-off-by: Ophir Munk Signed-off-by: Tal Shnaiderman --- lib/librte_eal/rte_eal_exports.def | 2 ++ lib/meson.build| 1 + 2 files changed, 3 insertions(+) diff --git a/lib/librte_eal/rte_

Re: [dpdk-dev] [PATCH v9 05/10] baseband/acc100: add LDPC processing functions

2020-10-01 Thread Tom Rix
On 9/30/20 11:52 AM, Chautru, Nicolas wrote: > Hi Tom, > >> From: Tom Rix >> On 9/28/20 5:29 PM, Nicolas Chautru wrote: >>> Adding LDPC decode and encode processing operations >>> >>> Signed-off-by: Nicolas Chautru >>> Acked-by: Liu Tianjiao >>> Acked-by: Dave Burley >>> --- >>> doc/guides/

Re: [dpdk-dev] [PATCH v5 15/20] doc: remove references to make from rawdevs guides

2020-10-01 Thread Bruce Richardson
On Mon, Sep 21, 2020 at 02:59:26PM +0100, Ciara Power wrote: > Make is no longer supported for compiling DPDK, references are now > removed in the documentation. > > Signed-off-by: Ciara Power > Reviewed-by: Kevin Laatz > --- > doc/guides/rawdevs/dpaa2_cmdif.rst | 21 - >

Re: [dpdk-dev] [PATCH v3] rte_ethdev: safer memory access by calling Rx/Tx callback

2020-10-01 Thread Ferruh Yigit
On 3/11/2020 12:26 PM, Jerin Jacob wrote: On Wed, Mar 11, 2020 at 5:52 PM Ananyev, Konstantin wrote: -Original Message- From: ZY Qiu Sent: Thursday, March 5, 2020 4:47 PM To: Thomas Monjalon ; Yigit, Ferruh ; Andrew Rybchenko Cc: dev@dpdk.org; step...@networkplumber.org; Ananyev,

Re: [dpdk-dev] [PATCH v5 00/20] remove make support in DPDK

2020-10-01 Thread Thomas Monjalon
> This patchset includes the remaining 18 patches that were not > merged along with the others in v4, pending rework and more review. > *All*, please make the documentation update your highest priority. > > v5: > - Added patch to update cheatsheet. > - Added patch to update release notes. >

Re: [dpdk-dev] [PATCH] net/ring: fix unchecked return value

2020-10-01 Thread Ferruh Yigit
On 10/1/2020 3:14 PM, Kevin Laatz wrote: On 25/09/2020 13:43, Ferruh Yigit wrote: On 9/22/2020 6:20 PM, Kevin Laatz wrote: Add a check for the return value of the sscanf call in parse_internal_args(), returning an error if we don't get the expected result. Coverity issue: 362049 Fixes: 96cb19

Re: [dpdk-dev] [PATCH v3 01/18] eal: add max SIMD bitwidth

2020-10-01 Thread Coyle, David
Hi Ciara > -Original Message- > From: dev On Behalf Of Ciara Power > diff --git a/lib/librte_eal/common/eal_internal_cfg.h > b/lib/librte_eal/common/eal_internal_cfg.h > index 13f93388a7..367e0cc19e 100644 > --- a/lib/librte_eal/common/eal_internal_cfg.h > +++ b/lib/librte_eal/common/e

Re: [dpdk-dev] [PATCH v2 2/3] ci: add aarch64 clang cross-compilation builds

2020-10-01 Thread Juraj Linkeš
> -Original Message- > From: Aaron Conole > Sent: Thursday, October 1, 2020 3:32 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; david.march...@redhat.com; > maicolgabr...@hotmail.com; dev@dpdk.org > Subject: Re: [PATCH v2 2/3] ci: add aarch64 clang cross-compilation builds > > Juraj

Re: [dpdk-dev] [PATCH] doc: fix references to removed guide

2020-10-01 Thread Thomas Monjalon
> >> The page "Development Kit Build System" was about make, so it has been > >> removed. A better help is in the Linux guide > >> (note: mlx4/mlx5 are supported on Linux only for now). > >> > >> Fixes: 3cc6ecfdfe85 ("build: remove makefiles") > >> > >> Signed-off-by: Thomas Monjalon > > > >Acked-

Re: [dpdk-dev] [PATCH v10 03/10] baseband/acc100: add info get function

2020-10-01 Thread Maxime Coquelin
On 10/1/20 5:14 AM, Nicolas Chautru wrote: > Add in the "info_get" function to the driver, to allow us to query the > device. > No processing capability are available yet. > Linking bbdev-test to support the PMD with null capability. > > Signed-off-by: Nicolas Chautru > Acked-by: Liu Tianjiao

[dpdk-dev] [PATCH] maintainers: New Reviewer entry type added to MAINTAINERS

2020-10-01 Thread trix
From: Tom Rix Copied from the Linux kernel MAINTAINERS file. A Reviewer is designated person who wishes to review changes in areas of interest. Added self as Reviewer for baseband. I am a Linux kernel Reviewer for the fpga n3000/vista creek which has several bitstream based baseband devices. S

Re: [dpdk-dev] [PATCH v3 17/18] net: add checks for max SIMD bitwidth

2020-10-01 Thread Power, Ciara
Hi David, Thanks for reviewing, >-Original Message- >From: Coyle, David >Sent: Thursday 1 October 2020 15:17 >To: Singh, Jasvinder ; Power, Ciara >; dev@dpdk.org >Cc: Power, Ciara ; Olivier Matz >; O'loingsigh, Mairtin >; Ryan, Brendan ; >Richardson, Bruce >Subject: RE: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH v3 17/18] net: add checks for max SIMD bitwidth

2020-10-01 Thread Coyle, David
Hi Jasvinder/Ciara > -Original Message- > From: Singh, Jasvinder > > > > > From: dev On Behalf Of Ciara Power When > > > choosing a vector path to take, an extra condition must be satisfied > > > to ensure the max SIMD bitwidth allows for the CPU enabled path. > > > > > > The vector path

Re: [dpdk-dev] [PATCH] net/ring: fix unchecked return value

2020-10-01 Thread Kevin Laatz
On 25/09/2020 13:43, Ferruh Yigit wrote: On 9/22/2020 6:20 PM, Kevin Laatz wrote: Add a check for the return value of the sscanf call in parse_internal_args(), returning an error if we don't get the expected result. Coverity issue: 362049 Fixes: 96cb19521147 ("net/ring: use EAL APIs in PMD sp

[dpdk-dev] [PATCH v1 15/15] net/mlx5: remove Rx queue object type field

2020-10-01 Thread Michael Baum
Once the separation between Verbs and DevX is done using function pointers, the type field of the Rx queue object structure becomes redundant and no more code is used. Remove the unnecessary field from the structure. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/m

[dpdk-dev] [PATCH v1 14/15] net/mlx5: separate Rx queue state modification

2020-10-01 Thread Michael Baum
Separate Rx state modification to the Verbs and DevX modules. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_verbs.c | 9 + drivers/net/mlx5/mlx5.h | 9 - drivers/net/mlx5/mlx5_devx.c| 25 - drivers

[dpdk-dev] [PATCH v1 13/15] net/mlx5: remove Tx queue object type field

2020-10-01 Thread Michael Baum
Once the separation between Verbs and DevX is done using function pointers, the type field of the Tx queue object structure becomes redundant and no more code is used. Remove the unnecessary field from the structure. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/m

Re: [dpdk-dev] [PATCH v10 10/10] baseband/acc100: add configure function

2020-10-01 Thread Maxime Coquelin
Hi Nicolas, On 10/1/20 5:14 AM, Nicolas Chautru wrote: > diff --git a/drivers/baseband/acc100/rte_pmd_bbdev_acc100_version.map > b/drivers/baseband/acc100/rte_pmd_bbdev_acc100_version.map > index 4a76d1d..91c234d 100644 > --- a/drivers/baseband/acc100/rte_pmd_bbdev_acc100_version.map > +++ b/driv

[dpdk-dev] [PATCH v1 12/15] net/mlx5: share Tx queue object modification

2020-10-01 Thread Michael Baum
Use new modify_qp functions for Tx object creation in DevX and Verbs modules. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_verbs.c | 34 +++--- drivers/net/mlx5/mlx5_devx.c| 7 ++- drivers/net/mlx5/mlx5_txq.c

[dpdk-dev] [PATCH v1 11/15] net/mlx5: separate Tx queue object modification

2020-10-01 Thread Michael Baum
Separate Tx object modification to the Verbs and DevX modules. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c| 7 +++ drivers/net/mlx5/linux/mlx5_verbs.c | 65 ++ drivers/net/mlx5/mlx5.h | 9 drivers/net/mlx5/

[dpdk-dev] [PATCH v1 09/15] net/mlx5: rearrange SQ and CQ creation in DevX module

2020-10-01 Thread Michael Baum
1. Rename functions to mention the internal resources. 2. Reduce the number of function arguments. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_devx.c | 127 +-- 1 file changed, 62 insertions(+), 65 deletions(-) diff --git

[dpdk-dev] [PATCH v1 10/15] net/mlx5: rearrange QP creation in Verbs module

2020-10-01 Thread Michael Baum
1. Rename function to mention the internal resources. 2. Reduce the number of function arguments. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_verbs.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/net/mlx5/linux/

[dpdk-dev] [PATCH v1 08/15] net/mlx5: share Tx control code

2020-10-01 Thread Michael Baum
Move Tx object similar resources allocations and debug logs from DevX and Verbs modules to a shared location. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c| 4 +- drivers/net/mlx5/linux/mlx5_verbs.c | 84 - driver

[dpdk-dev] [PATCH v1 07/15] net/mlx5: separate Tx queue object creations

2020-10-01 Thread Michael Baum
As an arrangement to Windows OS support, the Verbs operations should be separated to another file. By this way, the build can easily cut the unsupported Verbs APIs from the compilation process. Define operation structure and DevX module in addition to the existing linux Verbs module. Separate Tx o

[dpdk-dev] [PATCH v1 04/15] net/mlx5: reorder Tx queue DevX object creation

2020-10-01 Thread Michael Baum
Move the creation of the send queue and the completion queue resources from the mlx5_txq_obj_devx_new function into auxiliary functions. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_txq.c | 361 +--- 1 file changed, 239 inse

[dpdk-dev] [PATCH v1 05/15] net/mlx5: reorder Tx queue Verbs object creation

2020-10-01 Thread Michael Baum
Move the creation of the completion queue from the mlx5_txq_obj_new function into an auxiliary function. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_txq.c | 117 +--- 1 file changed, 68 insertions(+), 49 deletions(-) diff

[dpdk-dev] [PATCH v1 06/15] net/mlx5: reposition the event queue number field

2020-10-01 Thread Michael Baum
The eqn field has become a field of sh directly since it is also relevant for Tx and Rx. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.c | 10 ++ drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_devx.c | 9 + drivers/net/mlx5/mlx5_t

[dpdk-dev] [PATCH v1 02/15] net/mlx5: fix unused variable in Txq creation

2020-10-01 Thread Michael Baum
When a CQ is not created by DevX, it be allocated by either DV function or by regular Verbs function. The CQ DV attributes variable was wrongly defined and initialized in Tx queue creation while the CQ is created by the regular Verbs function what remained the attributes variable unused. Remove t

[dpdk-dev] [PATCH v1 03/15] net/mlx5: mitigate Tx queue reference counters

2020-10-01 Thread Michael Baum
The Tx queue structures manage 2 different reference counter per queue: txq_ctrl reference counter and txq_obj reference counter. There is no real need to use two different counters, it just complicates the release functions. Remove the txq_obj counter and use only the txq_ctrl counter. Signed-of

[dpdk-dev] [PATCH v1 01/15] net/mlx5: fix send queue doorbell typo

2020-10-01 Thread Michael Baum
As part of SQ creation for Tx queue objects, a HW doorbell memory should be allocated and mapped to the HW. The SQ doorbell handler was wrongly saved on the CQ fields what caused wrong doorbell release in the Tx queue object destroy flow. Save the SQ doorbell handler in the SQ fields. Fixes: 3a8

[dpdk-dev] [PATCH v1 00/15] mlx5 Tx DevX/Verbs separation

2020-10-01 Thread Michael Baum
The series is an arrangement to multi-OS support by net/mlx5 driver so it comes to ease the code management for OS which supports\doesn't support DevX\Verbs operations. Michael Baum (15): net/mlx5: fix send queue doorbell typo net/mlx5: fix unused variable in Txq creation net/mlx5: mitigat

Re: [dpdk-dev] [PATCH v5 17/20] doc: remove reference to make from tools guides

2020-10-01 Thread Power, Ciara
>-Original Message- >From: Power, Ciara >Sent: Monday 21 September 2020 14:59 >To: dev@dpdk.org >Cc: Power, Ciara ; Mcnamara, John >; Kovacevic, Marko >; Doherty, Declan ; >Pattan, Reshma ; Tahhan, Maryam >; Chautru, Nicolas ; >Jerin Jacob >Subject: [PATCH v5 17/20] doc: remove reference

  1   2   >