[dpdk-dev] [PATCH v9 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap

2018-07-05 Thread Nelio Laranjeiro
This series adds an easy and maintainable configuration version support for those two actions for 18.08 by using global variables in testpmd to store the necessary information for the tunnel encapsulation. Those variables are used in conjunction of RTE_FLOW_ACTION_{VXLAN,NVGRE}_ENCAP action to cre

[dpdk-dev] [PATCH v9 1/2] app/testpmd: add VXLAN encap/decap support

2018-07-05 Thread Nelio Laranjeiro
Due to the complex VXLAN_ENCAP flow action and based on the fact testpmd does not allocate memory, this patch adds a new command in testpmd to initialise a global structure containing the necessary information to make the outer layer of the packet. This same global structure will then be used by t

[dpdk-dev] [PATCH v9 2/2] app/testpmd: add NVGRE encap/decap support

2018-07-05 Thread Nelio Laranjeiro
Due to the complex NVGRE_ENCAP flow action and based on the fact testpmd does not allocate memory, this patch adds a new command in testpmd to initialise a global structure containing the necessary information to make the outer layer of the packet. This same global structure will then be used by t

[dpdk-dev] [PATCH 3/4] eventdev: add eth Tx adapter implementation

2018-07-05 Thread Nikhil Rao
This patch implements the Tx adapter APIs by invoking the corresponding eventdev PMD callbacks and also provides the common rte_service function based implementation when the eventdev PMD support is absent. Signed-off-by: Nikhil Rao --- config/rte_config.h|1 + li

[dpdk-dev] [PATCH 2/4] eventdev: add caps API and PMD callbacks for eth Tx adapter

2018-07-05 Thread Nikhil Rao
The caps API allows the application to query if the transmit stage is implemented in the eventdev PMD or uses the common rte_service function. The PMD callbacks support the eventdev PMD implementation of the adapter. Signed-off-by: Nikhil Rao --- lib/librte_eventdev/rte_eventdev.h | 30

[dpdk-dev] [PATCH 1/4] eventdev: add eth Tx adapter APIs

2018-07-05 Thread Nikhil Rao
The ethernet Tx adapter abstracts the transmit stage of an event driven packet processing application. The transmit stage may be implemented with eventdev PMD support or use a rte_service function implemented in the adapter. These APIs provide a common configuration and control interface and an tra

[dpdk-dev] [PATCH 4/4] eventdev: add auto test for eth Tx adapter

2018-07-05 Thread Nikhil Rao
This patch adds tests for the eth Tx adapter APIs. It also tests the data path for the rte_service function based implementation of the APIs. Signed-off-by: Nikhil Rao --- test/test/test_event_eth_tx_adapter.c | 633 ++ MAINTAINERS | 1

Re: [dpdk-dev] [PATCH v2 16/16] net/dpaa: implement scatter offload support

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 75 +- drivers/net/dpaa/dpaa_ethdev.h | 3 +- drivers/net/dpaa/dpaa_rxtx.c | 4 +-- drivers/net/dpaa/dpaa_rxtx.h | 2 --

Re: [dpdk-dev] [PATCH v2 14/16] net/dpaa: move the push queue set to global init

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) Acked-by: Shreyansh Jain

Re: [dpdk-dev] [PATCH v2 13/16] drivers: support function name in logs trace

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_logs.h | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 2 +- drivers/crypto/dpaa_sec/dpaa_sec_log.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 2

Re: [dpdk-dev] [PATCH v8 01/15] vhost: add virtio packed virtqueue defines

2018-07-05 Thread Maxime Coquelin
On 07/06/2018 04:52 AM, Tiwei Bie wrote: On Thu, Jul 05, 2018 at 11:07:27PM +0200, Maxime Coquelin wrote: From: Jens Freimann Signed-off-by: Jens Freimann --- lib/librte_vhost/vhost.h | 20 1 file changed, 20 insertions(+) diff --git a/lib/librte_vhost/vhost.h b/li

[dpdk-dev] [Bug 68] virt

2018-07-05 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=68 Bug ID: 68 Summary: virt Product: DPDK Version: 16.04 Hardware: All OS: All Status: CONFIRMED Severity: normal Priority: Normal Component: vhost/

Re: [dpdk-dev] [PATCH v2 10/16] net/dpaa: remove experimental tag from PMD APIs

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c| 6 +++--- drivers/net/dpaa/dpaa_ethdev.h| 8 +--- drivers/net/dpaa/rte_pmd_dpaa.h | 5 + drivers/net/dpaa/rte_pmd_dpaa_versio

