Re: [dpdk-dev] [PATCH 01/13] examples/eventdev: add Rx adapter support

2017-12-12 Thread Pavan Nikhilesh Bhagavatula
On Mon, Dec 11, 2017 at 04:15:41PM +, Eads, Gage wrote: > Hi Pavan, > > > > > static inline void > > schedule_devices(unsigned int lcore_id) { > > if (fdata->rx_core[lcore_id] && (fdata->rx_single || > > rte_atomic32_cmpset(&(fdata->rx_lock), 0, 1))) { > > - producer()

Re: [dpdk-dev] [PATCH 02/13] examples/eventdev: move common data into pipeline common

2017-12-12 Thread Pavan Nikhilesh Bhagavatula
On Mon, Dec 11, 2017 at 04:15:48PM +, Eads, Gage wrote: > Hi Pavan, > > > > > @@ -2,6 +2,7 @@ > > * BSD LICENSE > > * > > * Copyright(c) 2016-2017 Intel Corporation. All rights reserved. > > + * Copyright 2016 Cavium, Inc. > > Should this be 2017? Same for the copyright dates in pi

[dpdk-dev] [PATCH v5] examples/ipsec-secgw: fix usage of incorrect port

2017-12-12 Thread Anoob Joseph
When security offload is enabled, the packet should be forwarded on the port configured in the SA. Security session will be configured on that port only, and sending the packet on other ports could result in unencrypted packets being sent out. This would have performance improvements too, as the p

Re: [dpdk-dev] [PATCH] vhost_user: protect active rings from async ring changes

2017-12-12 Thread Maxime Coquelin
On 12/12/2017 06:25 AM, Tan, Jianfeng wrote: -Original Message- From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] Sent: Friday, December 8, 2017 6:12 PM To: Tan, Jianfeng; Victor Kaplansky; dev@dpdk.org; y...@fridaylinux.org; Bie, Tiwei Cc: sta...@dpdk.org; jfrei...@redhat.co

Re: [dpdk-dev] [PATCH 14/39] examples/ip_reassembly: convert to new ethdev offloads API

2017-12-12 Thread Ananyev, Konstantin
> -Original Message- > From: Shahaf Shuler [mailto:shah...@mellanox.com] > Sent: Tuesday, December 12, 2017 6:31 AM > To: Ananyev, Konstantin ; dev@dpdk.org; > Nicolau, Radu > Subject: RE: [dpdk-dev] [PATCH 14/39] examples/ip_reassembly: convert to new > ethdev offloads API > > Monday

Re: [dpdk-dev] [PATCH v3 1/2] lib/security: add support for get metadata

2017-12-12 Thread Akhil Goyal
Hi Anoob, On 12/11/2017 12:51 PM, Anoob wrote: Hi Akhil, Can you confirm if you are fine with the approach explained inline. Thanks, Anoob On 12/06/2017 03:13 PM, Radu Nicolau wrote: Hi, On 12/6/2017 7:30 AM, Anoob wrote: Hi Akhil, Radu, Please see inline. Thanks, Anoob On 11/24/2017

[dpdk-dev] [PATCH v2] eventdev: use links map to unlink queues

2017-12-12 Thread Pavan Nikhilesh
The octeontx event device doesn't store the queues to port mapping as a result it cannot return the exact number of queues unlinked from a port when application wants to unlink all the queues mapped (supplies queues param as NULL). Using links_map we can determine the exact queues mapped to a spec

[dpdk-dev] [PATCH v2 0/4] meter: add meter configuration profile api

2017-12-12 Thread Jasvinder Singh
This patch set adds support for meter configuration profiles. Benefits: simplified configuration procedure, improved performance. Q1: What is the configuration profile and why does it make sense? A1: The configuration profile represents the set of configuration parameters for a given meter obj

[dpdk-dev] [PATCH v2 3/4] examples/qos_meter: accommodate meter api changes

2017-12-12 Thread Jasvinder Singh
From: Cristian Dumitrescu Modify the sample application to adapt the api changes. Signed-off-by: Cristian Dumitrescu --- examples/qos_meter/main.c | 39 ++- examples/qos_meter/main.h | 32 2 files changed, 50 insertions(+), 2

[dpdk-dev] [PATCH v2 4/4] examples/ip_pipeline: update flow action pipeline

2017-12-12 Thread Jasvinder Singh
Update flow action pipeline to conform the meter api changes. Signed-off-by: Jasvinder Singh --- .../pipeline/pipeline_flow_actions_be.c| 25 +- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c

[dpdk-dev] [PATCH v2 2/4] test/test_meter: update meter test

2017-12-12 Thread Jasvinder Singh
From: Cristian Dumitrescu Modify the unit test to accomodate the changes in the apis. Signed-off-by: Cristian Dumitrescu --- test/test/test_meter.c | 194 + 1 file changed, 115 insertions(+), 79 deletions(-) diff --git a/test/test/test_meter.c b

[dpdk-dev] [PATCH v2 1/4] lib/librte_meter: add meter configuration profile

2017-12-12 Thread Jasvinder Singh
From: Cristian Dumitrescu This patch set adds api for meter configuration profiles. For a given meter object, the parameters such as the rates and sizes for the token buckets are defined as configuration profile parameters. This helps in reducing the memory footprint of a meter object which resul

[dpdk-dev] [PATCH 3/3] examples/l3fwd-power: use device max burst size

2017-12-12 Thread Nikhil Agarwal
On some of the hardware e.g. DPAA, rx burst can only return upto 16 packets, which causes the application to assume that no more packets are present. This patch modifies the application to use device published packet burst size. Signed-off-by: Nikhil Agarwal --- examples/l3fwd-power/main.c | 14

[dpdk-dev] [PATCH 1/3] ethdev: add max burst size to device info

2017-12-12 Thread Nikhil Agarwal
Currently, if the rte_eth_rx_burst() function returns a value less than *nb_pkts*, the application will assume that no more packets are present. Some of the hw queue based hardware can only support smaller burst for RX and TX and thus break the expectation of the rx_burst API. This patch adds su

[dpdk-dev] [PATCH 2/3] net/dpaa: implement max burst size in dev info

2017-12-12 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- drivers/net/dpaa/dpaa_ethdev.c | 1 + drivers/net/dpaa/dpaa_ethdev.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index cf5a2ec..79c6cc4 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/dri

[dpdk-dev] [PATCH 2/4] examples/l3fwd-power: fix the timer for any platform freq

2017-12-12 Thread Nikhil Agarwal
The code assumes that the platform frequency is 2GHz. This patch add support for dynamically detecting platform frequence. Fixes: d7937e2e3d12 ("power: initial import") Cc: sta...@dpdk.org Signed-off-by: Nikhil Agarwal --- examples/l3fwd-power/main.c | 8 1 file changed, 4 insertions(+

[dpdk-dev] [PATCH 1/4] examples/l3fwd-power: fix non Rx intr supported platform

2017-12-12 Thread Nikhil Agarwal
This existing code cause the platform to start receiving packet immediately irrespective of interrupts available or not. If the platform does not support Rx interrupt, it shall not start receiving packets immediately. It shall let the timer management work. Fixes: aee3bc79cc34 ("examples/l3fwd-pow

[dpdk-dev] [PATCH 4/4] examples/l3fwd-power: disable Lsc interrupts

2017-12-12 Thread Nikhil Agarwal
This application does not need Link Status Interrupt. It will cause failure for the platforms not supporting LSC. Signed-off-by: Nikhil Agarwal --- examples/l3fwd-power/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 4ddd0

[dpdk-dev] [PATCH 3/4] examples/l3fwd-power: replace desc done with Rx queue count

2017-12-12 Thread Nikhil Agarwal
HW queue based platforms may not support descriptor done API. This patch changes the usages to rx_queue_count API, which is more generic. Signed-off-by: Nikhil Agarwal --- examples/l3fwd-power/main.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/l3fwd-po

Re: [dpdk-dev] [PATCH 1/3] ethdev: add max burst size to device info

2017-12-12 Thread Matan Azrad
Hi Nikhil > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nikhil Agarwal > Sent: Tuesday, December 12, 2017 12:05 PM > To: dev@dpdk.org > Cc: david.h...@intel.com; nikhil.agar...@nxp.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com > Subject: [dpdk-dev] [PA

Re: [dpdk-dev] [PATCH 12/12] doc: update vhost crypto documentation

2017-12-12 Thread Kovacevic, Marko
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Fan Zhang > Sent: Monday, November 27, 2017 8:01 PM > To: dev@dpdk.org > Cc: Zhang, Roy Fan ; y...@fridaylinux.org; > maxime.coque...@redhat.com; Bie, Tiwei > Subject: [dpdk-dev] [PATCH 12/12] doc: update vhost c

Re: [dpdk-dev] [PATCH 1/3] ethdev: add max burst size to device info

2017-12-12 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Matan Azrad > Sent: Tuesday, December 12, 2017 10:46 AM > To: Nikhil Agarwal ; dev@dpdk.org > Cc: Hunt, David ; nikhil.agar...@nxp.com; > hemant.agra...@nxp.com; Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH 1/

Re: [dpdk-dev] [RFC] ethdev: add administrative information in per-port info

2017-12-12 Thread Olivier MATZ
Hi Andrew, On Wed, Nov 15, 2017 at 12:09:24PM +0300, Andrew Rybchenko wrote: > On 09/08/2017 12:21 PM, Ivan Boule wrote: > > To help administrative tasks on DPDK ports, add in the data structure > > rte_eth_dev_info the following per-port information to be supplied > > by the dev_infos_get() funct

Re: [dpdk-dev] [PATCH v5] examples/ipsec-secgw: fix usage of incorrect port

2017-12-12 Thread Radu Nicolau
On 12/12/2017 8:32 AM, Anoob Joseph wrote: When security offload is enabled, the packet should be forwarded on the port configured in the SA. Security session will be configured on that port only, and sending the packet on other ports could result in unencrypted packets being sent out. This wo

Re: [dpdk-dev] [PATCH 02/11] crypto/ccp: add support for AMD CCP crypto PMD

2017-12-12 Thread Kumar, Ravi1
>Hi Ravi, > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ravi Kumar >> Sent: Thursday, November 30, 2017 1:12 PM >> To: dev@dpdk.org >> Subject: [dpdk-dev] [PATCH 02/11] crypto/ccp: add support for AMD CCP >> crypto PMD >> > >As I said in the another patch

[dpdk-dev] [PATCH v2 02/39] examples/l2fwd-crypto: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l2fwd-crypto/main.c | 37 +++

[dpdk-dev] [PATCH v2 00/39] convert examples to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
This series is to convert DPDK examples to the new offloads API [1]. on v2: - Add DEV_TX_OFFLOAD_MBUF_FAST_FREE offload of entitled examples. - Instead of masking the un-supported offloads print a warning and let the PMD to fail the configuration. [1] http://dpdk.org/ml/archives/dev/2017-Oct

[dpdk-dev] [PATCH v2 01/39] examples/l2fwd: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l2fwd/main.c | 37 +-

[dpdk-dev] [PATCH v2 03/39] examples/l2fwd-jobstats: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l2fwd-jobstats/main.c | 38 +

[dpdk-dev] [PATCH v2 05/39] examples/l3fwd: move to ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l3fwd/main.c | 40 ++

[dpdk-dev] [PATCH v2 07/39] examples/l3fwd-power: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: David Hunt --- examples/l3fwd-power/main.c | 41 ++

[dpdk-dev] [PATCH v2 06/39] examples/l3fwd-acl: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: Konstantin Ananyev --- examples/l3fwd-acl/main.c | 40

[dpdk-dev] [PATCH v2 04/39] examples/l2fwd-keepalive: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l2fwd-keepalive/main.c | 38

[dpdk-dev] [PATCH v2 08/39] examples/l3fwd-vf: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l3fwd-vf/main.c | 37 ---

[dpdk-dev] [PATCH v2 09/39] examples/bond: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Reviewed-by: Radu Nicolau --- examples/bond/main.c | 65

[dpdk-dev] [PATCH v2 11/39] examples/kni: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/kni/main.c | 66

[dpdk-dev] [PATCH v2 12/39] examples/ip_fragmentation: convert to new offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: Konstantin Ananyev --- examples/ip_fragmentation/main.

[dpdk-dev] [PATCH v2 10/39] examples/exception_path: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/exception_path/main.c | 37 +

[dpdk-dev] [PATCH v2 13/39] examples/ip_pipeline: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ip_pipeline/config_parse.c | 14 -- exam

[dpdk-dev] [PATCH v2 16/39] examples/ipv4_multicast: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ipv4_multicast/main.c | 33 +

[dpdk-dev] [PATCH v2 14/39] examples/ip_reassembly: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ip_reassembly/main.c | 35 ++

[dpdk-dev] [PATCH v2 15/39] examples/ipsec-secgw: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ipsec-secgw/ipsec-secgw.c | 26 +

[dpdk-dev] [PATCH v2 17/39] examples/link_status_interrupt: convert to new offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/link_status_interrupt/main.c | 37 ++

[dpdk-dev] [PATCH v2 18/39] examples/load_balancer: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/load_balancer/init.c | 36 ++

[dpdk-dev] [PATCH v2 19/39] examples/multi_process: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/multi_process/l2fwd_fork/main.c | 35 +

[dpdk-dev] [PATCH v2 21/39] examples/performance-thread: convert to new offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/performance-thread/l3fwd-thread/main.c | 41

[dpdk-dev] [PATCH v2 23/39] examples/qos_sched: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/qos_sched/init.c | 30 +++---

[dpdk-dev] [PATCH v2 22/39] examples/qos_meter: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/qos_meter/main.c | 61 ++

[dpdk-dev] [PATCH v2 20/39] examples/netmap_compat: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/netmap_compat/bridge/bridge.c | 8 +++- exa

[dpdk-dev] [PATCH v2 25/39] examples/tep_termination: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/tep_termination/vxlan_setup.c | 36 +

[dpdk-dev] [PATCH v2 26/39] examples/vhost: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vhost/main.c | 41 ++

[dpdk-dev] [PATCH v2 24/39] examples/quota_watermark: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/quota_watermark/qw/init.c | 37 +

[dpdk-dev] [PATCH v2 27/39] examples/vmdq: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vmdq/main.c | 29 +++-- 1 fi

[dpdk-dev] [PATCH v2 28/39] examples/vmdq_dcb: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vmdq_dcb/main.c | 27 ++- 1

[dpdk-dev] [PATCH v2 29/39] examples/vm_power_manager: convert to new offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: David Hunt --- examples/vm_power_manager/main.c | 31 +

[dpdk-dev] [PATCH v2 31/39] examples/ethtool: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ethtool/ethtool-app/main.c | 7 ++- 1 file chang

[dpdk-dev] [PATCH v2 30/39] examples/distributor: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: Bruce Richardson --- examples/distributor/main.c | 25

[dpdk-dev] [PATCH v2 32/39] examples/eventdev_pipeline: convert to new offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/eventdev_pipeline_sw_pmd/main.c | 29 +++

[dpdk-dev] [PATCH v2 33/39] examples/flow_classify: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/flow_classify/flow_classify.c | 31 +

[dpdk-dev] [PATCH v2 34/39] examples/flow_filtering: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/flow_filtering/main.c | 26 +++--

[dpdk-dev] [PATCH v2 36/39] examples/ptpclient: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ptpclient/ptpclient.c | 28 +

[dpdk-dev] [PATCH v2 38/39] examples/server_node_efd: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/server_node_efd/server/init.c | 33 +

[dpdk-dev] [PATCH v2 35/39] examples/packet_ordering: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/packet_ordering/main.c | 32

[dpdk-dev] [PATCH v2 37/39] examples/rxtx_callbacks: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: Bruce Richardson --- examples/rxtx_callbacks/main.c |

[dpdk-dev] [PATCH v2 39/39] examples/skeleton: convert to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler Acked-by: Bruce Richardson --- examples/skeleton/basicfwd.c | 31

Re: [dpdk-dev] [PATCH v3] doc: add a restriction to multi-process support

2017-12-12 Thread Mcnamara, John
> -Original Message- > From: Chen, Junjie J > Sent: Wednesday, November 29, 2017 5:17 PM > To: Gonzalez Monroy, Sergio ; Mcnamara, > John ; Tahhan, Maryam ; > dev@dpdk.org > Cc: Chen, Junjie J > Subject: [PATCH v3] doc: add a restriction to multi-process support > > This patch add a res

Re: [dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-12-12 Thread Anoob Joseph
Hi Nelio, On 12/11/2017 07:34 PM, Nelio Laranjeiro wrote: Mellanox INNOVA NIC needs to have final target queue actions to perform inline crypto. Signed-off-by: Nelio Laranjeiro --- Changes in v3: * removed PASSTHRU test for ingress. * removed check on configured queues for the queue ac

Re: [dpdk-dev] [PATCH 2/5] app/testpmd: remove txqflags

2017-12-12 Thread Maciej Czekaj
-- Oryginal message -- Thursday, December 7, 2017 1:05 AM, Ferruh Yigit: On 12/4/2017 10:48 PM, Shahaf Shuler wrote: Tuesday, December 5, 2017 12:31 AM, Ferruh Yigit: On 11/23/2017 4:08 AM, Shahaf Shuler wrote: Since testpmd is now using the new Ethdev offloads API there is no need for the

[dpdk-dev] [PATCH v2 01/10] app/testpmd: fix port configuration print

2017-12-12 Thread Shahaf Shuler
The print of the port configuration was only according to configuration of the first port. Fixes: f2c5125a686a ("app/testpmd: use default Rx/Tx port configuration") Cc: pablo.de.lara.gua...@intel.com Cc: sta...@dpdk.org Signed-off-by: Shahaf Shuler --- app/test-pmd/config.c | 48 +++

[dpdk-dev] [PATCH v2 00/10] convert testpmd to new ethdev offloads API

2017-12-12 Thread Shahaf Shuler
This series is to convert testpmd application to the new offloads API [1]. on v2: - Splited the patchset to multiple patches to help with the review. - Removed wrong comments. - Removed redundent parenthesis. - Fixed port print parameters. - Introduced a new method to check if single port is

[dpdk-dev] [PATCH v2 02/10] app/testpmd: convert to new Ethdev Rx offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev Rx offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") Convert the application to use the new API. The is no functionality changes rather simple conversion of the flags. Signed-off-by: Shahaf Shuler --- app/test-pmd/cmdline.c| 51 +

[dpdk-dev] [PATCH v2 03/10] app/testpmd: support check of single port stop

2017-12-12 Thread Shahaf Shuler
This patch adds supports for checking if a single port is stopped. currently there is a function to check only for all ports. Signed-off-by: Shahaf Shuler --- app/test-pmd/testpmd.c | 16 app/test-pmd/testpmd.h | 1 + 2 files changed, 13 insertions(+), 4 deletions(-) diff --gi

[dpdk-dev] [PATCH v2 04/10] app/testpmd: convert to new Ethdev Tx offloads API

2017-12-12 Thread Shahaf Shuler
Ethdev Tx offloads API has changed since: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") Convert the application to use the new API. This patch mandates the port to be stopped when configure the Tx offloads. This is because the PMD must be aware to the offloads changes on the de

[dpdk-dev] [PATCH v2 05/10] app/testpmd: fix flowgen forwarding ol flags

2017-12-12 Thread Shahaf Shuler
The mbuf ol_flags were taken directly from testpmd internal enumeration leading to incorrect values. addressing only insertion offload flags as the checksum flags by the application design are only with csum forwarding. Fixes: e9e23a617eb8 ("app/testpmd: add flowgen forwarding engine") Cc: cchemp

[dpdk-dev] [PATCH v2 07/10] app/testpmd: add command line option for Tx offloads

2017-12-12 Thread Shahaf Shuler
This patch adds command line option to set hex value for the ports Tx offloads flags. Signed-off-by: Shahaf Shuler --- app/test-pmd/parameters.c | 17 +++-- app/test-pmd/testpmd.c| 4 app/test-pmd/testpmd.h| 2 ++ doc/guides/testpmd_

[dpdk-dev] [PATCH v2 06/10] app/testpmd: cleanup internal Tx offloads flags field

2017-12-12 Thread Shahaf Shuler
The tx_ol_flags field was used in order to control the different Tx offloads set. After the conversion to the new Ethdev Tx offloads API it is not needed anymore as the offloads configuration is stored in ethdev structs. Signed-off-by: Shahaf Shuler --- app/test-pmd/cmdline.c | 49 +

[dpdk-dev] [PATCH v2 08/10] app/testpmd: remove txqflags

2017-12-12 Thread Shahaf Shuler
Since testpmd is now using the new Ethdev offloads API and there is a way configure each of the tx offloads from CLI or command line, there is no need for the txqflags configuration anymore. Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v2 09/10] app/testpmd: enforce offloads caps

2017-12-12 Thread Shahaf Shuler
In the current design it was possible for offload to be set even though the device is not supporting it. A warning message was printed instead. This is a wrong behaviour, as application should set only the offloads reported by the capabilities of the device. This patch adds verification for the o

[dpdk-dev] [PATCH v2 10/10] app/testpmd: fix on the flight VLAN configuration

2017-12-12 Thread Shahaf Shuler
On ethdev there is an API to configure VLAN offloads after the port was started and without reconfiguration of the port or queues. In the current design of the application, when the Rx offloads are changed (through "port config all" CLI command) the port configuration is overwritten, therefore the

[dpdk-dev] [PATCH 2/3] net/ixgbe: implemented security session get size

2017-12-12 Thread Radu Nicolau
Signed-off-by: Radu Nicolau --- drivers/net/ixgbe/ixgbe_ipsec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ipsec.c b/drivers/net/ixgbe/ixgbe_ipsec.c index 105da11..720d6a1 100644 --- a/drivers/net/ixgbe/ixgbe_ipsec.c +++ b/drivers/net/ixgbe/ixgbe_ipsec.c @@

[dpdk-dev] [PATCH 1/3] lib/librte_security: added get size

2017-12-12 Thread Radu Nicolau
Signed-off-by: Radu Nicolau --- lib/librte_security/rte_security.c | 7 +++ lib/librte_security/rte_security.h | 12 lib/librte_security/rte_security_driver.h| 14 ++ lib/librte_security/rte_security_version.map | 1 + 4 files changed, 34 ins

[dpdk-dev] [PATCH 3/3] examples/ipsec_secgw: create session mempools for ethdevs

2017-12-12 Thread Radu Nicolau
Also moved offloaded packets from cryptodev queues Signed-off-by: Radu Nicolau --- examples/ipsec-secgw/ipsec-secgw.c | 42 +- examples/ipsec-secgw/ipsec.c | 31 ++-- examples/ipsec-secgw/ipsec.h | 4 ++-- 3 files changed,

Re: [dpdk-dev] [PATCH v3] doc: add a restriction to multi-process support

2017-12-12 Thread Chen, Junjie J
Done! Cheers JJ > -Original Message- > From: Mcnamara, John > Sent: Tuesday, December 12, 2017 8:41 PM > To: Chen, Junjie J ; Gonzalez Monroy, Sergio > ; Tahhan, Maryam > ; dev@dpdk.org > Subject: RE: [PATCH v3] doc: add a restriction to multi-process support > > > > > -Original Me

Re: [dpdk-dev] [PATCH 1/3] ethdev: add max burst size to device info

2017-12-12 Thread Shreyansh Jain
On Tuesday 12 December 2017 04:33 PM, Ananyev, Konstantin wrote: -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Matan Azrad Sent: Tuesday, December 12, 2017 10:46 AM To: Nikhil Agarwal ; dev@dpdk.org Cc: Hunt, David ; nikhil.agar...@nxp.com; hemant.agra...@nxp

Re: [dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-12-12 Thread Nelio Laranjeiro
Hi Anoob, On Tue, Dec 12, 2017 at 06:13:08PM +0530, Anoob Joseph wrote: > Hi Nelio, > > > On 12/11/2017 07:34 PM, Nelio Laranjeiro wrote: > > Mellanox INNOVA NIC needs to have final target queue actions to perform > > inline crypto. > > > > Signed-off-by: Nelio Laranjeiro > > > > --- > > > >

Re: [dpdk-dev] [PATCH v3 1/2] lib/security: add support for get metadata

2017-12-12 Thread Anoob Joseph
Hi Akhil, Radu On 12/12/2017 02:25 PM, Akhil Goyal wrote: Hi Anoob, On 12/11/2017 12:51 PM, Anoob wrote: Hi Akhil, Can you confirm if you are fine with the approach explained inline. Thanks, Anoob On 12/06/2017 03:13 PM, Radu Nicolau wrote: Hi, On 12/6/2017 7:30 AM, Anoob wrote: Hi Akh

[dpdk-dev] [PATCH v3 1/4] power: changed unsigned to unsigned int

2017-12-12 Thread Marko Kovacevic
Since this patch-set attempts to clean up the power library, and there are many instances of "unsigned" caught by checkpatch, it was decided to clean these up first rather than have them included in the later patches in the patch set. And would also minimise this type of error being caught by check

[dpdk-dev] [PATCH v3 2/4] power: clean up of power common header

2017-12-12 Thread Marko Kovacevic
Rename private header file rte_power_common.h to power_common.h to prevent private functions from leaking into the documentation. Signed-off-by: Marko Kovacevic Acked-By: David Hunt --- lib/librte_power/{rte_power_common.h => power_common.h} | 6 +++--- lib/librte_power/rte_power.c

[dpdk-dev] [PATCH v3 3/4] power: clean up of acpi files

2017-12-12 Thread Marko Kovacevic
Rename private header file rte_power_acpi_cpufreq.c to power_acpi_cpufreq.c.This prevents the private functions from leaking into the documentation. Change any private functions from rte_ to just .Reserve the rte_ for public functions. Signed-off-by: Marko Kovacevic Acked-By: David Hunt --- l

[dpdk-dev] [PATCH v3 4/4] power: clean up of kvm files

2017-12-12 Thread Marko Kovacevic
rename private header file rte_power_kvm_vm.c to power_kvm_vm.c. This prevents the private functions from leaking into the documentation. Change any private functions from rte_ to just . Reserve the rte_ for public functions Signed-off-by: Marko Kovacevic Acked-By: David Hunt --- lib/librte_p

Re: [dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-12-12 Thread Anoob Joseph
Hi Nelio, On 12/12/2017 07:14 PM, Nelio Laranjeiro wrote: Hi Anoob, On Tue, Dec 12, 2017 at 06:13:08PM +0530, Anoob Joseph wrote: Hi Nelio, On 12/11/2017 07:34 PM, Nelio Laranjeiro wrote: Mellanox INNOVA NIC needs to have final target queue actions to perform inline crypto. Signed-off-by:

Re: [dpdk-dev] [PATCHv3 0/4] dpdk: enhance EXPERIMENTAL api tagging

2017-12-12 Thread Bruce Richardson
On Mon, Dec 11, 2017 at 02:36:15PM -0500, Neil Horman wrote: > Hey all- > A few days ago, I was lamenting the fact that, when reviewing patches I > would frequently complain about ABI changes that were actually considered safe > because they were part of the EXPERIMENTAL api set. John M. ask

Re: [dpdk-dev] [PATCH v2] doc: update oldest supported kernel in Linux guide

2017-12-12 Thread Kovacevic, Marko
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, November 28, 2017 10:02 PM > To: dev@dpdk.org > Cc: step...@networkplumber.org; bl...@debian.org > Subject: [dpdk-dev] [PATCH v2] doc: update oldest supported kernel in Linux > gui

Re: [dpdk-dev] [PATCH] test/mempool: improve default mempool ops selection

2017-12-12 Thread Olivier MATZ
Hi Jerin, On Fri, Nov 17, 2017 at 11:37:03PM +0530, Jerin Jacob wrote: > Use of rte_eal_mbuf_default_mempool_ops() API will > allow to override pool handler through "--mbuf-pool-ops-name" > eal command line argument. > > Signed-off-by: Jerin Jacob > --- > test/test/test_mempool.c | 4 ++-- > 1

Re: [dpdk-dev] [PATCH] test/mempool_perf: improve default mempool ops selection

2017-12-12 Thread Olivier MATZ
On Sun, Nov 19, 2017 at 10:25:31AM +0530, Jerin Jacob wrote: > Use of rte_eal_mbuf_default_mempool_ops() API will > allow to override pool handler through "--mbuf-pool-ops-name" > eal command line argument. > > Signed-off-by: Jerin Jacob > --- > test/test/test_mempool_perf.c | 15 +++

Re: [dpdk-dev] [PATCHv3 0/4] dpdk: enhance EXPERIMENTAL api tagging

2017-12-12 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhor...@tuxdriver.com] > Sent: Monday, December 11, 2017 7:36 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Mcnamara, John ; > Richardson, Bruce > Subject: [PATCHv3 0/4] dpdk: enhance EXPERIMENTAL api tagging > > Hey all- > A few

Re: [dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-12-12 Thread Nelio Laranjeiro
Hi Anoob, On Tue, Dec 12, 2017 at 07:34:31PM +0530, Anoob Joseph wrote: > Hi Nelio, > > > On 12/12/2017 07:14 PM, Nelio Laranjeiro wrote: > > Hi Anoob, > > > > On Tue, Dec 12, 2017 at 06:13:08PM +0530, Anoob Joseph wrote: > > > Hi Nelio, > > > > > > > > > On 12/11/2017 07:34 PM, Nelio Laranje

Re: [dpdk-dev] [PATCH] doc: fix issues in metrics example

2017-12-12 Thread Kovacevic, Marko
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Mattias Rönnblom > Sent: Wednesday, November 29, 2017 9:29 AM > To: Mcnamara, John > Cc: dev@dpdk.org; Mattias Rönnblom > Subject: [dpdk-dev] [PATCH] doc: fix issues in metrics example > > The metrics example d

Re: [dpdk-dev] [RFC PATCH 3/3] doc: ethdev ABI change deprecation notice

2017-12-12 Thread Kovacevic, Marko
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Konstantin Ananyev > Sent: Friday, December 1, 2017 2:48 PM > To: dev@dpdk.org; dev@dpdk.org > Cc: Ananyev, Konstantin > Subject: [dpdk-dev] [RFC PATCH 3/3] doc: ethdev ABI change deprecation notice > > Signed-o

Re: [dpdk-dev] [PATCH] test/mempool: improve default mempool ops selection

2017-12-12 Thread santosh
On Friday 17 November 2017 11:37 PM, Jerin Jacob wrote: > Use of rte_eal_mbuf_default_mempool_ops() API will > allow to override pool handler through "--mbuf-pool-ops-name" > eal command line argument. > > Signed-off-by: Jerin Jacob > --- > test/test/test_mempool.c | 4 ++-- > 1 file changed, 2

  1   2   >