[dpdk-dev] [PATCH 23/38] net/sfc: use xword type for EF100 Rx prefix

2021-08-27 Thread Andrew Rybchenko
From: Igor Romanov Layout of the EF100 Rx prefix is defined in terms of a 32 bytes long value type (xword). Replace oword with xword to avoid truncation. Signed-off-by: Igor Romanov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton Reviewed-by: Ivan Malov --- drivers/net/sfc/sfc_ef1

[dpdk-dev] [PATCH 24/38] net/sfc: handle ingress m-port in EF100 Rx prefix

2021-08-27 Thread Andrew Rybchenko
From: Igor Romanov Set ingress mport dynamic field in mbuf in EF100. For a given PF, Rx queues of representor devices function on top of the only Rx queue operated by the PF representor proxy facility. This field is a means to demultiplex traffic hitting the queue. Signed-off-by: Igor Romanov

[dpdk-dev] [PATCH 21/38] net/sfc: support multiple device probe

2021-08-27 Thread Andrew Rybchenko
From: Igor Romanov Support probing the device multiple times so that additional port representors can be created with hotplug EAL API. To hotplug a representor, the PF must be hotplugged with different representor device argument. Signed-off-by: Igor Romanov Signed-off-by: Andrew Rybchenko Rev

[dpdk-dev] [PATCH 20/38] net/sfc: implement port representor link update

2021-08-27 Thread Andrew Rybchenko
From: Igor Romanov Implement the callback by reporting link down if the representor is not started, otherwise report link up with undefined link speed. Link speed is undefined since representors can pass traffic to each other even if the PF link is down. Signed-off-by: Igor Romanov Signed-off-

[dpdk-dev] [PATCH 27/38] net/sfc: free MAE lock once switch domain is assigned

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov If for some reason the hardware switch ID initialization function fails, MAE lock is still held after the function finishes. This patch fixes that. Fixes: 1e7fbdf0ba19 ("net/sfc: support concept of switch domains/ports") Cc: sta...@dpdk.org Signed-off-by: Viacheslav

[dpdk-dev] [PATCH 28/38] common/sfc_efx/base: add multi-host function M-port selector

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Provide helper function to compose multi-host aware PCIe function M-port selector. The firmware expects mport selectors to use different sets of values to represent a PCIe interface in mport selectors and elsewhere. In order to avoid having the user perform the conve

[dpdk-dev] [PATCH 26/38] net/sfc: add simple port representor statistics

2021-08-27 Thread Andrew Rybchenko
From: Igor Romanov Gather statistics of enqueued and dequeued packets in Rx and Tx burst callbacks to report in stats_get callback. Signed-off-by: Igor Romanov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton Reviewed-by: Ivan Malov --- drivers/net/sfc/sfc_repr.c | 60 +

[dpdk-dev] [PATCH 25/38] net/sfc: implement representor Rx routine

2021-08-27 Thread Andrew Rybchenko
From: Igor Romanov Implement traffic forwarding for representor and representor proxy from virtual functions to representor Rx queues. Signed-off-by: Igor Romanov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton Reviewed-by: Ivan Malov --- drivers/net/sfc/sfc_repr.c | 12 +++

[dpdk-dev] [PATCH 29/38] common/sfc_efx/base: retrieve function interfaces for VNICs

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov This information is required to be able to fully identify the function. Add this information to the NIC configuration structure for easy access. Signed-off-by: Viacheslav Galaktionov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/common/sfc

[dpdk-dev] [PATCH 30/38] common/sfc_efx/base: add a means to read MAE mport journal

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov This is required to provide the driver with the current state of mports. Signed-off-by: Viacheslav Galaktionov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx.h | 56 +++ drivers/common/sfc_efx/base/efx_mae.

[dpdk-dev] [PATCH 31/38] common/sfc_efx/base: allow getting VNIC MCDI client handles

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Equality checks between VNICs should be done by comparing their client handles. This means that clients should be able to retrieve client handles for arbitrary functions and themselves. Signed-off-by: Viacheslav Galaktionov Signed-off-by: Andrew Rybchenko Reviewed-