Re: [dpdk-dev] [PATCH v2 09/16] net/dpaa: support default queue mode

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: In case DPAA FMAN configuration tool (FMC) is not available. System can still work with default queue. (1 queue per port). The commit message needs to reflect the fact this patch is also fixing some debugging logs which has not relation

Re: [dpdk-dev] [PATCH v2 08/16] bus/dpaa: make vdqcr configurable

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: From: Nipun Gupta This patch add support for configurable vdqcr exact flag. This boost the performance, however this can give side effects for some extra packet fetch. Which has been taken care in the patch as well. Signed-off-by: Nipun

Re: [dpdk-dev] [PATCH v2 07/16] bus/dpaa: implement new of API to get MAC address

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/dpaa/base/fman/of.c | 39 +++ drivers/bus/dpaa/include/of.h | 2 ++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 8 +

Re: [dpdk-dev] [PATCH v2] eventdev: add callback for Rx adapter SW transfers

2018-07-05 Thread Jerin Jacob
-Original Message- > Date: Thu, 28 Jun 2018 12:18:10 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com > CC: nikhil@intel.com, dev@dpdk.org > Subject: [PATCH v2] eventdev: add callback for Rx adapter SW transfers > X-Mailer: git-send-email 1.8.3.1 > > External Email > > A

