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

2019-09-03 Thread Maxime Coquelin
On 9/4/19 6:06 AM, Jason Wang wrote: > > On 2019/9/3 下午4:49, Tiwei Bie wrote: >> On Tue, Sep 03, 2019 at 09:40:25AM +0200, Maxime Coquelin wrote: >>> On 9/3/19 7:30 AM, Tiwei Bie wrote: On Thu, Aug 29, 2019 at 09:59:55AM +0200, Maxime Coquelin wrote: > In order to support multi-queue,

[dpdk-dev] [PATCH 3/4] net/ice: add pattern manifest

2019-09-03 Thread Ying Wang
The patch adds a manifest for all patterns which can be selected by low level filter engine to compose their supported list. Signed-off-by: Ying Wang --- drivers/net/ice/ice_generic_flow.c | 1287 drivers/net/ice/ice_generic_flow.h | 200 ++ 2 files chan

[dpdk-dev] [PATCH 2/4] net/ice: rework for generic flow enabling

2019-09-03 Thread Ying Wang
The patch reworks the generic flow API (rte_flow) implementation. It introduces an abstract layer which provides a unified interface for low-level filter engine (switch, fdir, hash) to register supported patterns and actions and implement flow validate/create/destroy/flush/ query activities. The p

[dpdk-dev] [PATCH 4/4] net/ice: rework switch filter

2019-09-03 Thread Ying Wang
From: wei zhao The patch reworks packet process engine's binary classifier (switch) for the new framework. Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 1292 +++ drivers/net/ice/ice_switch_filter.h |6 - 2 files changed, 1292 insertions(

[dpdk-dev] [PATCH 0/4] rework for ice generic flow framework and switch filter

2019-09-03 Thread Ying Wang
patch 1/4 adds devargs to control pipeline mode patch 2/4 rework for ice generic flow framework patch 3/4 add rte_flow pattern list patch 4/4 rework switch filter on new framework This patchset depend on the following patches on patchwork: (1) http://patches.dpdk.org/patch/58445/ [v3] net/ice:

[dpdk-dev] [PATCH 1/4] net/ice: add devargs to control pipeline mode

2019-09-03 Thread Ying Wang
From: Qiming Yang Added a devarg to control the mode in generic flow API. We use none-pipeline mode by default. Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst | 11 +++ drivers/net/ice/ice_ethdev.c | 16 +++- drivers/net/ice/ice_ethdev.h | 1 + 3 files changed

Re: [dpdk-dev] [PATCH] net/mlx5: fix transmit descriptor with VLAN insertions

2019-09-03 Thread Matan Azrad
Hi From: Slava Ovsiienko > Hi, Matan > > Please, see below. > > > -Original Message- > > From: Matan Azrad > > Sent: Tuesday, September 3, 2019 16:05 > > To: Slava Ovsiienko ; dev@dpdk.org > > Cc: sta...@dpdk.org > > Subject: RE: [PATCH] net/mlx5: fix transmit descriptor with VLAN > >

Re: [dpdk-dev] [PATCH v2 28/54] examples/flow_filtering: check status of getting ethdev info

2019-09-03 Thread Ori Kam
> -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, September 3, 2019 4:57 PM > To: Marko Kovacevic ; Ori Kam > ; Bruce Richardson ; > Pablo de Lara ; Radu Nicolau > ; Akhil Goyal ; Tomasz > Kantecki > Cc: dev@dpdk.org; Ivan Ilchenko > Subject: [PATCH v2 28/54] examples/flo

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

2019-09-03 Thread Jason Wang
On 2019/9/3 下午4:49, Tiwei Bie wrote: On Tue, Sep 03, 2019 at 09:40:25AM +0200, Maxime Coquelin wrote: On 9/3/19 7:30 AM, Tiwei Bie wrote: On Thu, Aug 29, 2019 at 09:59:55AM +0200, Maxime Coquelin wrote: In order to support multi-queue, we need to implement the control path. The problem is th

Re: [dpdk-dev] [EXT] [PATCH] security: update doxygen fields

2019-09-03 Thread Anoob Joseph
Hi Radu, Most parts of the file(rte_security.h) follows 'description after item' methodology. Do you think we should stick to that? @Akhil, @Thomas, what is the recommended way of documenting individual members of structure? Is it 'description after the item' or 'description before the item'?

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