[dpdk-dev] [PATCH 32/38] net/sfc: maintain controller to EFX interface mapping

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Newer hardware may have arbitrarily complex controller configurations, and for this reason the mapping has been made dynamic: it is represented with a dynamic array that is indexed by controller numbers and each element contains an EFX interface number. Since the numb

[dpdk-dev] [PATCH 34/38] net/sfc: include controller and port in representor name

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Make representor names unique on multi-host configurations. Signed-off-by: Viacheslav Galaktionov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/sfc_repr.c | 28 ++-- drivers/net/sfc/sfc_switch.c | 28 +

[dpdk-dev] [PATCH 33/38] net/sfc: store PCI address for represented entities

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov This information will be useful when representor info API is implemented. Signed-off-by: Viacheslav Galaktionov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/sfc_ethdev.c | 11 +-- drivers/net/sfc/sfc_repr.c | 20

[dpdk-dev] [PATCH 35/38] net/sfc: support new representor parameter syntax

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Allow the user to specify representor entities using the structured parameter values. Signed-off-by: Viacheslav Galaktionov Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/sfc_ethdev.c | 181 --- drive

[dpdk-dev] [PATCH 36/38] net/sfc: use switch port ID as representor ID

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Representor IDs must be unique for each representor. VFs, which are currently used, are not unique as they may repeat in combination with different PCI controllers and PFs. On the other hand, switch port IDs are unique, so they are a better fit for this role. Signed-

[dpdk-dev] [PATCH 38/38] net/sfc: update comment about representor support

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov The representor support has been implemented to some extent, and the fact that ethdev mport is equivalent to entity mport is by design. Fixes: 1fb65e4dae8 ("net/sfc: support flow action port ID in transfer rules") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Galakt

[dpdk-dev] [PATCH 37/38] net/sfc: implement the representor info API

2021-08-27 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Let the driver provide the user with information about available representors by implementing the representor_info_get operation. Due to the lack of any structure to representor IDs, every ID range describes exactly one representor. Signed-off-by: Viacheslav Galakti

Re: [dpdk-dev] [RFC PATCH 4/7] app/test: add basic dmadev copy tests

2021-08-27 Thread Jerin Jacob
On Fri, Aug 27, 2021 at 12:03 AM Bruce Richardson wrote: > > For each dmadev instance, perform some basic copy tests to validate that > functionality. > > Signed-off-by: Bruce Richardson > --- > app/test/test_dmadev.c | 157 + > 1 file changed, 157 inserti

Re: [dpdk-dev] [PATCH] app/testpmd: add command to print representor info

2021-08-27 Thread Li, Xiaoyun
Hi > -Original Message- > From: Andrew Rybchenko > Sent: Friday, August 27, 2021 14:40 > To: Li, Xiaoyun > Cc: dev@dpdk.org; Xueming Li ; Viacheslav Galaktionov > ; Andy Moreton > Subject: [PATCH] app/testpmd: add command to print representor info > > From: Viacheslav Galaktionov > >

Re: [dpdk-dev] [PATCH v7 2/2] app/testpmd: fix testpmd doesn't show RSS hash offload

2021-08-27 Thread Li, Xiaoyun
Hi > -Original Message- > From: Wang, Jie1X > Sent: Thursday, August 26, 2021 15:09 > To: dev@dpdk.org > Cc: Li, Xiaoyun ; andrew.rybche...@oktetlabs.ru; > tho...@monjalon.net; Yigit, Ferruh ; Wang, Jie1X > > Subject: [PATCH v7 2/2] app/testpmd: fix testpmd doesn't show RSS hash > offloa

Re: [dpdk-dev] [PATCH v2] ethdev: add namespace

2021-08-27 Thread Andrew Rybchenko
On 8/27/21 4:19 AM, Ferruh Yigit wrote: > Add 'RTE_ETH' namespace to all enums & macros in a backward compatible > way. The macros for backward compatibility can be removed in next LTS. > > Internal components switched to new enum & macro names. > > Signed-off-by: Ferruh Yigit > Acked-By: Tyler

[dpdk-dev] [PATCH v8 0/2] testpmd shows incorrect rx_offload configuration