Re: [dpdk-dev] [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter

2018-07-05 Thread Jerin Jacob
-Original Message- > Date: Mon, 2 Jul 2018 14:41:09 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com > CC: nikhil@intel.com, dev@dpdk.org > Subject: [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter > X-Mailer: git-send-email 1.8.3.1 > > External Email >

[dpdk-dev] [pull-request] next-eventdev 18.08 RC1

2018-07-05 Thread Jerin Jacob
The following changes since commit 05e0eee0001cb19671eb7e8d3dd68680a695fea2: net/ena: enable write combining (2018-06-30 00:12:58 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-eventdev for you to fetch changes up to 9131a10a60bdbf8cd19e0158c6e01648a1d25e

Re: [dpdk-dev] [PATCH v2 06/16] bus/dpaa: optimize the fq callback routine

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Avoid array of fq as packets are dq only from a single q. Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 15 +++ drivers/net/dpaa/dpaa_rxtx.c | 2 +- 2 files

Re: [dpdk-dev] [PATCH v2 05/16] net/dpaa2: fix the prefetch Rx to honor nb pkts

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: This patch fix the prefetch rx routine to ^ fixes set the next prefetch request to the size of nb_pkts. This will assume that next request will ideally will be of same size. Incorrect wording. Maybe: "It ass

Re: [dpdk-dev] [PATCH v2 04/16] net/dpaa: fix the queue err handling and logs

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Fixes: 5e7455931442 ("net/dpaa: support Rx queue configurations with eventdev") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- Acked-by: Shreyansh Jain

Re: [dpdk-dev] [PATCH v2 02/16] bus/dpaa: fix svr id fetch location

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Otherwise the SVR may not be avilable for dpaa init. Fixes: 3b59b73dea08 ("bus/dpaa: update platform SoC value register routines") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- Acked-by: Shreyansh Jain

Re: [dpdk-dev] [PATCH v2 15/16] bus/dpaa: add support for SG config

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman_hw.c | 42 +++ drivers/bus/dpaa/include/fsl_fman.h | 6 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 2 ++ 3 files change

Re: [dpdk-dev] [PATCH v2 11/16] bus/dpaa: cleanup unnecessary global variables

2018-07-05 Thread Shreyansh Jain
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: Changes originally in the patch "drivers: cleanup unnecessary global variables" by Pavan. The commit message above is not required. It doesn't add much value to the patch itself. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant

Re: [dpdk-dev] [PATCH v10 05/27] eal: introduce dtor macros

2018-07-05 Thread Shreyansh Jain
On Thursday 05 July 2018 05:18 PM, Gaetan Rivet wrote: Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/include/rte_common.h | 23 ++ 1 file changed, 23 insertions(+) diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.

Re: [dpdk-dev] [PATCH v8 01/15] vhost: add virtio packed virtqueue defines

2018-07-05 Thread Tiwei Bie
On Thu, Jul 05, 2018 at 11:07:27PM +0200, Maxime Coquelin wrote: > From: Jens Freimann > > Signed-off-by: Jens Freimann > --- > lib/librte_vhost/vhost.h | 20 > 1 file changed, 20 insertions(+) > > diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h > index 79

Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-07-05 Thread Liu, Yong
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sachin Saxena > Sent: Thursday, July 05, 2018 10:46 PM > To: Liu, Yong ; Yang, Zhiyong ; > tho...@monjalon.net; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread > local varia

Re: [dpdk-dev] [PATCH v2 14/20] net/mlx5: remove useless arguments in hrxq API

2018-07-05 Thread Yongseok Koh
On Wed, Jun 27, 2018 at 05:07:46PM +0200, Nelio Laranjeiro wrote: > RSS level is necessary to had a bit in the hash_fields which is already > provided in this API, for the tunnel, it is necessary to request such > queue to compute the checksum on the inner most, this last one should > always be act

Re: [dpdk-dev] [PATCH v2 13/20] net/mlx5: add RSS flow action

2018-07-05 Thread Yongseok Koh
On Wed, Jun 27, 2018 at 05:07:45PM +0200, Nelio Laranjeiro wrote: > Signed-off-by: Nelio Laranjeiro > --- > drivers/net/mlx5/mlx5_flow.c | 1211 +- > 1 file changed, 899 insertions(+), 312 deletions(-) > > diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/ml

Re: [dpdk-dev] [PATCH] net/virtio: fix build with gcc optimization on

2018-07-05 Thread Liu, Yong
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, July 04, 2018 5:52 PM > To: Liu, Yong ; maxime.coque...@redhat.com > Cc: dev@dpdk.org; Bie, Tiwei > Subject: Re: [PATCH] net/virtio: fix build with gcc optimization on > > On 7/4/2018 11:56 AM, Marvin Liu wrote: > > build err

Re: [dpdk-dev] [PATCH v2] crypto/virtio: fix iv physical address

2018-07-05 Thread Zhoujian (jay)
> -Original Message- > From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com] > Sent: Thursday, July 05, 2018 6:54 PM > To: Zhoujian (jay) ; Zhang, Roy Fan > ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH v2] crypto/virtio: fix iv physical address > > Hi Jianjay

[dpdk-dev] [PATCH v4 0/3] Support UDP/IPv4 GSO

2018-07-05 Thread Jiayu Hu
With the support of UDP Fragmentation Offload (UFO) and TCP Segmentation Offload (TSO) in virtio, VMs can exchange large UDP and TCP packets exceeding MTU between each other, which can greatly reduce per-packet processing overheads. When the destination of the large TCP and UDP packets is crossing

[dpdk-dev] [PATCH v4 3/3] gso: update documents for UDP/IPv4 GSO

2018-07-05 Thread Jiayu Hu
This patch updates the programmer guide and testpmd user guide for UDP/IPv4 GSO. Signed-off-by: Jiayu Hu Acked-by: Xiao Wang --- doc/guides/prog_guide/generic_segmentation_offload_lib.rst | 10 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst| 7 +++ 2 files changed,

[dpdk-dev] [PATCH v4 1/3] gso: support UDP/IPv4 fragmentation

2018-07-05 Thread Jiayu Hu
This patch adds GSO support for UDP/IPv4 packets. Supported packets may include a single VLAN tag. UDP/IPv4 GSO doesn't check if input packets have correct checksums, and doesn't update checksums for output packets (the responsibility for this lies with the application). Additionally, UDP/IPv4 GSO

[dpdk-dev] [PATCH v4 2/3] app/testpmd: enable UDP GSO in csum engine

2018-07-05 Thread Jiayu Hu
This patch enables GSO for UDP/IPv4 packets. Oversized UDP/IPv4 packets transmitted over a GSO-enabled port will undergo segmentation. Signed-off-by: Jiayu Hu Acked-by: Xiao Wang Acked-by: Bernard Iremonger Tested-by: Yuwei Zhang --- app/test-pmd/cmdline.c | 5 +++-- app/test-pmd/csumonly.c

Re: [dpdk-dev] [PATCH v10 04/27] kvargs: introduce a more flexible parsing function

2018-07-05 Thread Thomas Monjalon
05/07/2018 13:48, Gaetan Rivet: > This function permits defining additional terminating characters, > ending the parsing to arbitrary delimiters. [...] > +__rte_experimental > +struct rte_kvargs *rte_kvargs_parse2(const char *args, > + const char *const valid_keys[], > + con

Re: [dpdk-dev] [PATCH v10 02/27] kvargs: remove error logs

2018-07-05 Thread Thomas Monjalon
05/07/2018 13:48, Gaetan Rivet: > Error logs in kvargs parsing should be better handled in components > calling the library. > > This library must be as lean as possible. > > Signed-off-by: Gaetan Rivet Acked-by: Thomas Monjalon

Re: [dpdk-dev] [PATCH v10 03/27] kvargs: build before EAL

2018-07-05 Thread Thomas Monjalon
05/07/2018 13:48, Gaetan Rivet: > Signed-off-by: Gaetan Rivet You should add a commit log to explain the intent: kvargs will be used in EAL for devargs parsing.

[dpdk-dev] [PATCH v8 15/15] vhost: advertize packed ring layout support

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index 3daa6e7d0..27fb0d34d 100644 --- a/lib/librte_vhost/vhost.h +++ b/lib/librte_vhost/vhost.h @@ -275,7 +275,8 @@

[dpdk-dev] [PATCH v8 14/15] vhost: add notification for packed ring

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 71 +++-- lib/librte_vhost/vhost.h | 73 +-- lib/librte_vhost/vhost_user.c | 24 ++ lib/librte_vhost/virtio_net.c | 12 +++ 4 files c

[dpdk-dev] [PATCH v8 13/15] vhost: add Tx support for packed ring

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 1 + lib/librte_vhost/virtio_net.c | 119 +- 2 files changed, 119 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index 9caa05493..a18c63cad

[dpdk-dev] [PATCH v8 12/15] vhost: add Rx support for packed ring

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 123 -- 1 file changed, 119 insertions(+), 4 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 68dba3081..ebf62071f 100644 --- a/lib/librte_vhost

[dpdk-dev] [PATCH v8 11/15] vhost: add vector filling support for packed ring

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 111 ++ 1 file changed, 111 insertions(+) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index a3500e69c..68dba3081 100644 --- a/lib/librte_vhost/virtio_net.c ++

[dpdk-dev] [PATCH v8 10/15] vhost: create descriptor mapping function

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 70 --- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index d335afd65..a3500e69c 100644 --- a/lib/librte_vhost

[dpdk-dev] [PATCH v8 09/15] vhost: add shadow used ring support for packed rings

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 9 -- lib/librte_vhost/vhost.h | 13 ++-- lib/librte_vhost/vhost_user.c | 64 -- lib/librte_vhost/virtio_net.c | 71 +-- 4 files changed, 13

[dpdk-dev] [PATCH v8 08/15] vhost: append shadow used ring function names with split

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 7705c853b..7db3877d4 100644 --- a/lib/librte_vhost/virtio_net.c +

[dpdk-dev] [PATCH v8 06/15] vhost: clear batch copy index at copy time

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 85b7ca02f..b5f4f14df 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librte_vhost/v

[dpdk-dev] [PATCH v8 05/15] vhost: make indirect desc table copy desc type agnostic

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index e189cbb2c..85b7ca02f 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librt

[dpdk-dev] [PATCH v8 07/15] vhost: extract split ring handling from Rx and Tx functions

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 238 +++--- 1 file changed, 129 insertions(+), 109 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index b5f4f14df..7705c853b 100644 --- a/lib/librte_vho

[dpdk-dev] [PATCH v8 04/15] vhost: clear shadow used table index at flush time

2018-07-05 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 81377e79a..e189cbb2c 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librte_vhost/virtio

[dpdk-dev] [PATCH v8 03/15] vhost: vring address setup for packed queues

2018-07-05 Thread Maxime Coquelin
From: Yuanhan Liu Add code to set up packed queues when enabled. Signed-off-by: Yuanhan Liu Signed-off-by: Jens Freimann Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 43 ++- lib/librte_vhost/vhost.h | 7 ++- lib/librte_v

[dpdk-dev] [PATCH v8 00/15] Vhost: add support to packed ring layout

2018-07-05 Thread Maxime Coquelin
This series is a handover from Jen's "[PATCH v4 00/20] implement packed virtqueues", which only implements the vhost side. Virtio PMD implementation will follow in a next series. The series applies on top of previous reworks I posted during this cycle that merges mergeable and non-mergeable recei

[dpdk-dev] [PATCH v8 01/15] vhost: add virtio packed virtqueue defines

2018-07-05 Thread Maxime Coquelin
From: Jens Freimann Signed-off-by: Jens Freimann --- lib/librte_vhost/vhost.h | 20 1 file changed, 20 insertions(+) diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index 79e3117d2..4fc804bd8 100644 --- a/lib/librte_vhost/vhost.h +++ b/lib/librte_vhost/vho

[dpdk-dev] [PATCH v8 02/15] vhost: add helpers for packed virtqueues

2018-07-05 Thread Maxime Coquelin
From: Jens Freimann Add some helper functions to check descriptor flags and check if a vring is of type packed. Signed-off-by: Jens Freimann Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 13 + 1 file changed, 13 insertions(+) diff --git a/lib/librte_vhost/vhost.h

Re: [dpdk-dev] [RFC 0/3] ethdev: add IP address and TCP/UDP port rewrite actions to flow API

2018-07-05 Thread Adrien Mazarguil
On Tue, Jul 03, 2018 at 07:09:22PM +0530, Rahul Lakkireddy wrote: > On Tuesday, July 07/03/18, 2018 at 07:57:55 +0530, Jack Min wrote: > > Hey Rahul, > > > > Thank you, those two are the ways to achieve that. > > > > Personally I prefer the option 1 but with a little bit difference, > > somethin

Re: [dpdk-dev] [PATCH v2 12/20] net/mlx5: add mark/flag flow action

2018-07-05 Thread Yongseok Koh
On Thu, Jul 05, 2018 at 10:47:35AM +0200, Nélio Laranjeiro wrote: > On Wed, Jul 04, 2018 at 01:34:19AM -0700, Yongseok Koh wrote: > > On Wed, Jun 27, 2018 at 05:07:44PM +0200, Nelio Laranjeiro wrote: > > > Signed-off-by: Nelio Laranjeiro > > > --- > > > drivers/net/mlx5/mlx5_flow.c | 209

Re: [dpdk-dev] [PATCH] net/sfc: cut non VLAN ID bits from TCI

2018-07-05 Thread Adrien Mazarguil
On Thu, Jul 05, 2018 at 01:14:49PM +0200, Adrien Mazarguil wrote: > On Fri, Jun 29, 2018 at 04:23:31PM +0100, Andrew Rybchenko wrote: > > TCI may contain PCP or DEI bits. Matching of these bits is not > > supported, but the bits still may be set in specification value and > > not covered by mask. S

[dpdk-dev] [pull-request] next-net 18.08 RC1

2018-07-05 Thread Ferruh Yigit
The following changes since commit 05e0eee0001cb19671eb7e8d3dd68680a695fea2: net/ena: enable write combining (2018-06-30 00:12:58 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-net for you to fetch changes up to e5647516deae231db94b5488a6c3d48310ab619c:

Re: [dpdk-dev] [PATCH v2] net/mlx5: add support for 32bit systems

2018-07-05 Thread Ferruh Yigit
On 7/5/2018 6:07 PM, Mordechay Haimovsky wrote: > Hello Ferruh, > Here are my findings: > > 1. The error you've seen is definitely a bug in mlx5dv.h from rdma-core > (I'm emphasizing rdma-core since I cannot just send a fix for this file) > As it didn’t take into account that an add

[dpdk-dev] [PATCH v3 16/16] docs/qat: refactor docs adding compression guide

2018-07-05 Thread Fiona Trahe
Extend QAT guide to cover crypto and compression and common information, particularly about kernel driver dependency. Update release note. Update compression feature list for qat. Signed-off-by: Fiona Trahe --- config/common_base | 2 +- doc/guides/compressdevs/features/q

[dpdk-dev] [PATCH v3 15/16] compress/qat: prevent device usage if incorrect firmware

2018-07-05 Thread Fiona Trahe
Previous check only causes op to fail on dequeue. This extends so once first fail is detected, application can no longer enqueue ops to the device and will also get an appropriate error if trying to reconfigure or setup the device. Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_

[dpdk-dev] [PATCH v3 13/16] compress/qat: create and populate the ops structure

2018-07-05 Thread Fiona Trahe
Create an ops structure and populate it with the qat-specific functions. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 38 - drivers/compress/qat/qat_comp_pmd.h | 30 - 2 files c

[dpdk-dev] [PATCH v3 12/16] compress/qat: add device start and stop fns

2018-07-05 Thread Fiona Trahe
There are no specific actions needed to start/stop a QAT comp device so these are just trivial fns to satisfy the pmd API. Signed-off-by: Fiona Trahe --- drivers/compress/qat/qat_comp_pmd.c | 11 +++ drivers/compress/qat/qat_comp_pmd.h | 6 ++ 2 files changed, 17 insertions(+) diff

[dpdk-dev] [PATCH v3 10/16] compress/qat: add fn to return device info

2018-07-05 Thread Fiona Trahe
Add capabilities pointer to internal qat comp device and function to return this and other info. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 18 ++ drivers/compress/qat/qat_comp_pmd.h | 6 ++ 2 files changed, 24 inserti

[dpdk-dev] [PATCH v3 11/16] compress/qat: add enqueue/dequeue functions

2018-07-05 Thread Fiona Trahe
Wrap generic qat enqueue/dequeue functions with compressdev enqueue and dequeue fns. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 14 ++ drivers/compress/qat/qat_comp_pmd.h | 8 2 files changed, 22 insertions(+) diff -

[dpdk-dev] [PATCH v3 14/16] compress/qat: add fns to create and destroy the PMD

2018-07-05 Thread Fiona Trahe
Now that all the device operations are available, add the functions to create and destroy the pmd. Called on probe and remove of the qat pci device, these register the device with the compressdev API and plug in all the device functionality. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwia

[dpdk-dev] [PATCH v3 09/16] compress/qat: add fns to configure and clear device

2018-07-05 Thread Fiona Trahe
Add functions to configure and clear the qat comp device, including the creation and freeing of the xform pool and the freeing of queue-pairs. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 96 + drivers/com

[dpdk-dev] [PATCH v3 04/16] compress/qat: add xform processing

2018-07-05 Thread Fiona Trahe
Add code to process compressdev rte_comp_xforms, creating private qat_comp_xforms with prepared firmware message templates. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.c | 239 drivers/compress/qat/qat_comp.

[dpdk-dev] [PATCH v3 06/16] compress/qat: check that correct firmware is in use

2018-07-05 Thread Fiona Trahe
Check bit in response message to verify that correct firmware is in use for compression. If not return an error. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.c | 16 +++- drivers/compress/qat/qat_comp.h | 2 ++ 2 files changed, 17 inser

[dpdk-dev] [PATCH v3 05/16] compress/qat: create fw request and process response

2018-07-05 Thread Fiona Trahe
Add functions to create the request message to send to firmware and to process the firmware response. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.c | 101 drivers/compress/qat/qat_comp.h | 8 +++ drive

[dpdk-dev] [PATCH v3 07/16] compress/qat: add stats functions

2018-07-05 Thread Fiona Trahe
Add functions to get and clear compression queue-pair statistics. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 35 +++ drivers/compress/qat/qat_comp_pmd.h | 7 +++ 2 files changed, 42 insertions(+) diff

[dpdk-dev] [PATCH v3 08/16] compress/qat: setup queue-pairs for compression service

2018-07-05 Thread Fiona Trahe
Setup and clear queue-pairs for handling compression requests and responses. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.h | 2 ++ drivers/compress/qat/qat_comp_pmd.c | 62 + drivers/compress/qat/qat_comp_pm

[dpdk-dev] [PATCH v3 03/16] compress/qat: add meson build

2018-07-05 Thread Fiona Trahe
Add meson build files. Signed-off-by: Tomasz Jozwiak Signed-off-by: Fiona Trahe --- drivers/common/qat/Makefile | 2 +- drivers/compress/meson.build | 2 +- drivers/compress/qat/meson.build | 18 ++ drivers/compress/qat/rte_pmd_qat_

[dpdk-dev] [PATCH v3 02/16] compress/qat: add makefiles for PMD

2018-07-05 Thread Fiona Trahe
Add Makefiles, directory and empty source files for compression PMD. Handle cases for building either symmetric crypto PMD or compression PMD or both and the common files both depend on. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- MAINTAINERS | 4

[dpdk-dev] [PATCH v3 01/16] common/qat: updated firmware headers

2018-07-05 Thread Fiona Trahe
Updated to latest firmware headers files for QuickAssist devices. Includes updates for symmetric crypto, PKE and Compression services. Signed-off-by: Fiona Trahe --- drivers/common/qat/qat_adf/icp_qat_fw.h | 69 +++- drivers/common/qat/qat_adf/icp_qat_fw_comp.h | 482 ++

[dpdk-dev] [PATCH v3 00/16] compress/qat: add compression PMD

2018-07-05 Thread Fiona Trahe
Create compression PMD for Intel QuickAssist devices Currently only the C62x and c3xxx devices are supported. The qat comp PMD supports - stateless compression and decompression using the Deflate algorithm with Fixed Huffman encoding. Dynamic huffman encoding is not supported, it will be

Re: [dpdk-dev] [PATCH v2] net/mlx5: add support for 32bit systems

2018-07-05 Thread Mordechay Haimovsky
Hello Ferruh, Here are my findings: 1. The error you've seen is definitely a bug in mlx5dv.h from rdma-core (I'm emphasizing rdma-core since I cannot just send a fix for this file) As it didn’t take into account that an address may be a 32bit one when performing the 32bit shift.

Re: [dpdk-dev] [dpdk-stable] [PATCH] security: fix segfault when destroy NULL session

2018-07-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: stable [mailto:stable-boun...@dpdk.org] On Behalf Of Akhil Goyal > Sent: Thursday, July 5, 2018 11:52 AM > To: Nicolau, Radu ; dev@dpdk.org > Cc: bor...@mellanox.com; Doherty, Declan ; > sta...@dpdk.org > Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] security:

Re: [dpdk-dev] [PATCH] crypto/snow3g: add dynamic logging

2018-07-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: Pattan, Reshma > Sent: Wednesday, July 4, 2018 10:54 AM > To: De Lara Guarch, Pablo ; dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: RE: [dpdk-dev] [PATCH] crypto/snow3g: add dynamic logging > > Hi Pablo, > > Also need to remove CONFIG_RTE_LIBRTE_PMD

Re: [dpdk-dev] [PATCH] test/crypto: fix the devid testcases

2018-07-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: stable [mailto:stable-boun...@dpdk.org] On Behalf Of De Lara Guarch, > Pablo > Sent: Thursday, July 5, 2018 1:29 PM > To: Hemant Agrawal > Cc: dev@dpdk.org; sta...@dpdk.org; Doherty, Declan > > Subject: Re: [dpdk-stable] [PATCH] test/crypto: fix the devid t

[dpdk-dev] [PATCH v2 16/16] docs/qat: refactor docs adding compression guide

2018-07-05 Thread Fiona Trahe
Extend QAT guide to cover crypto and compression and common informationi, particularly about kernel driver. Update release note. Update compression feature ist for qat. Change-Id: I7d9bde8b71d23e5e160170243ae4705aaa4cff3d Signed-off-by: Fiona Trahe --- config/common_base |