2019-09-03 Thread Xu, Ting
Hi, Xiaolong, As for the pkg_file, we first determine the pkg file path according to the search order. And then it will be given to the original pkg loading function, ice_load_pkg, to check if the pkg is available. If not, an error is returned. I do not check the access because it will be check

Re: [dpdk-dev] [PATCH v4] net/ipn3ke: setup MTU when HW init

2019-09-03 Thread Pei, Andy
Hi Xiaolong OK. I will do that in v5. -Original Message- From: Ye, Xiaolong Sent: Tuesday, September 3, 2019 9:32 PM To: Pei, Andy Cc: dev@dpdk.org; Zhang, Qi Z ; Yigit, Ferruh ; Xu, Rosen Subject: Re: [PATCH v4] net/ipn3ke: setup MTU when HW init On 09/03, Andy Pei wrote: >set up mt

[dpdk-dev] [PATCH v5] net/ipn3ke: setup MTU when HW init

2019-09-03 Thread Andy Pei
set up mtu to the minimun in tx mtu, rx mtu and IPN3KE_MAC_FRAME_SIZE_MAX. Signed-off-by: Andy Pei --- Cc: qi.z.zh...@intel.com Cc: ferruh.yi...@intel.com Cc: rosen...@intel.com Cc: xiaolong...@intel.com v2: modify low bound and upper bound. v3: delete unnecessary MACROs. extract the duplicate

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

2019-09-03 Thread Ye Xiaolong
Hi, Ciara Thanks for the patch, the performance number is quite impressive. On 08/29, Ciara Loftus wrote: >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 all

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

2019-09-03 Thread Thomas Monjalon
03/09/2019 22:06, Aaron Conole: > Andrew Rybchenko writes: > > On September 3, 2019 21:14:58 Aaron Conole wrote: > >> Some errors with the series: > >> > >> https://travis-ci.com/ovsrobot/dpdk/builds/125755853 > > > > I guess it was applied to dpdk main repo, but should be on top of > > dpdk-ne

Re: [dpdk-dev] [PATCH v2] net/vmxnet3: Added mtu_set() function to allow setting MTU.

2019-09-03 Thread Yong Wang
-Original Message- From: "Myers, Charles" Date: Monday, August 19, 2019 at 9:07 PM To: Yong Wang Cc: "dev@dpdk.org" , "Myers, Charles" Subject: [PATCH v2] net/vmxnet3: Added mtu_set() function to allow setting MTU. From: Charles Myers When the mtu_set() function is not imp

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

2019-09-03 Thread Aaron Conole
Andrew Rybchenko writes: > On September 3, 2019 21:14:58 Aaron Conole wrote: > >> Andrew Rybchenko writes: >> >>> It is the first patch series to get rid of void returning functions >>> in ethdev in accordance with deprecation notice [1]. >>> >>> >>> Functions which return void are bad since th

[dpdk-dev] [PATCH] eal/reciprocal: fix off by one when divisor is 32bit

2019-09-03 Thread pbhagavatula
From: Pavan Nikhilesh Fix off by one error in 64bit reciprocal division when divisor is 32bit. Fixes: 6d45659eacb8 ("eal: add u64-bit variant for reciprocal divide") Cc: sta...@dpdk.org Signed-off-by: Pavan Nikhilesh --- Example: Division failed, 17358247066007716387/244 =

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

2019-09-03 Thread Andrew Rybchenko
On September 3, 2019 21:14:58 Aaron Conole wrote: Andrew Rybchenko writes: It is the first patch series to get rid of void returning functions in ethdev in accordance with deprecation notice [1]. Functions which return void are bad since they do not provide explicit information to the call

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

2019-09-03 Thread Aaron Conole
Andrew Rybchenko writes: > It is the first patch series to get rid of void returning functions > in ethdev in accordance with deprecation notice [1]. > > Functions which return void are bad since they do not provide explicit > information to the caller if everything is OK or not. It was bugs in >

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

