[dpdk-dev] [PATCH 11/11] doc: add documentation for OCTEON TX2 crypto PMD

2019-08-29 Thread Anoob Joseph
Adding feature list and user guide for OCTEONTX2 crypto PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph --- MAINTAINERS | 7 ++ doc/guides/cryptodevs/features/octeontx2.ini | 62 doc/guides/cryptodevs/index.rst | 1 +

[dpdk-dev] [PATCH 10/11] test: add OCTEON TX2 tests

2019-08-29 Thread Anoob Joseph
This patch adds the OCTEON TX2 crypto validation tests. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- app/test/meson.build| 1 + app/test/test_cryptodev.c | 323 app/test/test

[dpdk-dev] [PATCH 07/11] crypto/octeontx2: add session related functions

2019-08-29 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the symmetric session related callbacks. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_mcode_defines.h| 2 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 117

[dpdk-dev] [PATCH 09/11] crypto/octeontx2: add dequeue burst

2019-08-29 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the dequeue burst callbacks for the OCTEON TX2 crypto driver. The completion code is checked during the dequeue and the respective status is set in the crypto operation. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj

[dpdk-dev] [PATCH 08/11] crypto/octeontx2: add enqueue burst

2019-08-29 Thread Anoob Joseph
This patch adds the enqueue burst callbacks for the OCTEON TX2 crypto driver. Other required functions and data structures which are used to enqueue the instruction to the hardware are also added. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drive

[dpdk-dev] [PATCH 05/11] crypto/octeontx2: add hardware definitions

2019-08-29 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the hardware definitions for OCTEON TX2 crypto hardware. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- .../crypto/octeontx2/otx2_cryptodev_hw_access.h| 117 + 1 file changed, 117 inserti

[dpdk-dev] [PATCH 06/11] crypto/octeontx2: add queue pair functions

2019-08-29 Thread Anoob Joseph
This patch adds the queue pair setup and queue pair release functions for OCTEON TX2 crypto pmd. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- .../crypto/octeontx2/otx2_cryptodev_hw_access.c| 99 +++ .../crypto/octeontx2/otx2_cryptodev_hw_

[dpdk-dev] [PATCH 03/11] crypto/octeontx2: add device control ops

2019-08-29 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the device control functions. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 1 + drivers/crypto/octeontx2/meson.build | 1 + drivers/crypto

[dpdk-dev] [PATCH 04/11] crypto/octeontx2: add symmetric capabilities

2019-08-29 Thread Anoob Joseph
This patch adds the symmetric capabilities for OCTEON TX2 crypto PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 1 + drivers/crypto/octeontx2/meson.build | 1 + .../crypto/o

[dpdk-dev] [PATCH 01/11] crypto/octeontx2: add PMD skeleton

2019-08-29 Thread Anoob Joseph
From: Ankur Dwivedi Adding OCTEON TX2 crypto PMD skeleton. Enabling the driver by default in common_base. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- config/common_base | 5 + drivers/common/Makefile

[dpdk-dev] [PATCH 02/11] crypto/octeontx2: add device init sequence in probe

2019-08-29 Thread Anoob Joseph
This patch adds the device init sequence for OCTEON TX2 crypto device. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 10 +++ drivers/crypto/octeontx2/meson.build | 2 ++ drivers/crypto

[dpdk-dev] [PATCH 00/11] add OCTEON TX2 crypto PMD

2019-08-29 Thread Anoob Joseph
This series introduces poll mode driver to enable crypto offload engine on Marvell OCTEON TX2 SoC. Ankur Dwivedi (5): crypto/octeontx2: add PMD skeleton crypto/octeontx2: add device control ops crypto/octeontx2: add hardware definitions crypto/octeontx2: add session related functions cry

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-29 Thread Stephen Hemminger
On Fri, 23 Aug 2019 21:47:11 +0800 "Wei Hu (Xavier)" wrote: > +Limitations or Known issues > +--- > +Build with clang is not supported yet. > +Currently, only ARMv8 architecture is supported. > \ No newline at end of file Pleas fix this. You need to add new line at end of

