Re: [dpdk-dev] [EXT] [PATCH V2] crypto/octeontx: enable unbinding for the OCTEON TX crypto engines

2019-09-12 Thread Anoob Joseph
Version history has to be after ---. @Akhil, can you make this change when you submit? Acked-by: Anoob Joseph > -Original Message- > From: Thierry Herbelot > Sent: Friday, September 13, 2019 12:10 PM > To: dev@dpdk.org > Cc: Thomas Monjalon ; sta...@dpdk.org; Anoob > Joseph > Subject

[dpdk-dev] [PATCH V2] crypto/octeontx: enable unbinding for the OCTEON TX crypto engines

2019-09-12 Thread Thierry Herbelot
Like for Ethernet ports, the OCTEON TX crypto engines must first be unbound from their kernel module, then rebound to vfio-pci, before being usable in DPDK. As this capability is detected at runtime by dpdk-pmdinfo, add the info in the PMD registering directives. Then an external script can be us

Re: [dpdk-dev] [PATCH v2 1/5] event/dpaa2: fix def queue conf

2019-09-12 Thread Jerin Jacob
On Sat, Sep 7, 2019 at 12:14 PM Hemant Agrawal wrote: > > Test vector expect only one type of scheduling as default. > The old code is provide support scheduling types instead of default. > > Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") > Cc: sta...@dpdk.org > Signed-off-by:

Re: [dpdk-dev] [PATCH v2 0/5] net/qede: fixes and enhancement

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 8:54 PM Shahed Shaikh wrote: > > First four patches are part of a fix for the ovs-dpdk issue > with 100Gb NIC [1]. > Fifth patch adds support for drop action in rte_flow. > > [1] > As per HW design of 100Gb mode, device internally uses 2 engines > (eng0 and eng1), and both

Re: [dpdk-dev] [EXT] [PATCH] crypto/openssl: support SG for inplace buffers

2019-09-12 Thread Anoob Joseph
Hi Akhil, Please see inline. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Monday, September 2, 2019 6:13 PM > To: dev@dpdk.org > Cc: hemant.agra...@nxp.com; Anoob Joseph ; Jerin > Jacob Kollanukkaran ; declan.dohe...@intel.com; > konstantin.anan...@intel.com; Akhil Goy

[dpdk-dev] [PATCH v2 1/1] app/testpmd: add console cmd to show port supported ptypes

2019-09-12 Thread vattunuru
From: Vamsi Attunuru Patch adds a runtime function to display port supported ptypes in different layers. Signed-off-by: Vamsi Attunuru --- V2 Changes: * Replaced numbers with macros. * Updated 19.11 release notes with command details. * Corrected patch title. app/test-pmd/cmdline.c

Re: [dpdk-dev] [PATCH] lib/rcu: fix possible spurious thread unregister

2019-09-12 Thread Honnappa Nagarahalli
Thanks Ruifeng, looks good. > -Original Message- > From: Ruifeng Wang > Sent: Monday, September 9, 2019 8:52 AM > To: Honnappa Nagarahalli > Cc: dev@dpdk.org; Gavin Hu (Arm Technology China) ; > nd ; Ruifeng Wang (Arm Technology China) > ; sta...@dpdk.org > Subject: [PATCH] lib/rcu: fix

Re: [dpdk-dev] [EXT] Re: [PATCH 0/5] net/bnx2x: update to latest FW

2019-09-12 Thread Rasesh Mody
Hi Jerin, >From: Jerin Jacob >Sent: Thursday, September 12, 2019 5:12 AM > >-- >On Fri, Sep 6, 2019 at 12:56 PM Rasesh Mody wrote: >> >> Hi, >> >> Currently, BNX2X PMD uses a very old firmware 7.2.51. >> This patch series update

Re: [dpdk-dev] [PATCH 6/9] eal: getopt implementation for windows

2019-09-12 Thread Stephen Hemminger
On Mon, 9 Sep 2019 12:54:01 -0700 Pallavi Kadam wrote: > Adding getopt_long.c and getopt.c files to support parsing > option on Windows. > The original contribution is under MIT license. > > Signed-off-by: Antara Ganesh Kolar > Signed-off-by: Pallavi Kadam > Reviewed-by: Ranjit Menon > Revie