2019-09-03 Thread Thomas Monjalon
03/09/2019 13:18, Anoob Joseph: > From: Jerin Jacob Kollanukkaran > > > +Marvell OCTEON TX2 crypto > > > +M: Ankur Dwivedi > > > +M: Anoob Joseph > > > +F: drivers/crypto/octeontx2/ > > > +F: doc/guides/cryptodevs/octeontx2.rst > > > +F: doc/guides/cryptodevs/features/octeontx2.ini > > > > > >

[dpdk-dev] [PATCH v1 4/5] test/ipsec: add ipsec SAD autotests

2019-09-03 Thread Vladimir Medvedkin
Signed-off-by: Vladimir Medvedkin --- app/test/Makefile | 1 + app/test/autotest_data.py | 6 + app/test/meson.build | 1 + app/test/test_ipsec_sad.c | 874 ++ 4 files changed, 882 insertions(+) create mode 100644 app/test/test_ipsec

[dpdk-dev] [PATCH v1 5/5] app: add test-sad application

2019-09-03 Thread Vladimir Medvedkin
Usage example and performance evaluation for the ipsec SAD library Signed-off-by: Vladimir Medvedkin --- app/Makefile | 1 + app/meson.build | 3 +- app/test-sad/Makefile| 18 ++ app/test-sad/main.c | 420 +++ app/tes

[dpdk-dev] [PATCH v1 3/5] ipsec: add SAD add/delete/lookup implementation

2019-09-03 Thread Vladimir Medvedkin
Replace rte_ipsec_sad_add(), rte_ipsec_sad_del() and rte_ipsec_sad_lookup() stubs with actual implementation. It uses three librte_hash tables each of which contains an entries for a specific SA type (either it is addressed by SPI only or SPI+DIP or SPI+DIP+SIP) Signed-off-by: Vladimir Medvedkin

[dpdk-dev] [PATCH v1 1/5] ipsec: add inbound SAD API

2019-09-03 Thread Vladimir Medvedkin
Add inbound security association database (SAD) API and stub implementation. Signed-off-by: Vladimir Medvedkin --- lib/librte_ipsec/Makefile | 2 + lib/librte_ipsec/ipsec_sad.c | 50 ++ lib/librte_ipsec/meson.build | 4 +- lib/librte_ipsec/rte_ipsec_

[dpdk-dev] [PATCH v1 2/5] ipsec: add SAD create/free API

2019-09-03 Thread Vladimir Medvedkin
Replace rte_ipsec_sad_create(), rte_ipsec_sad_free() and rte_ipsec_sad_find_existing() API stubs with actual implementation. Signed-off-by: Vladimir Medvedkin --- lib/librte_ipsec/Makefile| 2 +- lib/librte_ipsec/ipsec_sad.c | 221 +-- lib/librte_ips

[dpdk-dev] [PATCH v1 0/5] ipsec: add inbound SAD

2019-09-03 Thread Vladimir Medvedkin
According to RFC 4301 IPSec implementation needs an inbound SA database (SAD). For each incoming inbound IPSec-protected packet (ESP or AH) it has to perform a lookup within it’s SAD. Lookup should be performed by: Security Parameters Index (SPI) + destination IP (DIP) + source IP (SIP) or SPI +

[dpdk-dev] [RFC PATCH 9/9] examples/ipsec-secgw: add security cpu_crypto action support

2019-09-03 Thread Fan Zhang
Since ipsec library is added cpu_crypto security action type support, this patch updates ipsec-secgw sample application with added action type "cpu-crypto". The patch also includes a number of test scripts to prove the correctness of the implementation. Signed-off-by: Fan Zhang --- examples/ipse

[dpdk-dev] [RFC PATCH 8/9] ipsec: add rte_security cpu_crypto action support

2019-09-03 Thread Fan Zhang
This patch updates the ipsec library to handle the newly introduced RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO action. Signed-off-by: Fan Zhang --- lib/librte_ipsec/esp_inb.c | 174 +- lib/librte_ipsec/esp_outb.c | 290 +++- lib/librte_ip

[dpdk-dev] [RFC PATCH 5/9] crypto/aesni_mb: add rte_security handler

2019-09-03 Thread Fan Zhang
This patch add rte_security support support to AESNI-MB PMD. The PMD now initialize security context instance, create/delete PMD specific security sessions, and process crypto workloads in synchronous mode. Signed-off-by: Fan Zhang --- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 291 +++