[dpdk-dev] [PATCH v2 14/16] compress/qat: add fns to create and destroy the PMD

2018-07-05 Thread Fiona Trahe
Now that all the device operations are available, add the functions to create and destroy the pmd. Called on probe and remove of the qat pci device, these register the device with the compressdev API and plug in all the device functionality. Change-Id: I288fe781a5ea4a8595bc00754089921af89c2f50 Sig

[dpdk-dev] [PATCH v2 15/16] compress/qat: prevent device usage if incorrect firmware

2018-07-05 Thread Fiona Trahe
Previous check only causes op to fail on dequeue. This extends so once first fail is detected, application can no longer enqueue ops to the device and will also get an appropriate error if trying to reconfigure or setup the device. Change-Id: Ie196fbaa0ab09ecdf5dfb8e4c3059b3d437a53a6 Signed-off-by

[dpdk-dev] [PATCH v2 13/16] compress/qat: create and populate the ops structure

2018-07-05 Thread Fiona Trahe
Create an ops structure and populate it with the qat-specific finctions. Change-Id: I4fec917df598b983b889e4e07e5aa110774e446d Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 38 - drivers/compress/qat/qat_com

[dpdk-dev] [PATCH v2 12/16] compress/qat: add device start and stop fns

2018-07-05 Thread Fiona Trahe
There are no specific actions needed to start/stop a QAT comp device so these are just trivial fns to satisfy the pmd API. Change-Id: I09288ffee58614ee68acf54f031b0eadb991b266 Signed-off-by: Fiona Trahe --- drivers/compress/qat/qat_comp_pmd.c | 11 +++ drivers/compress/qat/qat_comp_pmd.h