2021-08-27 Thread Jie Wang
Launch testpmd with multiple queues, and check rx_offload info. When testpmd shows the port configuration, it doesn't show RSS_HASH. --- v8: delete "rte_exit" and just print error log. v7: - delete struct "rte_eth_dev_conf_info", and reuse struct "rte_eth_conf". - add "__rte_experimental" to th

[dpdk-dev] [PATCH v8 1/2] ethdev: add an API to get device configuration info

2021-08-27 Thread Jie Wang
This patch adds a new API "rte_eth_dev_conf_info_get()" to help users get device configuration info. Signed-off-by: Jie Wang --- lib/ethdev/rte_ethdev.c | 28 lib/ethdev/rte_ethdev.h | 21 + lib/ethdev/version.map | 3 +++ 3 files changed, 52 in

[dpdk-dev] [PATCH v8 2/2] app/testpmd: fix testpmd doesn't show RSS hash offload

2021-08-27 Thread Jie Wang
The driver may change offloads info into dev->data->dev_conf in dev_configure which may cause port->dev_conf and port->rx_conf contain outdated values. This patch updates the offloads info if it changes to fix this issue. Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") Signe

Re: [dpdk-dev] [PATCH] vhost: remove copy threshold for async vhost

2021-08-27 Thread Maxime Coquelin
Hi Jiayu, Thanks for working on it! On 8/20/21 2:44 PM, Jiayu Hu wrote: > Copy threshold is introduced in async vhost data path to select > the appropriate copy engine to do copies for higher efficiency. > However, it may cause packets out-of-order, and it also causes > data path performance unpr

Re: [dpdk-dev] [PATCH] app/testpmd: add command to print representor info

2021-08-27 Thread Viacheslav Galaktionov
On 2021-08-27 11:20, Xueming(Steven) Li wrote: Thanks for getting this feature more complete! -Original Message- From: Andrew Rybchenko Sent: Friday, August 27, 2021 2:40 PM To: Xiaoyun Li Cc: dev@dpdk.org; Xueming(Steven) Li ; Viacheslav Galaktionov ; Andy Moreton Subject: [PATCH]

[dpdk-dev] [PATCH v1] eventdev: change packet enqueue buffer in RX adapter to circular buffer

2021-08-27 Thread Ganapati Kundapura
RX adapter user memove() to move unprocessed events to the beginning of the packet enqueue buffer. The use memmove() was found to consume good amount of CPU cycles (about 20%). This patch removes the use of memove() while implementina a circular buffer to avoid copying of data. With this change RX

Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-08-27 Thread Thomas Monjalon
31/07/2021 15:42, Jerin Jacob: > On Sat, Jul 31, 2021 at 1:51 PM Thomas Monjalon wrote: > > 31/07/2021 09:06, Jerin Jacob: > > > On Fri, Jul 30, 2021 at 7:25 PM Thomas Monjalon > > > wrote: > > > > From: Elena Agostini > > > > > > > > In heterogeneous computing system, processing is not only in

Re: [dpdk-dev] [PATCH v2] ethdev: fix representor port ID search by name

2021-08-27 Thread Viacheslav Galaktionov
On 2021-08-27 12:18, Xueming(Steven) Li wrote: -Original Message- From: Andrew Rybchenko Sent: Wednesday, August 18, 2021 10:00 PM To: Ajit Khaparde ; Somnath Kotur ; John Daley ; Hyong Youb Kim ; Beilei Xing ; Qiming Yang ; Qi Zhang ; Haiyue Wang ; Matan Azrad ; Shahaf Shuler ; Slava

Re: [dpdk-dev] [PATCH] driver: i40evf device initialization

2021-08-27 Thread Xueming(Steven) Li
> -Original Message- > From: Kevin Traynor > Sent: Thursday, August 26, 2021 6:46 PM > To: Ferruh Yigit ; Ben Magistro ; > dev@dpdk.org; Beilei Xing ; > Luca Boccassi ; Christian Ehrhardt > ; Xueming(Steven) Li > > Cc: ben.magis...@trinitycyber.com; stefan.baran...@trinitycyber.com; Q