[dpdk-dev] [RFC PATCH 4/9] app/test: add security cpu crypto perftest

2019-09-03 Thread Fan Zhang
Since crypto perf application does not support rte_security, this patch adds a simple GCM CPU crypto performance test to crypto unittest application. The test includes different key and data sizes test with single buffer and SGL buffer test items and will display the throughput as well as cycle cou

[dpdk-dev] [RFC PATCH 6/9] app/test: add aesni_mb security cpu crypto autotest

2019-09-03 Thread Fan Zhang
This patch adds cpu crypto unit test for AESNI_MB PMD. Signed-off-by: Fan Zhang --- app/test/test_security_cpu_crypto.c | 367 1 file changed, 367 insertions(+) diff --git a/app/test/test_security_cpu_crypto.c b/app/test/test_security_cpu_crypto.c index ca9

[dpdk-dev] [RFC PATCH 7/9] app/test: add aesni_mb security cpu crypto perftest

2019-09-03 Thread Fan Zhang
Since crypto perf application does not support rte_security, this patch adds a simple AES-CBC-SHA1-HMAC CPU crypto performance test to crypto unittest application. The test includes different key and data sizes test with single buffer test items and will display the throughput as well as cycle coun

[dpdk-dev] [RFC PATCH 1/9] security: introduce CPU Crypto action type and API

2019-09-03 Thread Fan Zhang
This patch introduce new RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO action type to security library. The type represents performing crypto operation with CPU cycles. The patch also includes a new API to process crypto operations in bulk and the function pointers for PMDs. Signed-off-by: Fan Zhang --- l

[dpdk-dev] [RFC PATCH 3/9] app/test: add security cpu crypto autotest

2019-09-03 Thread Fan Zhang
This patch adds cpu crypto unit test for AESNI_GCM PMD. Signed-off-by: Fan Zhang --- app/test/Makefile | 1 + app/test/meson.build| 1 + app/test/test_security_cpu_crypto.c | 564 3 files changed, 566 insertions(+) creat

[dpdk-dev] [RFC PATCH 2/9] crypto/aesni_gcm: add rte_security handler

2019-09-03 Thread Fan Zhang
This patch add rte_security support support to AESNI-GCM PMD. The PMD now initialize security context instance, create/delete PMD specific security sessions, and process crypto workloads in synchronous mode with scatter-gather list buffer supported. Signed-off-by: Fan Zhang --- drivers/crypto/ae

[dpdk-dev] [RFC PATCH 0/9] security: add software synchronous crypto process

2019-09-03 Thread Fan Zhang
This RFC patch adds a way to rte_security to process symmetric crypto workload in bulk synchronously for SW crypto devices. Originally both SW and HW crypto PMDs works under rte_cryptodev to process the crypto workload asynchronously. This way provides uniformity to both PMD types but also introd

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

2019-09-03 Thread Ye Xiaolong
On 08/29, Stephen Hemminger wrote: >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

[dpdk-dev] [PATCH v4 6/7] net/mlx5: supp modify VLAN ID on new VLAN header

2019-09-03 Thread Moti Haimovsky
This commit adds support for modifying the VLAN ID (VID) field in an about-to-be-pushed VLAN header. This feature can only modify the VID field of a new VLAN header yet to be pushed. It does not support modifying an existing or already pushed VLAN headers. Signed-off-by: Moti Haimovsky --- v4: -

[dpdk-dev] [PATCH v4 7/7] net/mlx5: supp modify VLAN ID on existing VLAN hdr

2019-09-03 Thread Moti Haimovsky
This commit adds support for modifying the VID of the outermost VLAN header already present in the packet. Signed-off-by: Moti Haimovsky --- doc/guides/nics/mlx5.rst| 20 - drivers/net/mlx5/mlx5_flow.h| 3 +- drivers/net/mlx5/mlx5_flow_dv.c | 90 +

[dpdk-dev] [PATCH v4 2/7] net/mlx5: add VLAN push/pop DR commands to glue

2019-09-03 Thread Moti Haimovsky
This commit adds the mlx5dv VLAN push and pop commands to mlx5_glue interface. Signed-off-by: Moti Haimovsky --- drivers/net/mlx5/Makefile| 5 + drivers/net/mlx5/meson.build | 2 ++ drivers/net/mlx5/mlx5_glue.c | 29 + drivers/net/mlx5/mlx5_glue.h | 6 +