[dpdk-dev] [PATCH v2 11/16] compress/qat: add enqueue/dequeue functions

2018-07-05 Thread Fiona Trahe
Wrap generic qat enqueue/dequeue functions with compressdev enqueue and dequeue fns. Change-Id: Ie2fd918f17b29fd97f52ce9773966d231f4c7a33 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 14 ++ drivers/compress/qat/qat_comp_pmd.h |

[dpdk-dev] [PATCH v2 10/16] compress/qat: add fn to return device info

2018-07-05 Thread Fiona Trahe
Add capabilities ptr to internal qat comp device and function to return this and other info. Change-Id: Ic0bf5375e0fbf6338d90fb10e7b9ae1454c93792 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 18 ++ drivers/compress/qat/qat_co

[dpdk-dev] [PATCH v2 08/16] compress/qat: setup queue-pairs for compression service

2018-07-05 Thread Fiona Trahe
Setup and clear queue-pairs for handling compression requests and responses. Change-Id: Id9e517eb7bfcbbd3a79cae8f6757c91cc46d4de6 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.h | 2 ++ drivers/compress/qat/qat_comp_pmd.c | 62 ++

[dpdk-dev] [PATCH v2 09/16] compress/qat: add fns to configure and clear device

2018-07-05 Thread Fiona Trahe
Add functions to configure and clear the qat comp device, including the creation and freeing of the xform pool and the freeing of queue-pairs. Change-Id: I24d75b20141ae9bda3917dda0c9c2accf874cf88 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c |