Re: [dpdk-dev] [RFC PATCH 4/7] app/test: add basic dmadev copy tests

2021-08-27 Thread Bruce Richardson
On Fri, Aug 27, 2021 at 12:44:17PM +0530, Jerin Jacob wrote: > On Fri, Aug 27, 2021 at 12:03 AM Bruce Richardson > wrote: > > > > For each dmadev instance, perform some basic copy tests to validate that > > functionality. > > > > Signed-off-by: Bruce Richardson > > --- > > app/test/test_dmadev.c

Re: [dpdk-dev] [PATCH] examples/performance-thread: fix build issue with clang 12.0.1

2021-08-27 Thread Thomas Monjalon
19/08/2021 09:09, Ali Alnubani: > From: jer...@marvell.com > > In clang 12.0.1 version, the use of pthread_yield() deprecated, use > > sched_yield() instead. > > > > log: > > > > Compiling C object > > examples/dpdk-pthread_shim.p/performance- > > thread_pthread_shim_main.c.o > > ../examples/per

Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-08-27 Thread Jerin Jacob
On Fri, Aug 27, 2021 at 3:14 PM Thomas Monjalon wrote: > > 31/07/2021 15:42, Jerin Jacob: > > On Sat, Jul 31, 2021 at 1:51 PM Thomas Monjalon wrote: > > > 31/07/2021 09:06, Jerin Jacob: > > > > On Fri, Jul 30, 2021 at 7:25 PM Thomas Monjalon > > > > wrote: > > > > > From: Elena Agostini > > >

Re: [dpdk-dev] [PATCH] app/testpmd: add command to print representor info

2021-08-27 Thread Xueming(Steven) Li
Thanks for getting this feature more complete! > -Original Message- > From: Andrew Rybchenko > Sent: Friday, August 27, 2021 2:40 PM > To: Xiaoyun Li > Cc: dev@dpdk.org; Xueming(Steven) Li ; Viacheslav > Galaktionov ; Andy > Moreton > Subject: [PATCH] app/testpmd: add command to print

Re: [dpdk-dev] [PATCH v2] drivers: remove warning with meson 0.59.0

2021-08-27 Thread Thomas Monjalon
17/08/2021 14:54, Jerin Jacob: > On Tue, Aug 17, 2021 at 5:59 PM Bruce Richardson > wrote: > > > > On Fri, Jul 30, 2021 at 01:05:48PM +0530, jer...@marvell.com wrote: > > > From: Jerin Jacob > > > > > > Since meson 0.59.0 version, the extract_all_objects() API > > > need to pass explicit boolean

Re: [dpdk-dev] [PATCH v2] drivers: remove warning with meson 0.59.0

2021-08-27 Thread Bruce Richardson
On Fri, Aug 27, 2021 at 02:30:44PM +0200, Thomas Monjalon wrote: > 17/08/2021 14:54, Jerin Jacob: > > On Tue, Aug 17, 2021 at 5:59 PM Bruce Richardson > > wrote: > > > > > > On Fri, Jul 30, 2021 at 01:05:48PM +0530, jer...@marvell.com wrote: > > > > From: Jerin Jacob > > > > > > > > Since meson 0

Re: [dpdk-dev] [PATCH v2] ethdev: fix representor port ID search by name

2021-08-27 Thread Xueming(Steven) Li
> -Original Message- > From: Andrew Rybchenko > Sent: Wednesday, August 18, 2021 10:00 PM > To: Ajit Khaparde ; Somnath Kotur > ; John Daley > ; Hyong Youb Kim ; Beilei Xing > ; Qiming Yang > ; Qi Zhang ; Haiyue Wang > ; Matan Azrad > ; Shahaf Shuler ; Slava Ovsiienko > ; NBU-Contac

Re: [dpdk-dev] [PATCH v3] net: fix Intel-specific Prepare the outer ipv4 hdr for checksum