[dpdk-dev] [PATCH v4 4/7] net/mlx5: support push flow action on VLAN header

2019-09-03 Thread Moti Haimovsky
This commit adds support for RTE_FLOW_ACTION_TYPE_OF_PUSH_VLAN using direct verbs flow rules. If present in the flow, The VLAN default values are taken from the VLAN item configuration. In this commit only the VLAN TPID value can be set since VLAN modification actions are not supported yet. Signed

[dpdk-dev] [PATCH v4 5/7] net/mlx5: support modify VLAN priority on VLAN hdr

2019-09-03 Thread Moti Haimovsky
This commit adds support for modifying the VLAN priority (PCP) field in about-to-be-pushed VLAN header. This feature can only modify the PCP field of a new VLAN header yet to be pushed. It does not support modifying an existing or already pushed VLAN headers. Signed-off-by: Moti Haimovsky --- v4:

[dpdk-dev] [PATCH v4 1/7] net/mlx5: support for an action search in a list

2019-09-03 Thread Moti Haimovsky
This commit adds a helper routine that supports searching for a specific action in a list of actions. Signed-off-by: Moti Haimovsky --- drivers/net/mlx5/mlx5_flow.c | 23 +++ drivers/net/mlx5/mlx5_flow.h | 3 +++ 2 files changed, 26 insertions(+) diff --git a/drivers/net/ml

[dpdk-dev] [PATCH v4 3/7] net/mlx5: support pop flow action on VLAN header

2019-09-03 Thread Moti Haimovsky
This commit adds support for RTE_FLOW_ACTION_TYPE_OF_POP_VLAN via direct verbs flow rules. Signed-off-by: Moti Haimovsky --- doc/guides/nics/mlx5.rst | 9 doc/guides/rel_notes/release_19_11.rst | 6 +++ drivers/net/mlx5/mlx5.c| 9 drivers/net/mlx5/mlx5.

[dpdk-dev] [PATCH v4 0/7] net/mlx5: support for flow action on VLAN header

2019-09-03 Thread Moti Haimovsky
VLAN actions support is implemented in librte_ethdev, and in test-pmd application, based on [1] Generic flow API. These actions conform to the VLAN actions defined in [2] the OpenFlow Switch Specification. rte_flow defines the following VLAN actions: 1. OF_POP_VLAN Pop the outer-most VLAN hea

Re: [dpdk-dev] [PATCH 10/11] drivers/net: use new logtype wrapper

2019-09-03 Thread Stephen Hemminger
On Tue, 3 Sep 2019 10:06:30 +0200 David Marchand wrote: > On Mon, Sep 2, 2019 at 6:11 PM Ferruh Yigit wrote: > > > > On 8/19/2019 12:41 PM, David Marchand wrote: > > > Make use of the newly introduced wrapper. > > > > > > Signed-off-by: David Marchand > > > > <...> > > > > > diff --git a/

[dpdk-dev] [BUG] service_lcore_en_dis_able from service_autotest failing