[dpdk-dev] [PATCH v2 06/16] compress/qat: check that correct firmware is in use

2018-07-05 Thread Fiona Trahe
Check bit in response message to verify that correct firmware is in use for compression. If not return an error. Change-Id: I0d1a6ba3a27380226e60491e66aef3284e49de67 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.c | 16 +++- drivers/compr

[dpdk-dev] [PATCH v2 07/16] compress/qat: add stats functions

2018-07-05 Thread Fiona Trahe
Add fns to get and clear compression queue-pair stats. Change-Id: I22cbf2425c96850472410da11a18be64727f5d17 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp_pmd.c | 35 +++ drivers/compress/qat/qat_comp_pmd.h | 7 +++

[dpdk-dev] [PATCH v2 05/16] compress/qat: create fw request and process response

2018-07-05 Thread Fiona Trahe
Add functions to create the request message to send to firmware and to process the firmware response. Change-Id: Ie03a6ba3de3741f237e2247d543f2e7101c7435d Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.c | 101

[dpdk-dev] [PATCH v2 04/16] compress/qat: add xform processing

2018-07-05 Thread Fiona Trahe
Add code to process compressdev rte_comp_xforms, creating private qat_comp_xforms with prepared firmware message templates. Change-Id: I8e785d3a6ab3fe196d581413d938244f8143d7bb Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/compress/qat/qat_comp.c | 239 +++