Re: [dpdk-dev] [PATCH 3/9] eal: add windows compatible header files

2019-09-12 Thread Stephen Hemminger
On Thu, 12 Sep 2019 10:11:23 -0700 Pallavi Kadam wrote: > On 9/10/2019 2:19 AM, Stephen Hemminger wrote: > > On Mon, 9 Sep 2019 12:53:58 -0700 > > Pallavi Kadam wrote: > > > >> --- /dev/null > >> +++ b/lib/librte_eal/windows/eal/include/getopt.h > >> @@ -0,0 +1,59 @@ > >> +/* musl as a whole

Re: [dpdk-dev] [RFC 0/5] ipsec: add inbound SAD

2019-09-12 Thread Ananyev, Konstantin
> -Original Message- > From: Medvedkin, Vladimir > Sent: Tuesday, August 13, 2019 4:13 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin ; Iremonger, Bernard > > Subject: [RFC 0/5] ipsec: add inbound SAD > > According to RFC 4301 IPSec implementation needs an inbound SA database (SAD). >

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

2019-09-12 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Thursday, September 12, 2019 7:31 PM > To: Medvedkin, Vladimir ; dev@dpdk.org > Cc: Iremonger, Bernard ; akhil.go...@nxp.com > Subject: Re: [dpdk-dev] [PATCH v1 5/5] app: add test-sad

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

2019-09-12 Thread Ananyev, Konstantin
> > Usage example and performance evaluation for the ipsec SAD library As a generic comment - I think all rules after lookup is missing. Also seems right now only ipv4 keys are supported by the app. Would be good to have ipv6 support also. > > Signed-off-by: Vladimir Medvedkin > --- > app

Re: [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-12 Thread Mike DeVico
Hi Jeff, Thanks for chiming in... Yeah, In my case I get the packets, but they end up being put in queue 0 instead of 2. --Mike From: Jeff Weeks Date: Thursday, September 12, 2019 at 10:47 AM To: Mike DeVico , Thomas Monjalon Cc: "dev@dpdk.org" , Beilei Xing , Qi Zhang , Bruce Richardson ,

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

2019-09-12 Thread Ananyev, Konstantin
> --- a/lib/librte_ipsec/ipsec_sad.c > +++ b/lib/librte_ipsec/ipsec_sad.c > @@ -2,10 +2,41 @@ > * Copyright(c) 2019 Intel Corporation > */ > > +#include > #include > +#include > +#include > +#include > +#include > +#include > +#include > > #include "rte_ipsec_sad.h" > > +#define

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

2019-09-12 Thread Ananyev, Konstantin
Hi Vladimir, > > 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) > > S