2019-09-03 Thread Aaron Conole
Hi Harry, I noticed as part of series_6218 (http://patches.dpdk.org/project/dpdk/list/?series=6218) that the travis build had a single failure, in service_autotest but it doesn't seem related to the series at all. https://travis-ci.com/ovsrobot/dpdk/jobs/230358460 Not sure if there's some kind

Re: [dpdk-dev] [PATCH 00/20] crypto/dpaaX_sec: Support Wireless algos

2019-09-03 Thread Akhil Goyal
> > > PDCP protocol offload using rte_security are supported in > > dpaa2_sec and dpaa_sec drivers. > > > > Wireless algos(SNOW/ZUC) without protocol offload are also > > supported as per crypto APIs. > > Hi Akhil, > > I didn't bisect this series, but it seems there's some kind of build > erro

Re: [dpdk-dev] [PATCH 00/20] crypto/dpaaX_sec: Support Wireless algos

2019-09-03 Thread Aaron Conole
Akhil Goyal writes: > PDCP protocol offload using rte_security are supported in > dpaa2_sec and dpaa_sec drivers. > > Wireless algos(SNOW/ZUC) without protocol offload are also > supported as per crypto APIs. Hi Akhil, I didn't bisect this series, but it seems there's some kind of build error:

Re: [dpdk-dev] [PATCH v2 14/54] net/failsafe: check status of getting ethdev info

2019-09-03 Thread Gaëtan Rivet
Hello Andrew, Ivan, I would have found more consistent merging this patch with the main ethdev one. It is short enough, I'm not sure this warrants a patch on its own. In any case, Acked-by: Gaetan Rivet On Tue, Sep 03, 2019 at 02:56:48PM +0100, Andrew Rybchenko wrote: > From: Ivan Ilchenko >

Re: [dpdk-dev] [PATCH] net/ixgbe: remove redundant assignment

2019-09-03 Thread Ye Xiaolong
On 08/30, Yong Wang wrote: >Since "link.link_duplex" has been assigned to ETH_LINK_FULL_DUPLEX just >before switch statement, the assignment in switch-case statement is >redundant. Remove it. > >Fixes: 82113036e4e5 ("ethdev: redesign link speed config") > >Signed-off-by: Yong Wang >--- > drivers/n

[dpdk-dev] [PATCH v2 53/54] examples/ethtool: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ethtool according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ethtool/ethtool-app/main.

[dpdk-dev] [PATCH v2 54/54] examples/exception_path: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/exception_path according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/exception_path/mai

[dpdk-dev] [PATCH v2 52/54] examples/kni: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/kni according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/kni/main.c | 25 +

[dpdk-dev] [PATCH v2 50/54] examples/ip_pipeline: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ip_pipeline according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ip_pipeline/kni.c |

[dpdk-dev] [PATCH v2 51/54] examples/load_balancer: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/load_balancer according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/load_balancer/init.

[dpdk-dev] [PATCH v2 49/54] examples/l2fwd-keepalive: check dev info get result

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l2fwd-keepalive according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l2fwd-keepalive/m

[dpdk-dev] [PATCH v2 47/54] examples/ipsec-secgw: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ipsec-secgw according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ipsec-secgw/ipsec-sec

[dpdk-dev] [PATCH v2 46/54] examples/multi_process: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/multi_process according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/multi_process/symme

[dpdk-dev] [PATCH v2 48/54] examples/netmap_compat: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/netmap_compat according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/netmap_compat/lib/c

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

2019-09-03 Thread Aaron Conole
Andrew Rybchenko writes: > On 8/29/19 8:05 PM, Thomas Monjalon wrote: > > 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

[dpdk-dev] [PATCH v2 45/54] examples/l2fwd-crypto: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l2fwd-crypto according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l2fwd-crypto/main.c

[dpdk-dev] [PATCH v2 43/54] examples/flow_classify: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/flow_classify according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/flow_classify/flow_

[dpdk-dev] [PATCH v2 44/54] examples/packet_ordering: check dev info get result

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/packet_ordering according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/packet_ordering/m

[dpdk-dev] [PATCH v2 42/54] examples/server_node_efd: check dev info get result

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/server_node_efd according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/server_node_efd/s

[dpdk-dev] [PATCH v2 41/54] examples/tep_termination: check dev info get result

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/tep_termination according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/tep_termination/v

[dpdk-dev] [PATCH v2 40/54] examples/link_status_interrupt: check dev info get result

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/link_status_interrupt according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/link_status

[dpdk-dev] [PATCH v2 39/54] examples/ptpclient: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ptpclient according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ptpclient/ptpclient.c |

[dpdk-dev] [PATCH v2 38/54] examples/vhost: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/vhost according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/vhost/main.c | 9 -

[dpdk-dev] [PATCH v2 37/54] examples/ip_reassembly: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ip_reassembly according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ip_reassembly/main.

[dpdk-dev] [PATCH v2 36/54] examples/eventdev: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/eventdev according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/eventdev_pipeline/main.c

[dpdk-dev] [PATCH v2 35/54] examples/bond: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/bond according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/bond/main.c | 14 +++

[dpdk-dev] [PATCH v2 33/54] examples/ipv4_multicast: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ipv4_multicast according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ipv4_multicast/mai

[dpdk-dev] [PATCH v2 32/54] examples/vmdq_dcb: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/vmdq_dcb according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/vmdq_dcb/main.c | 18 +++

[dpdk-dev] [PATCH v2 34/54] examples/l2fwd-jobstats: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l2fwd-jobstats according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l2fwd-jobstats/mai

[dpdk-dev] [PATCH v2 31/54] examples/skeleton: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/skeleton according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/skeleton/basicfwd.c | 8

[dpdk-dev] [PATCH v2 30/54] examples/l2fwd: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l2fwd according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l2fwd/main.c | 8 +++-

[dpdk-dev] [PATCH v2 27/54] examples/qos_sched: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/qos_sched according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/qos_sched/init.c | 8 ++

[dpdk-dev] [PATCH v2 29/54] examples/l3fwd-power: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l3fwd-power according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l3fwd-power/main.c |

[dpdk-dev] [PATCH v2 28/54] examples/flow_filtering: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/flow_filtering according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/flow_filtering/mai

[dpdk-dev] [PATCH v2 17/54] ethdev: change eth_dev_infos_get_t to return int

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko Change eth_dev_infos_get_t return value from void to int. Make eth_dev_infos_get_t implementations across all drivers to return negative errno values if case of error conditions. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/virtual_pmd.c

[dpdk-dev] [PATCH v2 26/54] examples/vm_power: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/vm_power according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/vm_power_manager/main.c

[dpdk-dev] [PATCH v2 25/54] examples/l3fwd-acl: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l3fwd-acl according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l3fwd-acl/main.c | 22 +

[dpdk-dev] [PATCH v2 24/54] examples/distributor: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/distributor according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/distributor/main.c |

[dpdk-dev] [PATCH v2 23/54] examples/vmdq: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/vmdq according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/vmdq/main.c | 16 +++

[dpdk-dev] [PATCH v2 22/54] examples/performance-thread: check dev info get result

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/performance-thread according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/performance-th

[dpdk-dev] [PATCH v2 21/54] examples/ip_frag: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/ip_frag according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/ip_fragmentation/main.c |

[dpdk-dev] [PATCH v2 19/54] examples/l3fwd: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/l3fwd according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/l3fwd/main.c | 14 +

[dpdk-dev] [PATCH v2 16/54] net/softnic: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across net/softnic according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- drivers/net/softnic/rte_eth_softnic_lin

[dpdk-dev] [PATCH v2 20/54] examples/qos_meter: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/qos_meter according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/qos_meter/main.c | 16 +

[dpdk-dev] [PATCH v2 14/54] net/failsafe: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across net/failsafe according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- drivers/net/failsafe/failsafe_ops.c |

[dpdk-dev] [PATCH v2 15/54] net/netvsc: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across net/netvsc according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- drivers/net/netvsc/hn_var.h | 2 +- dri

[dpdk-dev] [PATCH v2 18/54] examples/rxtx_callbacks: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across examples/rxtx_callbacks according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- examples/rxtx_callbacks/mai

[dpdk-dev] [PATCH v2 13/54] net/bonding: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across net/bonding according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- drivers/net/bonding/rte_eth_bond_api.c

[dpdk-dev] [PATCH v2 02/54] ethdev: change rte_eth_dev_info_get() return value to int

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko Change rte_eth_dev_info_get() return value from void to int and return negative errno values in case of error conditions. Modify rte_eth_dev_info_get() usage across the ethdev according to new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- do

[dpdk-dev] [PATCH v2 11/54] app/test: check ethdev info get result in event Rx adapter

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across app/test/test_event_eth_rx_adapter.c according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/test_

[dpdk-dev] [PATCH v2 10/54] app/test: check status of getting ethdev info in bonding

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across app/test/test_link_bonding_rssconf.c according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/test_

[dpdk-dev] [PATCH v2 12/54] net/bnxt: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across net/bnxt according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko Acked-by: Somnath Kotur --- drivers/net/bnxt/

[dpdk-dev] [PATCH v2 08/54] ring: check status of getting ethdev info

2019-09-03 Thread Andrew Rybchenko
From: Ivan Ilchenko rte_eth_dev_info_get() return value was changed from void to int, so this patch modify rte_eth_dev_info_get() usage across app/test/test_pmd_ring.c according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/test_pmd_ring.c |

  1   2   >