[dpdk-dev] [PATCH v2 02/16] compress/qat: add makefiles for PMD

2018-07-05 Thread Fiona Trahe
Add Makefiles, directory and empty source files for compression PMD. Handle cases for building either symmetric crypto PMD or compression PMD or both and the common files both depend on. Change-Id: I71c4c6abd1982443cd6f7ff25e03bb161fb3fb16 Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak

[dpdk-dev] [PATCH v2 03/16] compress/qat: add meson build

2018-07-05 Thread Fiona Trahe
Add meson build files. Change-Id: Ia759f56fcc230f90252afcc5e1745c6fb78cefa3 Signed-off-by: Tomasz Jozwiak Signed-off-by: Fiona Trahe --- drivers/common/qat/Makefile | 2 +- drivers/compress/meson.build | 2 +- drivers/compress/qat/meson.build | 18

Re: [dpdk-dev] [PATCH v2] examples/multi_process: add l2fwd_fork to Makefile

2018-07-05 Thread Ferruh Yigit
On 7/3/2018 5:16 PM, Emma Kenny wrote: > l2fwd_fork is not complied by default, this will make it compile > > Fixes: 95e8005a56e8 ("examples/l2fwd_fork: new app") > > Signed-off-by: Emma Kenny Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH v2 01/16] common/qat: updated firmware headers

2018-07-05 Thread Fiona Trahe
Updated to latest firmware headers files for QuickAssist devices. Includes updates for symmetric crypto, PKE and Compression services. Change-Id: Ia8890f78361852664d555db1a26ecc03ef2c39d2 Signed-off-by: Fiona Trahe --- drivers/common/qat/qat_adf/icp_qat_fw.h | 69 +++- drivers/common/qat/q

[dpdk-dev] [PATCH v2 00/16] compress/qat: add compression PMD

2018-07-05 Thread Fiona Trahe
Create compression PMD for Intel QuickAssist devices Currently only the C62x and c3xxx devices are supported. The qat comp PMD supports - stateless compression and decompression using the Deflate algorithm with Fixed Huffman encoding. Dynamic huffman encoding is not supported, it will be

[dpdk-dev] [PATCH] app/testpmd: fix typo in setting Tx offload command

2018-07-05 Thread Ferruh Yigit
udp_cksum is duplicated, second one should be tcp_cksum Fixes: c73a9071877a ("app/testpmd: add commands to test new offload API") Cc: sta...@dpdk.org Signed-off-by: Ferruh Yigit --- Cc: wei@intel.com --- app/test-pmd/cmdline.c | 8 doc/guides/testpmd_app_ug/tes

  1   2   3   >