Re: [dpdk-dev] [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX path

2019-08-29 Thread Rong, Leyi
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, August 30, 2019 7:32 AM > To: Rong, Leyi ; Ye, Xiaolong ; > Wang, Haiyue ; Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: RE: [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX > path > > > > * take the two

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-29 Thread Stephen Hemminger
On Fri, 23 Aug 2019 21:47:11 +0800 "Wei Hu (Xavier)" wrote: Thanks for doing documentation on this driver. > +The Hisilicon Network Subsystem is a long term evolution IP which is > +supposed to be used in Hisilicon ICT SoCs such as Kunpeng 920. This sentence needs some editing to remove marketi

Re: [dpdk-dev] [PATCH v6 00/10] vhost: support inflight share memory protocol feature

2019-08-29 Thread Gavin Hu (Arm Technology China)
Hi Jin, I see in this patch set there are several callings rte_compiler_barrier() which is sufficient for x86 but not for aarch64/ppc and other weaker memory model architectures. EAL has defined coherent memory io barriers(I think this should be the right barrier) for mutli-arch support. Could

[dpdk-dev] [PATCH] net/octeontx2: allow vfs to enable back pressure

2019-08-29 Thread Nithin Dabilpuram
Allow VFs to enable backpressure for performance reasons. The backpressure control is with kernel AF driver that will enable backpressure even if one PF/VF requests it and disable it only after all the PFs/VFs request for disable. Signed-off-by: Nithin Dabilpuram --- drivers/net/octeontx2/otx2_f

[dpdk-dev] [PATCH] net/null: update license text to SPDX format

2019-08-29 Thread Tetsuya Mukawa
Signed-off-by: Tetsuya Mukawa --- drivers/net/null/Makefile | 32 ++-- 1 files changed, 2 insertions(+), 30 deletions(-) diff --git a/drivers/net/null/Makefile b/drivers/net/null/Makefile index 9331cca..6d44dfa 100644 --- a/drivers/net/null/Makefile +++ b/drivers/ne

[dpdk-dev] [PATCH] doc: Update license text to SPDX format

2019-08-29 Thread Tetsuya Mukawa
Signed-off-by: Tetsuya Mukawa --- doc/guides/nics/vhost.rst | 31 ++- 1 files changed, 2 insertions(+), 29 deletions(-) diff --git a/doc/guides/nics/vhost.rst b/doc/guides/nics/vhost.rst index 23f2e87..78ad8d4 100644 --- a/doc/guides/nics/vhost.rst +++ b/doc/guides/

Re: [dpdk-dev] [PATCH] common/cpt: add support for new firmware

2019-08-29 Thread Anoob Joseph
Hi Akhil, Pablo, >From my end, this patch is good to go. Thanks, Anoob > -Original Message- > From: Anoob Joseph > Sent: Wednesday, August 14, 2019 3:11 PM > To: Akhil Goyal ; Pablo de Lara > > Cc: Ankur Dwivedi ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; dev@dpdk.

Re: [dpdk-dev] [PATCH 22/22] net/hns3: add hns3 build files

2019-08-29 Thread Wei Hu (Xavier)
Hi, Jerin On 2019/8/23 22:08, Jerin Jacob Kollanukkaran wrote: >> -Original Message- >> From: dev On Behalf Of Wei Hu (Xavier) >> Sent: Friday, August 23, 2019 7:17 PM >> To: dev@dpdk.org >> Cc: linux...@huawei.com; xavier_hu...@163.com; >> liudongdo...@huawei.com; forest.zhouch...@huaw

Re: [dpdk-dev] [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX path

2019-08-29 Thread Zhang, Qi Z
> -Original Message- > From: Wang, Haiyue > Sent: Friday, August 30, 2019 9:06 AM > To: Zhang, Qi Z ; Rong, Leyi ; > Ye, Xiaolong ; Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: RE: [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX > path > > > -Original Message- > >

Re: [dpdk-dev] [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX path

2019-08-29 Thread Wang, Haiyue
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, August 30, 2019 07:32 > To: Rong, Leyi ; Ye, Xiaolong ; > Wang, Haiyue > ; Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: RE: [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX > path > > > > > -Original Message-

Re: [dpdk-dev] [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX path

2019-08-29 Thread Zhang, Qi Z
> -Original Message- > From: Rong, Leyi > Sent: Thursday, August 29, 2019 4:05 PM > To: Zhang, Qi Z ; Ye, Xiaolong > ; Wang, Haiyue ; Lu, > Wenzhuo > Cc: dev@dpdk.org; Rong, Leyi > Subject: [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX path > > Switch to Rx flexible

[dpdk-dev] [PATCH] pktgen: fix config file output

2019-08-29 Thread Adam Drescher
The 'save' TUI command does not export certain configuration commands with the correct syntax. As a result, when loading this config file later these commands will fail (eg. range MAC addresses, range ports). This patch fixes a number of these cases. Signed-off-by: Adam Drescher --- app/pktgen-c

Re: [dpdk-dev] [PATCH v1] net/ice: support device-specific DDP package loading

2019-08-29 Thread Zhang, Qi Z
> -Original Message- > From: Stillwell Jr, Paul M > Sent: Friday, August 30, 2019 2:08 AM > To: Xu, Ting ; dev@dpdk.org > Cc: Lu, Wenzhuo ; Yang, Qiming > ; Zhang, Qi Z > Subject: RE: [dpdk-dev] [PATCH v1] net/ice: support device-specific DDP > package loading > > > -Original Messa

Re: [dpdk-dev] [PATCH 01/51] ethdev: change rte_eth_dev_info_get() return value to int

2019-08-29 Thread Thomas Monjalon
28/08/2019 16:39, Andrew Rybchenko: > On 8/28/19 2:26 PM, Jan Viktorin wrote: > > Andrew Rybchenko wrote: > >> On 8/28/19 12:51 PM, Jan Viktorin wrote: > >>> Andrew Rybchenko wrote: > From: Ivan Ilchenko > + * @return > + * - (0) if successful. > + * - (-ENOTSUP) if suppo

Re: [dpdk-dev] [PATCH 00/51] ethdev: change rte_eth_dev_info_get() return value to int

2019-08-29 Thread Thomas Monjalon
28/08/2019 16:29, Andrew Rybchenko: > On 8/28/19 4:42 PM, Aaron Conole wrote: > > Andrew Rybchenko writes: > >> On 8/27/19 11:47 PM, Aaron Conole wrote: > >>> Andrew Rybchenko writes: > >>> > It is the first patch series to get rid of void returning functions > in ethdev in accordance w

Re: [dpdk-dev] [PATCH v1] net/ice: support device-specific DDP package loading

2019-08-29 Thread Stillwell Jr, Paul M
> -Original Message- > From: dev On Behalf Of Ting Xu > Sent: Thursday, August 29, 2019 6:18 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Yang, Qiming > ; Zhang, Qi Z > Subject: [dpdk-dev] [PATCH v1] net/ice: support device-specific DDP package > loading > > This patch adds the feature that

Re: [dpdk-dev] [PATCH 1/1] net/mlx4: fix build on PPC64

2019-08-29 Thread David Christensen
error: incompatible types when initializing type '__vector _bool int' {aka '_vector(4) __bool int'} using type 'int' If __APPLE_ALTIVEC__ is defined, then bool type is redefined and conflicts with stdbool.h. There is no good solution to fix it for the whole project without breaking something els

Re: [dpdk-dev] [dpdk-stable] 17.11.7-rc1 (LTS) patches review and test

2019-08-29 Thread Ferruh Yigit
On 8/15/2019 7:05 PM, Yongseok Koh wrote: > Hi all, > > Here is a list of patches targeted for LTS release 17.11.7. Please help review > and test. The planned date for the final release is Aug 23, Before that, > please > shout if anyone has objections with these patches being applied. > > Also f

Re: [dpdk-dev] [PATCH v2] build: avoid --as-needed as it causes overlinking

2019-08-29 Thread Luca Boccassi
On Thu, 2019-08-29 at 16:34 +0100, Bruce Richardson wrote: > On Thu, Aug 29, 2019 at 05:30:03PM +0200, Christian Ehrhardt wrote: > > A while ago telemetry was added in 57ae0ec6 and it also added as- > > needed > > to config/meson.build. This seems no more needed these days as due > > to other > > b

Re: [dpdk-dev] [PATCH v2] build: avoid --as-needed as it causes overlinking

2019-08-29 Thread Bruce Richardson
On Thu, Aug 29, 2019 at 05:30:03PM +0200, Christian Ehrhardt wrote: > A while ago telemetry was added in 57ae0ec6 and it also added as-needed > to config/meson.build. This seems no more needed these days as due to other > build changes the ordering in buildlogs is: > [...] -lrte_telemetry [...] -

Re: [dpdk-dev] [PATCH 1/2] bus/pci: Fail rte_pci_probe if probing all whitelisted devices fail.

2019-08-29 Thread Stephen Hemminger
On Thu, 29 Aug 2019 03:47:02 + Nitin Katiyar wrote: > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Wednesday, August 28, 2019 1:43 AM > > To: Nitin Katiyar > > Cc: dev@dpdk.org; Venkatesan Pradeep > > > > Subject: Re: [dpdk-dev] [PAT

[dpdk-dev] [PATCH v2] build: avoid --as-needed as it causes overlinking

2019-08-29 Thread Christian Ehrhardt
A while ago telemetry was added in 57ae0ec6 and it also added as-needed to config/meson.build. This seems no more needed these days as due to other build changes the ordering in buildlogs is: [...] -lrte_telemetry [...] -Wl,--no-as-needed [...] Which means telemetry no more benefits from --no-as-

Re: [dpdk-dev] [PATCH] build: avoid --as-needed as it causes overlinking

2019-08-29 Thread Christian Ehrhardt
On Thu, Aug 29, 2019 at 12:18 PM Christian Ehrhardt wrote: > > On Wed, Aug 28, 2019 at 5:23 PM Aaron Conole wrote: > > > > Aaron Conole writes: > > > > > Christian Ehrhardt writes: > > > > > >> On Wed, Aug 28, 2019 at 3:53 PM Aaron Conole wrote: > > >>> > > >>> Christian Ehrhardt writes: > >

[dpdk-dev] DPDK Release Status Meeting 29/8/2019

2019-08-29 Thread Ferruh Yigit
Minutes 29 August 2019 -- Agenda: * Release Dates * V1 Status * Subtrees * OvS * Opens Participants: * Arm * Intel * Red Hat Release Dates - * v19.11 dates: * Proposal/V1 Friday 06 September 2019 * Integration/Merge/RC1 Friday 11 October

[dpdk-dev] [PATCH] net/af_xdp: enable support for unaligned umem chunks

2019-08-29 Thread Ciara Loftus
This patch enables the unaligned chunks feature for AF_XDP which allows chunks to be placed at arbitrary places in the umem, as opposed to them being required to be aligned to 2k. This allows for DPDK application mempools to be mapped directly into the umem and in turn enable zero copy transfer bet

Re: [dpdk-dev] [RFC] ethdev: configure SR-IOV VF from host

2019-08-29 Thread Iremonger, Bernard
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, August 15, 2019 4:06 PM > To: Yigit, Ferruh ; Andrew Rybchenko > > Cc: dev@dpdk.org; Iremonger, Bernard ; > Shahaf Shuler ; E. Scott Daniels > ; Lu, Wenzhuo ; Alex > Zelezniak ; Ajit Kha

[dpdk-dev] [PATCH v2 30/30] net/dpaa2: add soft parser driver

2019-08-29 Thread Sachin Saxena
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa2/Makefile| 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 24 +++ drivers/net/dpaa2/dpaa2_ethdev.h | 4 + drivers/net/dpaa2/dpaa2_sparser.c | 269 ++ drivers/net/dpaa2/dpaa2_sparser.h

[dpdk-dev] [PATCH v2 28/30] net/dpaa2: support separate MC portal per process

2019-08-29 Thread Sachin Saxena
From: Shreyansh Jain Earlier, there was a single MCP handle which was available across complete DPAA2 driver as well as part of the dev_private which was shared by the secondary process. For secondary, that is not valid and it would require to open its own handle for the MC. This is eventually u

[dpdk-dev] [PATCH v2 27/30] bus/fslmc: support multi vfio group

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal DPAA2 support VFIO device passthrough in VM. However in this case, each device is associated with different vfio group. This code required different container id for each group. On using the same container fd the second time, ioctl calls are returning error. Signed-off-by:

[dpdk-dev] [PATCH v2 26/30] bus/fslmc: check for Dma map in primary process only

2019-08-29 Thread Sachin Saxena
From: Shreyansh Jain DMA mapping is a property of primary process - SMMU population done once by primary doesn't need to be populated again in secondary Signed-off-by: Shreyansh Jain Reviewed-by: Sachin Saxena --- drivers/bus/fslmc/fslmc_bus.c | 15 +-- 1 file changed, 9 insertion

[dpdk-dev] [PATCH v2 29/30] net/dpaa2: add support for soft parser in MC

2019-08-29 Thread Sachin Saxena
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori Reviewed-by: Sachin Saxena --- drivers/net/dpaa2/mc/dpni.c | 117 drivers/net/dpaa2/mc/fsl_dpni.h | 133 drivers/net/dpaa2/mc/fsl_dpni_cmd.h | 43 - 3 files changed

[dpdk-dev] [PATCH v2 23/30] net/dpaa2: add dprtc sub-module

2019-08-29 Thread Sachin Saxena
From: Priyanka Jain This patch add support for dprtc (Data Path Real Time Clock) sub-module based on MC 10.16.0 flib. It provides interface for PTP stack software to access physical IEEE 1588 Real Time Clock. Signed-off-by: Priyanka Jain --- drivers/net/dpaa2/Makefile | 1 + drive

[dpdk-dev] [PATCH v2 24/30] net/dpaa2: add ptp driver

2019-08-29 Thread Sachin Saxena
From: Priyanka Jain This patch adds the support for PTP driver for DPAA2 devices. To enable set CONFIG_RTE_LIBRTE_IEEE1588=y in config/defconfig_arm64-dpaa2-linuxapp-gc Signed-off-by: Priyanka Jain --- config/defconfig_arm64-dpaa2-linuxapp-gcc| 2 +- drivers/bus/fslmc/fslmc_bus.c

[dpdk-dev] [PATCH v2 25/30] bus/fslmc: update PA-VA dpaax library only in PA mode

2019-08-29 Thread Sachin Saxena
From: Shreyansh Jain The address translation support for PA->VA is required only in case of PA mode operation of DPDK. This was causing warning to be reported on running any DPAA2 application in VA mode: Add: Incorrect entry for PA->VA Table(xx) Add: Lowest address:

[dpdk-dev] [PATCH v2 22/30] net/dpaa2: add timestamp support

2019-08-29 Thread Sachin Saxena
From: Priyanka Jain IEEE1588 driver needs timestamp of packets. For DPAA2, the timestamp of TX packets is stored in annotation area of corresponding TX confirmation packet. This patch enables timestamp fields in annotation area and TX confirmation mode if CONFIG_RTE_LIBRTE_IEEE1588 is set in con

[dpdk-dev] [PATCH v2 17/30] net/dpaa2: add cgr counters in xtra stats

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Add congestion frame drop and byte drop count in xtra stats. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa

[dpdk-dev] [PATCH v2 21/30] net/dpaa2: add Tx confirmation mode support

2019-08-29 Thread Sachin Saxena
From: Priyanka Jain TX confirmation mode provides dedicated confirmation queues for transmitted packets. These queues are used by software to get the status and release transmitted packets buffers. By default TX confirmation mode is kept disabled. Signed-off-by: Priyanka Jain --- drivers/bus/

[dpdk-dev] [PATCH v2 18/30] net/dpaa2: add support for config max Rx length in HW

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal The MC expects the length to be configured without CRC Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethde

[dpdk-dev] [PATCH v2 20/30] net/dpaa2: support dpdmux classification on eth type

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_mux.c | 84 +++ 1 file changed, 55 insertions(+), 29 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_mux.c b/drivers/net/dpaa2/dpaa2_mux.c index e487c6b54..1910cc418 100644 --- a/dr

[dpdk-dev] [PATCH v2 19/30] net/dpaa2: use LFQIDs in Tx instead of qdid

2019-08-29 Thread Sachin Saxena
Signed-off-by: Sachin Saxena --- drivers/net/dpaa2/dpaa2_ethdev.c | 10 ++ drivers/net/dpaa2/dpaa2_rxtx.c | 12 +--- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index a1ef5be6a..29f0bfdf2 100

[dpdk-dev] [PATCH v2 16/30] net/dpaa2: add taildrop support on frame count basis

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal The existing taildrop was based on queue data size. This patch replaces it with frame count bases using CGR methods of DPAA2 device. The number of CGRs are limited. So, - use per queue CGR based tail drop for as many as CGR available. - Remaining queues shall use the legacy b

[dpdk-dev] [PATCH v2 10/30] common/dpaax: reduce debug mesages

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal Reviewed-by: Sachin Saxena --- drivers/common/dpaax/dpaax_iova_table.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/common/dpaax/dpaax_iova_table.c b/drivers/common/dpaax/dpaax_iova_table.c index

[dpdk-dev] [PATCH v2 15/30] net/dpaa2: add optional non-prefetch Rx mode

2019-08-29 Thread Sachin Saxena
From: Nipun Gupta When we need particular number of packets from the rx routine, which would change in every call, we cannot prefetch the packets and provide previous results to the user. User can select the mode by using devargs for non pretech mode. Signed-off-by: Nipun Gupta --- doc/guides

[dpdk-dev] [PATCH v2 12/30] net/dpaa2: realign Rx offload support types

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index bbebb66fe..130fb5297 100644 --- a/drivers/ne

[dpdk-dev] [PATCH v2 11/30] mempool/dpaa: reduce debug messages

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal Reviewed-by: Sachin Saxena --- drivers/mempool/dpaa/dpaa_mempool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c index c371d3a6b..a25697f05 100

[dpdk-dev] [PATCH v2 14/30] net/dpaa2: support L2 payload based RSS distribution

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.h b/drivers/net/dpaa2/dpaa2_ethdev.h index 33b1506aa..69ab577f5 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.h +++ b/drivers/

[dpdk-dev] [PATCH v2 13/30] net/dpaa2: enable Rx offload for timestamp

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 130fb5297..4689cf9a4 100644 --- a/drivers/net/dpaa2/dpaa2_et

[dpdk-dev] [PATCH v2 05/30] net/dpaa: support Rx interrupt handler

2019-08-29 Thread Sachin Saxena
From: Nipun Gupta This patch adds interrupt handler support for the ethernet devices which are configured with a dedicated portal for packet Rx (i.e. for FQ's in push mode). Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman_driver.c | 3 ++- drivers/bus/dpaa/include/fsl_qman.h

[dpdk-dev] [PATCH v2 09/30] net/dpaa2: improve the Rx offload debug message

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index dd6a78f9f..bbebb66fe 100644 --- a/drivers/

[dpdk-dev] [PATCH v2 08/30] net/dpaa: reduce debug messages

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal Signed-off-by: Hemant Agrawal Reviewed-by: Sachin Saxena --- drivers/net/dpaa/dpaa_ethdev.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 42ab3d05f..dc2e584b1 100644 --- a/driv

[dpdk-dev] [PATCH v2 07/30] net/dpaa: add SG support in Tx for non DPAA buffer

2019-08-29 Thread Sachin Saxena
From: Nipun Gupta This patch adds support for Scatter Gather in the transmit side, for the cases where the buffer are received which are not from DPAA buffer pool. Signed-off-by: Nipun Gupta --- drivers/net/dpaa/dpaa_rxtx.c | 189 +++ 1 file changed, 101 inserti

[dpdk-dev] [PATCH v2 04/30] bus/dpaa: decouple fq portal alloc and init

2019-08-29 Thread Sachin Saxena
From: Nipun Gupta The decoupling of FQ portal allocation is required as a pre-requisite to support Rx interrupts as we need to have event FD's at portal allocation i.e. before the initialization of the Frame Queues. This change will help us get the event fd once the portals have been allocated fo

[dpdk-dev] [PATCH v2 06/30] net/dpaa: support for Rx interrupt enable and disable

2019-08-29 Thread Sachin Saxena
From: Nipun Gupta This patch adds support for dpaa eth driver interrupt enable and disable callback functions. Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c| 45 +++ drivers/bus/dpaa/base/qbman/qman_driver.c | 5 +++ drivers/bus/dpaa/base/qbman/

[dpdk-dev] [PATCH v2 03/30] bus/dpaa: remove un-necessary thread affinity

2019-08-29 Thread Sachin Saxena
From: Nipun Gupta Thread affinity is already taken care by DPDK. Remove them from bus. Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman_driver.c | 56 ++- drivers/bus/dpaa/dpaa_bus.c | 13 -- 2 files changed, 3 insertions(+), 66 deletions(-)

[dpdk-dev] [PATCH v2 01/30] bus/dpaa: fix DPAA SEC blacklist case

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal The black list of dpaa_sec devices fails. EAL: failed to parse device "dpaa:dpaa_sec-1" This patch address following issues: - bus usages dpaa-sec while the driver usage dpaa_sec - bus usages numbers from 0 to MAX_SEC - while driver probe usages sec number form max-fman_devi

[dpdk-dev] [PATCH v2 00/30] Enhancements and fixes in NXP dpaax drivers and fsl-mc bus

2019-08-29 Thread Sachin Saxena
This patch set adds following enhancements: 1. IEEE1588 support in net/dpaa2 2. Interrupt support in net/dpaa 3. Support multi vfio group in fsl-mc bus 4. Taildrop support on frame count basis 5. Soft parser driver in net/dpaa2 6. Enhanced debug infor

[dpdk-dev] [PATCH v2 02/30] net/dpaa: improve the Rx offload debug message

2019-08-29 Thread Sachin Saxena
From: Hemant Agrawal This patch also align few RX offload support to right category. Signed-off-by: Hemant Agrawal Reviewed-by: Sachin Saxena --- drivers/net/dpaa/dpaa_ethdev.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/net/dpaa/

Re: [dpdk-dev] [PATCH] build: avoid --as-needed as it causes overlinking

2019-08-29 Thread Christian Ehrhardt
On Wed, Aug 28, 2019 at 5:23 PM Aaron Conole wrote: > > Aaron Conole writes: > > > Christian Ehrhardt writes: > > > >> On Wed, Aug 28, 2019 at 3:53 PM Aaron Conole wrote: > >>> > >>> Christian Ehrhardt writes: > >>> > >>> > A while ago telemetry was added in 57ae0ec6 and it also added as-neede

[dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts

2019-08-29 Thread Bernard Iremonger
enable legacy mode in *_old scripts Signed-off-by: Bernard Iremonger --- examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +- examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +- examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +- examples/i

[dpdk-dev] [PATCH 0/2] examples/ipsec-secgw: set default

2019-08-29 Thread Bernard Iremonger
This patch set, sets the default code path in the ipsec-secgw application to use the librte_ipsec. The _old test scripts have been modified to use the legacy code patch Bernard Iremonger (2): examples/ipsec-secgw: set default to IPsec library mode examples/ipsec-secgw: add -l 0 parameter to ol

[dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode

2019-08-29 Thread Bernard Iremonger
Set the default code path to librte_ipsec mode. Add parameter 0 | 1 to -l option Check for conflicting options, -w -a -e and reassembly options are not supported in legacy mode. Show fragment table size. Update print_usage. Update the ipsec-secgw guide. Update the release notes. Signed-off-by: Ber

[dpdk-dev] [PATCH 0/2]

2019-08-29 Thread Bernard Iremonger
This patch set, sets the default code path in the ipsec-secgw application to use the librte_ipsec. The _old test scripts have been modified to use the legacy code patch Bernard Iremonger (2): examples/ipsec-secgw: set default to IPsec library mode examples/ipsec-secgw: add -l 0 parameter to

[dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode

2019-08-29 Thread Bernard Iremonger
Set the default code path to librte_ipsec mode. Add parameter 0 | 1 to -l option Check for conflicting options, -w -a -e and reassembly options are not supported in legacy mode. Show fragment table size. Update print_usage. Update the ipsec-secgw guide. Update the release notes. Signed-off-by: Ber

[dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts

2019-08-29 Thread Bernard Iremonger
enable legacy mode in *_old scripts Signed-off-by: Bernard Iremonger --- examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +- examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +- examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +- examples/i

[dpdk-dev] [PATCH 0/2]

2019-08-29 Thread Bernard Iremonger
This patch set, sets the default code path in the ipsec-secgw application to use the librte_ipsec. The _old test scripts have been modified to use the legacy code patch Bernard Iremonger (2): examples/ipsec-secgw: set default to IPsec library mode examples/ipsec-secgw: add -l 0 parameter to

[dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add -l 0 parameter to old scripts

2019-08-29 Thread Bernard Iremonger
enable legacy mode in *_old scripts Signed-off-by: Bernard Iremonger --- examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +- examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +- examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +- examples/i

[dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: set default to IPsec library mode

2019-08-29 Thread Bernard Iremonger
Set the default code path to librte_ipsec mode. Add parameter 0 | 1 to -l option Check for conflicting options, -w -a -e and reassembly options are not supported in legacy mode. Show fragment table size. Update print_usage. Update the ipsec-secgw guide. Update the release notes. Signed-off-by: Ber

[dpdk-dev] [PATCH v2 5/6] net/ice: switch to flexible descriptor in SSE path

2019-08-29 Thread Leyi Rong
From: Wenzhuo Lu With this path, the flexible descriptor is supported in SSE path. And the legacy descriptor is not supported. Signed-off-by: Wenzhuo Lu --- drivers/net/ice/ice_rxtx_vec_sse.c | 243 ++--- 1 file changed, 115 insertions(+), 128 deletions(-) diff --git a

[dpdk-dev] [PATCH v2 6/6] net/ice: switch to Rx flexible descriptor in AVX path

2019-08-29 Thread Leyi Rong
Switch to Rx flexible descriptor format instead of legacy descriptor format. Signed-off-by: Leyi Rong --- drivers/net/ice/ice_rxtx_vec_avx2.c | 232 ++-- 1 file changed, 118 insertions(+), 114 deletions(-) diff --git a/drivers/net/ice/ice_rxtx_vec_avx2.c b/drivers/net/i

[dpdk-dev] [PATCH v2 4/6] net/ice: support more ptype

2019-08-29 Thread Leyi Rong
From: Wenzhuo Lu More protocol types are supported by HW. Add them. Signed-off-by: Wenzhuo Lu --- drivers/net/ice/ice_rxtx.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index ade755c2f..75def755a 100644 --- a/drivers/

[dpdk-dev] [PATCH v2 3/6] net/ice: add protocol extraction support for per Rx queue

2019-08-29 Thread Leyi Rong
From: Haiyue Wang The ice has the feature to extract protocol fields into flex descriptor by programming per queue. Currently, the ice PMD will put the protocol fields into rte_mbuf::udata64 with different type format. Application can access the protocol fields quickly. Signed-off-by: Haiyue Wan

[dpdk-dev] [PATCH v2 2/6] net/ice: handle the Rx flex descriptor

2019-08-29 Thread Leyi Rong
From: Haiyue Wang Set the RXDID with flex descriptor type by default, change the Rx function to support new descriptor handling. Signed-off-by: Haiyue Wang --- drivers/net/ice/ice_rxtx.c | 236 + 1 file changed, 111 insertions(+), 125 deletions(-) diff --gi

[dpdk-dev] [PATCH v2 0/6] enable Rx flexible descriptor

2019-08-29 Thread Leyi Rong
This patchset enable Rx flexible descriptor for ice PMD in both normal path and vector path. Depends on shared code update patchset. --- v2: Remove the CONFIG_RTE_LIBRTE_ICE_PROTO_XTR definition, and use the RTE_LIBRTE_ICE_16BYTE_RX_DESC to control the protocol extraction when handling Rx packets.

[dpdk-dev] [PATCH v2 1/6] net/ice: add Rx flex descriptor definition

2019-08-29 Thread Leyi Rong
From: Haiyue Wang The Rx flex descriptor has 16B and 32B size, with different field definitions compared to legacy type. Signed-off-by: Haiyue Wang --- drivers/net/ice/ice_rxtx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ice/ice_rxtx.h b/drivers/net/ice/ice_rxtx.h index

[dpdk-dev] [PATCH 10/15] net/virtio: add vDPA op to configure and start the device

2019-08-29 Thread Maxime Coquelin
In order to support multi-queue, we need to implement the control path. The problem is that both the Vhost-user master and slave use VAs in their processes address spaces as IOVAs, which creates collusions between the data rings IOVAs managed the master, and the Control ring IOVAs. The trick here i

[dpdk-dev] [PATCH 13/15] net/virtio: add vDPA ops to get VFIO FDs

2019-08-29 Thread Maxime Coquelin
This patch implements the vDPA .get_vfio_group_fd() and .get_vfio_device_fd() callbacks. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 34 1 file changed, 34 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio

[dpdk-dev] [PATCH 12/15] net/virtio: add vDPA op to set features

2019-08-29 Thread Maxime Coquelin
On top of that, it allocates the control virtqueue if multiqueue has been negotiated. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 155 +++ 1 file changed, 155 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio/v

[dpdk-dev] [PATCH 14/15] net/virtio: add vDPA op to get notification area

2019-08-29 Thread Maxime Coquelin
This patch implements the vDPA .get_notify_area() callback. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 33 1 file changed, 33 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio/virtio_vdpa.c index e0b2f99b

[dpdk-dev] [PATCH 15/15] doc: add documentation for Virtio vDPA driver

2019-08-29 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- doc/guides/nics/index.rst | 1 + doc/guides/nics/virtio_vdpa.rst | 45 + 2 files changed, 46 insertions(+) create mode 100644 doc/guides/nics/virtio_vdpa.rst diff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.

[dpdk-dev] [PATCH 11/15] net/virtio: add vDPA op to stop and close the device

2019-08-29 Thread Maxime Coquelin
This patch implements the vDPA .dev_close() callback. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 52 1 file changed, 52 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio/virtio_vdpa.c index 13b4dd07d..691

[dpdk-dev] [PATCH 09/15] net/virtio: add virtio vDPA op to get protocol features

2019-08-29 Thread Maxime Coquelin
This patch implements the vDPA .get_protocol_features() callback. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio/virtio_vdpa.c index 9e2af8313..fc52a8e92

[dpdk-dev] [PATCH 04/15] net/virtio: add virtio PCI subsystem device ID declaration

2019-08-29 Thread Maxime Coquelin
The Virtio PCI susbsytem IDs need to be specified to prevent it to probe IFC vDPA VFs. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_pci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h index a38cb45ad..56f89a4

[dpdk-dev] [PATCH 07/15] net/virtio: add vDPA ops to get number of queue

2019-08-29 Thread Maxime Coquelin
This patch implements the vDPA .get_queue_num() callback. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 43 1 file changed, 43 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio/virtio_vdpa.c index bbb417b94.

[dpdk-dev] [PATCH 05/15] net/virtio: save notify bar ID in virtio HW struct

2019-08-29 Thread Maxime Coquelin
SAving the notify bar ID in the virtio HW struct will be used by the virtio-vdpa driver in its .get_notify_area() callback. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_pci.c | 6 -- drivers/net/virtio/virtio_pci.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH 06/15] net/virtio: add skeleton for virtio vDPA driver

2019-08-29 Thread Maxime Coquelin
This patch adds the base for the Virtio vDPA driver. This driver can be used either for development purpose, when probed with a para-virtualized Virtio device from a guest, or it can be used with real HW supporting full Virtio offload (both data and control paths). Signed-off-by: Maxime Coquelin

[dpdk-dev] [PATCH 08/15] net/virtio: add virtio vDPA op to get features

2019-08-29 Thread Maxime Coquelin
This patch implements the vDPA .get_features() callback. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_vdpa.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/net/virtio/virtio_vdpa.c b/drivers/net/virtio/virtio_vdpa.c index 07ff1e090..

[dpdk-dev] [PATCH 03/15] net/virtio: move control path fonctions in virtqueue file

2019-08-29 Thread Maxime Coquelin
Virtio-vdpa driver needs to implement the control path, so move related functions to virtqueue file so that it can be used by both Virtio PMD and Virtio-vdpa drivers. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_ethdev.c | 252 drivers/net/virtio/virt

  1   2   >