Re: [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-12 Thread Jeff Weeks
I don't have much else to add, except that I also see dcb fail on the same NIC: i40e_dcb_init_configure(): default dcb config fails. err = -53, aq_err = 3. My card doesn't receive any packets, though; not sure if it's related to this, or not. --Jeff /dev/j

Re: [dpdk-dev] [PATCH 3/9] eal: add windows compatible header files

2019-09-12 Thread Pallavi Kadam
On 9/10/2019 2:19 AM, Stephen Hemminger wrote: On Mon, 9 Sep 2019 12:53:58 -0700 Pallavi Kadam wrote: --- /dev/null +++ b/lib/librte_eal/windows/eal/include/getopt.h @@ -0,0 +1,59 @@ +/* musl as a whole is licensed under the following standard MIT license: + * + * --

Re: [dpdk-dev] Issue with DCB with X710 Quad 10Gb NIC

2019-09-12 Thread Mike DeVico
Still no hits... --Mike On 9/9/19, 1:39 PM, "Thomas Monjalon" wrote: [EXTERNAL SENDER] Adding i40e maintainers and few more. 07/09/2019 01:11, Mike DeVico: > Hello, > > I am having an issue getting the DCB feature to work with an Intel > X710 Quad SFP+ NIC

[dpdk-dev] DPDK techboard minutes of September 11

2019-09-12 Thread Thomas Monjalon
Meeting notes for the DPDK technical board meeting held on 2019-05-08 Attendees: 9/9 - Bruce Richardson - Ferruh Yigit - Hemant Agrawal - Jerin Jacob - Konstantin Ananyev - Maxime Coquelin - Olivier Matz - Stephen Hemminger -

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

2019-09-12 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 v4 53/54] examples/ethtool: check status of getting ethdev info

2019-09-12 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 v4 52/54] examples/kni: check status of getting ethdev info

2019-09-12 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 v4 49/54] examples/l2fwd-keepalive: check dev info get result

2019-09-12 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 v4 32/54] examples/vmdq_dcb: check status of getting ethdev info

2019-09-12 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 v4 48/54] examples/netmap_compat: check status of getting ethdev info

2019-09-12 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

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

2019-09-12 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 v4 51/54] examples/load_balancer: check status of getting ethdev info

2019-09-12 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 v4 47/54] examples/ipsec-secgw: check status of getting ethdev info

2019-09-12 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 Acked-by: Akhil Goyal --- example

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

2019-09-12 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 v4 46/54] examples/multi_process: check status of getting ethdev info

2019-09-12 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 v4 45/54] examples/l2fwd-crypto: check status of getting ethdev info

2019-09-12 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 v4 44/54] examples/packet_ordering: check dev info get result

2019-09-12 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 v4 39/54] examples/ptpclient: check status of getting ethdev info

2019-09-12 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 v4 41/54] examples/tep_termination: check dev info get result

2019-09-12 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 v4 38/54] examples/vhost: check status of getting ethdev info

2019-09-12 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 Reviewed-by: Tiwei Bie --- examples/vho

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

2019-09-12 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 v4 42/54] examples/server_node_efd: check dev info get result

2019-09-12 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 v4 36/54] examples/eventdev: check status of getting ethdev info

2019-09-12 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 v4 35/54] examples/bond: check status of getting ethdev info

2019-09-12 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 v4 37/54] examples/ip_reassembly: check status of getting ethdev info

2019-09-12 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 v4 33/54] examples/ipv4_multicast: check status of getting ethdev info

2019-09-12 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 v4 34/54] examples/l2fwd-jobstats: check status of getting ethdev info

2019-09-12 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 v4 18/54] examples/rxtx_callbacks: check status of getting ethdev info

2019-09-12 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 v4 13/54] net/bonding: check status of getting ethdev info

2019-09-12 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 v4 29/54] examples/l3fwd-power: check status of getting ethdev info

2019-09-12 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 v4 17/54] ethdev: change device info get callback to return int

2019-09-12 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 v4 23/54] examples/vmdq: check status of getting ethdev info

2019-09-12 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 v4 02/54] ethdev: change rte_eth_dev_info_get() return value to int

2019-09-12 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 Reviewe

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

2019-09-12 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 v4 28/54] examples/flow_filtering: check status of getting ethdev info

2019-09-12 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 Acked-by: Ori Kam --- examples

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

2019-09-12 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 v4 19/54] examples/l3fwd: check status of getting ethdev info

2019-09-12 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 v4 27/54] examples/qos_sched: check status of getting ethdev info

2019-09-12 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 Acked-by: Jasvinder Singh --- examp

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

2019-09-12 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 v4 11/54] app/test: check ethdev info get result in event Rx adapter

2019-09-12 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 v4 08/54] ring: check status of getting ethdev info

2019-09-12 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 Acked-by: Bruce Richardson ---

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

2019-09-12 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 v4 22/54] examples/performance-thread: check dev info get result

2019-09-12 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 v4 04/54] app/eventdev: check status of getting ethdev info

2019-09-12 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-eventdev according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test-eventdev/test_perf_commo

[dpdk-dev] [PATCH v4 06/54] latency: check status of getting ethdev info

2019-09-12 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 latency component according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- lib/librte_latencystats/rte_laten

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

2019-09-12 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 v4 24/54] examples/distributor: check status of getting ethdev info

2019-09-12 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 v4 14/54] net/failsafe: check status of getting ethdev info

2019-09-12 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 Acked-by: Gaetan Rivet --- drivers/net/fa

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

2019-09-12 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 v4 12/54] net/bnxt: check status of getting ethdev info

2019-09-12 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 v4 21/54] examples/ip_frag: check status of getting ethdev info

2019-09-12 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 v4 15/54] net/netvsc: check status of getting ethdev info

2019-09-12 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 v4 09/54] app/procinfo: check status of getting ethdev info

2019-09-12 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/procinfo according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/proc-info/main.c | 15

[dpdk-dev] [PATCH v4 03/54] app/testpmd: check status of getting ethdev info

2019-09-12 Thread Andrew Rybchenko
From: Ivan Ilchenko Add eth_dev_info_get_print_err() which is a wrapper for rte_eth_dev_info_get() printing error if rte_eth_dev_info_get() fails and returning its status code. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko Acked-by: Bernard Iremonger --- app/test-pmd/cmdline.c

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

2019-09-12 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 v4 07/54] pdump: check status of getting ethdev info

2019-09-12 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 pdump component according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- lib/librte_pdump/rte_pdump.c | 9 ++

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

2019-09-12 Thread Andrew Rybchenko
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 rte_eth_dev_info_get() recently which

[dpdk-dev] [PATCH v4 05/54] kni: check status of getting ethdev info

2019-09-12 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_kni.c according to its new return type. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- app/test/test_kni.c | 27 ++

[dpdk-dev] [PATCH v4 01/54] ethdev: remove redundunt device info cleanup before get

2019-09-12 Thread Andrew Rybchenko
rte_eth_dev_info_get() always fills in device information memory with zeros on entry. Fixes: b6719879855d ("ethdev: avoid getting uninitialized info for bad port") Cc: sta...@dpdk.org Signed-off-by: Andrew Rybchenko Reviewed-by: Ferruh Yigit --- app/test-pmd/cmdline.c | 4 app

[dpdk-dev] [Bug 105] Cannot create crypto_openssl after vdev_uninit

2019-09-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=105 Junxiao Shi (sunnyla...@gmail.com) changed: What|Removed |Added Resolution|--- |FIXED Status|CONF

Re: [dpdk-dev] [EXT] [PATCH] drivers/crypto/octeontx: enable unbinding for the OcteonTx crypto engines

2019-09-12 Thread Anoob Joseph
Hi Thierry, Thanks for looking into this. Please see inline. Thanks, Anoob > -Original Message- > From: Thierry Herbelot > Sent: Wednesday, September 11, 2019 9:37 PM > To: dev@dpdk.org > Cc: Thomas Monjalon ; sta...@dpdk.org; Anoob > Joseph > Subject: [EXT] [PATCH] drivers/crypto/octe

Re: [dpdk-dev] [PATCH] maintainers: add co-maintainer for EFD library

2019-09-12 Thread Thomas Monjalon
11/09/2019 20:06, Yipeng Wang: > Add myself as co-maintainer to EFD library to replace Pablo. > > Signed-off-by: Yipeng Wang Applied Thank you Yipeng

Re: [dpdk-dev] [PATCH 1/1] build: add emag(arm64) platform and default config

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 3:02 PM Gavin Hu (Arm Technology China) wrote: > > Hi Jerry, > > Please use --in-reply-to and -v options to chain your different versions of > patches and make the old ones "Superseded". > > /Gavin > > > -Original Message- > > From: dev On Behalf Of Jerry Hao OS >

Re: [dpdk-dev] [PATCH 0/6] build system improvements

2019-09-12 Thread Thomas Monjalon
13/08/2019 01:03, Thomas Monjalon: > While testing compilation of mlx drivers, > I hit some issues and misses. > The result is 6 patches of cleanup, fixes and test improvements. > > Thomas Monjalon (6): > build: remove redundant libs from pkgconfig > drivers: add some reasons for meson disabli

Re: [dpdk-dev] [PATCH v2] net/ice: enable advanced RSS

2019-09-12 Thread Ye Xiaolong
On 09/09, Simei Su wrote: >This patch supports the following features: > (1)inner header hash for tunnel packets, including comms package. > (2)symmetric hash by rte_flow RSS action. > (3)input set change by rte_flow RSS action. > >Signed-off-by: Simei Su >--- >This patch depends on the followi

Re: [dpdk-dev] [PATCH v5 8/8] event/opdl: use new API to save cycles on aarch64

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 4:57 PM Gavin Hu wrote: > > Use the new API to wait in low power state instead of continuous > polling to save CPU cycles and power. > > Signed-off-by: Gavin Hu > Reviewed-by: Ruifeng Wang Reviewed-by: Jerin Jacob > --- > drivers/event/opdl/opdl_ring.c | 5 ++--- > 1

Re: [dpdk-dev] [PATCH v5 7/8] net/thunderx: use new API to save cycles on aarch64

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 4:57 PM Gavin Hu wrote: > > Use the new API to wait in low power state instead of continuous > polling to save CPU cycles and power. > > Signed-off-by: Gavin Hu > Reviewed-by: Ruifeng Wang Acked-by: Jerin Jacob > --- > drivers/net/thunderx/nicvf_rxtx.c | 3 +-- > 1 f

Re: [dpdk-dev] [PATCH v5 5/8] ticketlock: use new API to reduce contention on aarch64

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 4:57 PM Gavin Hu wrote: > > While using ticket lock, cores repeatedly poll the lock variable. > This is replaced by rte_wait_until_equal API. > > Running ticketlock_autotest on ThunderX2, Ampere eMAG80, and Arm N1SDP[1], > there were variances between runs, but no notable p

Re: [dpdk-dev] [PATCH v5 3/8] eal: add the APIs to wait until equal

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 4:56 PM Gavin Hu wrote: > > The rte_wait_until_equalxx APIs abstract the functionality of 'polling > for a memory location to become equal to a given value'. > > Signed-off-by: Gavin Hu > Reviewed-by: Ruifeng Wang > Reviewed-by: Steve Capper > Reviewed-by: Ola Liljedahl

Re: [dpdk-dev] [RFC v3 4/4] app/testpmd: show the Rx/Tx burst mode description

2019-09-12 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Haiyue Wang > Sent: Tuesday, September 10, 2019 5:34 PM > To: dev@dpdk.org; Yigit, Ferruh ; m...@ashroe.eu; Sun, > Chenmin > Cc: Wang, Haiyue > Subject: [dpdk-dev] [RFC v3 4/4] app/testpmd: show the Rx/Tx burst mo

Re: [dpdk-dev] [PATCH v5 1/8] config: add WFE config entry for aarch64

2019-09-12 Thread Jerin Jacob
On Thu, Sep 12, 2019 at 5:05 PM Gavin Hu wrote: > > Add the RTE_USE_WFE configuration entry for aarch64, disabled by default. s/RTE_USE_WFE/RTE_ARM_USE_WFE > It can be enabled selectively based on the performance benchmarking. > > Signed-off-by: Gavin Hu > Reviewed-by: Ruifeng Wang > Reviewed-

[dpdk-dev] [PATCH v2 5/5] net/qede: implement rte_flow drop action

2019-09-12 Thread Shahed Shaikh
Add support to configure drop action in rte_flow infrastructure and add counter for dropped packets due to this filter action "rx_gft_filter_drop". Also, update supported flows and actions in qede guide. Signed-off-by: Shahed Shaikh --- doc/guides/nics/qede.rst | 39 +++

[dpdk-dev] [PATCH v2 3/5] net/qede: fix RSS configuration as per new 100Gb queue allocation method

2019-09-12 Thread Shahed Shaikh
With old design, RETA was configured in round-robin fashion since queue allocation was distributed across both engines alternately. Now, we need to configure RETA symmetrically on both engines since both engines have same number of queues. Fixes: 2af14ca79c0a ("net/qede: support 100G") Cc: sta...@

[dpdk-dev] [PATCH v2 4/5] net/qede: fix stats flow as per new 100Gb queue allocation method

2019-09-12 Thread Shahed Shaikh
As per new method, need to consider hw stats of queues from both engines. This patch fixes the stats collection flow accordingly. Fixes: 2af14ca79c0a ("net/qede: support 100G") Cc: sta...@dpdk.org Signed-off-by: Shahed Shaikh --- drivers/net/qede/qede_ethdev.c | 135 +++-

[dpdk-dev] [PATCH v2 2/5] net/qede: fix ovs-dpdk failure when using odd number of queues on 100Gb mode

2019-09-12 Thread Shahed Shaikh
As per HW design of 100Gb mode, device internally uses 2 engines (eng0 and eng1), and both engines need to be configured symmetrically. Based on this requirement, driver design chose an approach to allow user to allocate only even number of queues and split those queues on both engines equally. Th

[dpdk-dev] [PATCH v2 0/5] net/qede: fixes and enhancement

2019-09-12 Thread Shahed Shaikh
First four patches are part of a fix for the ovs-dpdk issue with 100Gb NIC [1]. Fifth patch adds support for drop action in rte_flow. [1] As per HW design of 100Gb mode, device internally uses 2 engines (eng0 and eng1), and both engines need to be configured symmetrically. Based on this requiremen

[dpdk-dev] [PATCH v2 1/5] net/qede: refactor Rx and Tx queue setup

2019-09-12 Thread Shahed Shaikh
This patch refactors Rx and Tx queue setup flow required to allow odd number of queues to be configured in next patch. This is the first patch of the series required to fix an issue where qede port initialization in ovs-dpdk fails due to 1 Rx/Tx queue configuration. Detailed explaination is given

Re: [dpdk-dev] [PATCH] test/event_crypto: add check for session init failure

2019-09-12 Thread Gujjar, Abhinandan S
Acked-by: abhinandan.guj...@intel.com > -Original Message- > From: Hemant Agrawal > Sent: Friday, September 6, 2019 4:12 PM > To: dev@dpdk.org > Cc: jer...@marvell.com; Gujjar, Abhinandan S ; > Hemant Agrawal > Subject: [PATCH] test/event_crypto: add check for session init failure > > M

Re: [dpdk-dev] [PATCH 2/2] test/meson: hash lf test moved to dpdk perf testsuite

2019-09-12 Thread Honnappa Nagarahalli
> >Subject: [PATCH 2/2] test/meson: hash lf test moved to dpdk perf > >testsuite > > > >From: Amit Gupta > > > >hash_readwrite_lf test always getting TIMEOUT as required time to > >finish this test was much longer compare to time required for fast > >tests(10s). Hence, the test is being moved to

Re: [dpdk-dev] [PATCH v1 1/5] net/qede: refactor Rx and Tx queue setup

2019-09-12 Thread Shahed Shaikh
> -Original Message- > From: dev On Behalf Of Jerin Jacob > Sent: Thursday, September 12, 2019 6:04 PM > To: Shahed Shaikh > Cc: dev@dpdk.org; Rasesh Mody ; Jerin Jacob > Kollanukkaran ; GR-Everest-DPDK-Dev d...@marvell.com>; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1 1/5] net/q

Re: [dpdk-dev] [PATCH v2 1/3] test/rcu: fix the compiling error for armv8.2

2019-09-12 Thread Honnappa Nagarahalli
> > Subject: [EXT] [PATCH v2 1/3] test/rcu: fix the compiling error for > > armv8.2 > > > > With "-march=armv8.2-a" specified, a compiling error generated: > > app/test/test_rcu_qsbr.c:234:10: error: comparison of integer > > expressions of different signedness: ‘unsigned int’ and ‘int’ > > [-Wer

[dpdk-dev] [PATCH v2 0/1] compression: unit tests refactoring

2019-09-12 Thread Artur Trybula
v2 changes: - unnecessary "printf" removed from the code This patch depends on "test/compress: unit test for stateless overflow recovery": http://patches.dpdk.org/patch/58834/ Signed-off-by: Artur Trybula Artur Trybula (1): test/compress: unit tests refactoring app/test/test_compres

[dpdk-dev] [PATCH v2 1/1] test/compress: unit tests refactoring

2019-09-12 Thread Artur Trybula
Core engine refactoring (test_deflate_comp_decomp function). Smaller specialized functions created. Signed-off-by: Artur Trybula --- This patch depends on "test/compress: unit test for stateless overflow recovery": http://patches.dpdk.org/patch/58834/ app/test/test_compressdev.c | 832 +

Re: [dpdk-dev] [PATCH v3 03/54] app/testpmd: check status of getting ethdev info

2019-09-12 Thread Iremonger, Bernard
> -Original Message- > From: Andrew Rybchenko [mailto:arybche...@solarflare.com] > Sent: Friday, September 6, 2019 8:30 AM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard ; > Adrien Mazarguil > Cc: dev@dpdk.org; Ivan Ilchenko > Subject: [PATCH v3 03/54] app/testpmd: check status o

  1   2   >