2021-08-27 Thread Mohsin Kazmi
Are we good with this patch with the current state? @Olivier: Any comments on the above suggestions? On Tue, Aug 3, 2021 at 1:49 PM Mohsin Kazmi wrote: > > > On Sat, Jul 31, 2021 at 1:49 PM Andrew Rybchenko < > andrew.rybche...@oktetlabs.ru> wrote: > >> On 7/30/21 2:11 PM, Olivier Matz wrote: >>

[dpdk-dev] [PATCH v6] vhost: fix crash on port deletion

2021-08-27 Thread Gaoxiang Liu
The rte_vhost_driver_unregister() and vhost_user_read_cb() can be called at the same time by 2 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), the invalid memory of vsocket is accessed in vhost_user_read_cb(). It's a bug of both mode for vhost as server or client. E.g.,v

Re: [dpdk-dev] [PATCH v2] drivers: remove warning with meson 0.59.0

2021-08-27 Thread Thomas Monjalon
27/08/2021 14:55, Bruce Richardson: > On Fri, Aug 27, 2021 at 02:30:44PM +0200, Thomas Monjalon wrote: > > 17/08/2021 14:54, Jerin Jacob: > > > On Tue, Aug 17, 2021 at 5:59 PM Bruce Richardson > > > wrote: > > > > > > > > On Fri, Jul 30, 2021 at 01:05:48PM +0530, jer...@marvell.com wrote: > > > >

[dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-08-27 Thread Eugenio PĂ©rez
Old IOVA cache entries are left when there is a change on virtio driver in VM. In case that all these old entries have iova addresses lesser than new iova entries, vhost code will need to iterate all the cache to find the new ones. In case of just a new iova entry needed for the new translations, t

[dpdk-dev] [PATCH 00/13] add dmadev driver for idxd devices

2021-08-27 Thread Kevin Laatz
This patchset adds a dmadev driver and associated documentation to support Intel Data Streaming Accelerator devices. This driver is intended to ultimately replace the current IDXD part of the IOAT rawdev driver. NOTE: This patchset has several dependencies: - v16 of the dmadev set [1] - rfc of

[dpdk-dev] [PATCH 01/13] raw/ioat: only build if dmadev not present

2021-08-27 Thread Kevin Laatz
From: Bruce Richardson Only build the rawdev IDXD/IOAT drivers if the dmadev drivers are not present. Signed-off-by: Bruce Richardson --- drivers/raw/ioat/meson.build | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/drivers/raw/ioat/meson.build b/dri

[dpdk-dev] [PATCH 02/13] doc: initial commit for dmadevs section

2021-08-27 Thread Kevin Laatz
Add new section to the programmer's guide for dmadev devices. Signed-off-by: Kevin Laatz --- doc/guides/dmadevs/index.rst | 14 ++ doc/guides/index.rst | 1 + 2 files changed, 15 insertions(+) create mode 100644 doc/guides/dmadevs/index.rst diff --git a/doc/guides/dmadevs/

[dpdk-dev] [PATCH 03/13] dma/idxd: add skeleton for VFIO based DSA device

2021-08-27 Thread Kevin Laatz
Add the basic device probe/remove skeleton code for DSA device bound to the vfio pci driver. Relevant documentation and MAINTAINERS update also included. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- MAINTAINERS| 10 + doc/guides/dmadevs/idxd.rst

[dpdk-dev] [PATCH 04/13] dma/idxd: add bus device probing

2021-08-27 Thread Kevin Laatz
Add the basic device probing for DSA devices bound to the IDXD kernel driver. These devices can be configured via sysfs and made available to DPDK if they are found during bus scan. Relevant documentation is included. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- doc/guides/dma

[dpdk-dev] [PATCH 05/13] dma/idxd: create dmadev instances on bus probe

2021-08-27 Thread Kevin Laatz
When a suitable device is found during the bus scan/probe, create a dmadev instance for each HW queue. Internal structures required for device creation are also added. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- drivers/dma/idxd/idxd_bus.c | 20 - drivers/dma/idx

[dpdk-dev] [PATCH 06/13] dma/idxd: create dmadev instances on pci probe

2021-08-27 Thread Kevin Laatz
When a suitable device is found during the PCI probe, create a dmadev instance for each HW queue. HW definitions required are also included. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- drivers/dma/idxd/idxd_hw_defs.h | 71 drivers/dma/idxd/idxd_internal.h | 14 ++

[dpdk-dev] [PATCH 07/13] dma/idxd: add datapath structures

2021-08-27 Thread Kevin Laatz
Add data structures required for the data path for IDXD devices. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- drivers/dma/idxd/idxd_bus.c | 1 + drivers/dma/idxd/idxd_common.c | 33 ++ drivers/dma/idxd/idxd_hw_defs.h | 59 ++

[dpdk-dev] [PATCH 08/13] dma/idxd: add configure and info_get functions

2021-08-27 Thread Kevin Laatz
Add functions for device configuration. The info_get function is included here since it can be useful for checking successful configuration. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- doc/guides/dmadevs/idxd.rst | 33 drivers/dma/idxd/idxd_bus.c |

[dpdk-dev] [PATCH 09/13] dma/idxd: add start and stop functions for pci devices

2021-08-27 Thread Kevin Laatz
Add device start/stop functions for DSA devices bound to vfio. For devices bound to the IDXD kernel driver, these are not required since the IDXD kernel driver takes care of this. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- drivers/dma/idxd/idxd_pci.c | 52 +++

[dpdk-dev] [PATCH 10/13] dma/idxd: add data-path job submission functions

2021-08-27 Thread Kevin Laatz
Add data path functions for enqueuing and submitting operations to DSA devices. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- doc/guides/dmadevs/idxd.rst | 64 ++ drivers/dma/idxd/idxd_common.c | 138 +++ drivers/dma/idxd/idxd_int

[dpdk-dev] [PATCH 11/13] dma/idxd: add data-path job completion functions

2021-08-27 Thread Kevin Laatz
Add the data path functions for gathering completed operations. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- doc/guides/dmadevs/idxd.rst | 25 drivers/dma/idxd/idxd_common.c | 235 +++ drivers/dma/idxd/idxd_internal.h | 5 + 3 files c

[dpdk-dev] [PATCH 12/13] dma/idxd: add operation statistic tracking

2021-08-27 Thread Kevin Laatz
Add statistic tracking for DSA devices. Signed-off-by: Bruce Richardson Signed-off-by: Kevin Laatz --- doc/guides/dmadevs/idxd.rst | 11 +++ drivers/dma/idxd/idxd_bus.c | 2 ++ drivers/dma/idxd/idxd_common.c | 23 +++ drivers/dma/idxd/idxd_internal.h |

[dpdk-dev] [PATCH 13/13] dma/idxd: move dpdk_idxd_cfg.py from raw to dma

2021-08-27 Thread Kevin Laatz
From: Conor Walsh Move the example script for configuring IDXD devices bound to the IDXD kernel driver from raw to dma, and create a symlink to still allow use from raw. Signed-off-by: Conor Walsh Signed-off-by: Kevin Laatz --- drivers/dma/idxd/dpdk_idxd_cfg.py | 117 +

[dpdk-dev] [PATCH 0/8] dma: add dmadev driver for ioat devices

2021-08-27 Thread Conor Walsh
This patchset adds a dmadev driver and associated documentation to support Intel QuickData Technology devices, part of the Intel I/O Acceleration Technology (Intel I/OAT). This driver is intended to ultimately replace the current IOAT rawdev driver NOTE: This patchset has several dependencies: -

[dpdk-dev] [PATCH 1/8] dma/ioat: add device probe and removal functions

2021-08-27 Thread Conor Walsh
Add the basic device probe/remove skeleton code and initial documentation for new IOAT DMA driver. Maintainers update is also included in this patch. Signed-off-by: Conor Walsh --- MAINTAINERS| 6 +++ doc/guides/dmadevs/index.rst | 1 + doc/guides/dmadevs/

[dpdk-dev] [PATCH 2/8] dma/ioat: create dmadev instances on PCI probe

2021-08-27 Thread Conor Walsh
When a suitable device is found during the PCI probe, create a dmadev instance for each channel. Internal structures and HW definitions required for device creation are also included. Signed-off-by: Conor Walsh --- drivers/dma/ioat/ioat_dmadev.c | 115 ++- drivers/d

[dpdk-dev] [PATCH 3/8] dma/ioat: add datapath structures

2021-08-27 Thread Conor Walsh
Add data structures required for the data path of IOAT devices. Signed-off-by: Conor Walsh Signed-off-by: Bruce Richardson --- drivers/dma/ioat/ioat_dmadev.c | 61 - drivers/dma/ioat/ioat_hw_defs.h | 214 2 files changed, 274 insertions(+), 1 deletion(

[dpdk-dev] [PATCH 4/8] dma/ioat: add configuration functions

2021-08-27 Thread Conor Walsh
Add functions for device configuration. The info_get and close functions are included here also. info_get can be useful for checking successful configuration and close is used by the dmadev api when releasing a configured device. Signed-off-by: Conor Walsh --- doc/guides/dmadevs/ioat.rst| 24

[dpdk-dev] [PATCH 5/8] dma/ioat: add start and stop functions

2021-08-27 Thread Conor Walsh
Add start, stop and recover functions for IOAT devices. Signed-off-by: Conor Walsh Signed-off-by: Bruce Richardson --- doc/guides/dmadevs/ioat.rst| 3 ++ drivers/dma/ioat/ioat_dmadev.c | 82 ++ 2 files changed, 85 insertions(+) diff --git a/doc/guides/dmade

[dpdk-dev] [PATCH 6/8] dma/ioat: add data path job submission functions

2021-08-27 Thread Conor Walsh
Add data path functions for enqueuing and submitting operations to IOAT devices. Signed-off-by: Conor Walsh --- doc/guides/dmadevs/ioat.rst| 54 drivers/dma/ioat/ioat_dmadev.c | 92 ++ 2 files changed, 146 insertions(+) diff --git a/doc/g

[dpdk-dev] [PATCH 7/8] dma/ioat: add data path completion functions

2021-08-27 Thread Conor Walsh
Add the data path functions for gathering completed operations from IOAT devices. Signed-off-by: Conor Walsh Signed-off-by: Kevin Laatz --- doc/guides/dmadevs/ioat.rst| 48 ++- drivers/dma/ioat/ioat_dmadev.c | 141 + 2 files changed, 188 insertions(+

[dpdk-dev] [PATCH 8/8] dma/ioat: add statistics

2021-08-27 Thread Conor Walsh
Add statistic tracking for operations in IOAT. Signed-off-by: Conor Walsh --- doc/guides/dmadevs/ioat.rst| 23 +++ drivers/dma/ioat/ioat_dmadev.c | 40 ++ 2 files changed, 63 insertions(+) diff --git a/doc/guides/dmadevs/ioat.rst b/doc/guides/

Re: [dpdk-dev] [PATCH] build: fix install from arbitrary directory for meson 0.55

2021-08-27 Thread Thomas Monjalon
17/08/2021 16:35, Bruce Richardson: > On Wed, Aug 11, 2021 at 02:03:22AM +0300, Dmitry Kozlyuk wrote: > > Install command for meson >= 0.55.0 referenced the script by a plain > > string, assuming the build directory to be directly under the source > > tree root. This resulted in an error when the a

Re: [dpdk-dev] [PATCH v2] ethdev: add namespace

2021-08-27 Thread Ferruh Yigit
On 8/27/2021 8:59 AM, Andrew Rybchenko wrote: > On 8/27/21 4:19 AM, Ferruh Yigit wrote: >> Add 'RTE_ETH' namespace to all enums & macros in a backward compatible >> way. The macros for backward compatibility can be removed in next LTS. >> >> Internal components switched to new enum & macro names. >

Re: [dpdk-dev] DPDK 21.11+ Windows Roadmap

2021-08-27 Thread Dmitry Kozlyuk
2021-08-26 19:31 (UTC-0700), William Tu: > Hi Dmitry, > Thanks, I have one question. > > On Thu, Aug 26, 2021 at 5:19 PM Dmitry Kozlyuk > wrote: > > > > This roadmap has been discussed on Windows community calls Aug 5 and Aug 19 > > and it met no principal objections. It extends beyond the neare