[dpdk-dev] [PATCH 10/11] net/mlx5: add Direct Verbs final functions

2018-09-18 Thread Yongseok Koh
From: Ori Kam This commits add the missing function which are apply, remove, and destroy. Signed-off-by: Ori Kam Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_flow.c| 4 + drivers/net/mlx5/mlx5_flow.h| 2 + drivers/net/mlx5/mlx5_flow_dv.c | 192 +

[dpdk-dev] [PATCH 07/11] net/mlx5: add Direct Verbs translate items

2018-09-18 Thread Yongseok Koh
From: Ori Kam This commit handles the translation of the requested flow into Direct Verbs API. The Direct Verbs introduce the matcher object which acts as shared mask for all flows that are using the same mask. So in this commit we translate the item and get in return a matcher and the value tha

[dpdk-dev] [PATCH 09/11] net/mlx5: add Direct Verbs driver to glue

2018-09-18 Thread Yongseok Koh
From: Ori Kam This commit adds all Direct Verbs required functions to the glue lib. Signed-off-by: Ori Kam Acked-by: Yongseok Koh --- drivers/net/mlx5/Makefile| 2 +- drivers/net/mlx5/mlx5_glue.c | 45 drivers/net/mlx5/mlx5_glue.h | 15 +++

[dpdk-dev] [PATCH 11/11] net/mlx5: add runtime parameter to enable Direct Verbs

2018-09-18 Thread Yongseok Koh
From: Ori Kam DV flow API is based on new kernel API and is missing some functionality like counter but add other functionality like encap. In order not to affect current users even if the kernel supports the new DV API it should be enabled only manually. Signed-off-by: Ori Kam Acked-by: Yongs

[dpdk-dev] [PATCH 06/11] net/mlx5: add Direct Verbs prepare function

2018-09-18 Thread Yongseok Koh
From: Ori Kam This function allocates the Direct Verbs device flow, and introduce the relevant PRM structures. This commit also adds the matcher object. The matcher object acts as a mask and should be shared between flows. For example all rules that should match source IP with full mask should u

[dpdk-dev] [PATCH 08/11] net/mlx5: add Direct Verbs translate actions

2018-09-18 Thread Yongseok Koh
From: Ori Kam In this commit we add the translation of flow actions. Unlike the Verbs API actions are separeted from the items and are passed to the API in array structure. Since the target action like RSS require the QP information those actions are handled both in the translate action and in th

[dpdk-dev] [PATCH 04/11] net/mlx5: add support for multiple flow drivers

2018-09-18 Thread Yongseok Koh
From: Ori Kam In the current PMD there is only support for Verbs driver API, to configure NIC rules and TC driver API, to configure eswitch rules. In order to support new drivers that will enable the use of new features for example the Direct Verbs driver API. There is a need to split each driver

[dpdk-dev] [PATCH 05/11] net/mlx5: add Direct Verbs validation function

2018-09-18 Thread Yongseok Koh
From: Ori Kam This is commit introduce the Direct Verbs driver API. The Direct Verbs is an API adds new features like encapsulation, match on metatdata. In this commit the validation function was added, most of the validation is done with functions that are also in use for the Verbs API. Signed-

[dpdk-dev] [PATCH 03/11] net/mlx5: add flow translate function

2018-09-18 Thread Yongseok Koh
From: Ori Kam This commit modify the conversion of the input parameters into Verbs spec, in order to support all previous changes. Some of those changes are: removing the use of the parser, storing each flow in its own flow structure. Signed-off-by: Ori Kam Acked-by: Yongseok Koh --- drivers/

[dpdk-dev] [PATCH 02/11] net/mlx5: add flow prepare function

2018-09-18 Thread Yongseok Koh
From: Ori Kam In current implementation the calculation of the flow size is done during the validation stage, and the same function is also used to translate the input parameters into verbs spec. This is hard to maintain and error prone. Another issue is that dev-flows (flows that are created imp

[dpdk-dev] [PATCH 00/11] net/mlx5: add Direct Verbs flow driver support

2018-09-18 Thread Yongseok Koh
From: Ori Kam RFC: https://mails.dpdk.org/archives/dev/2018-August/109950.html Ori Kam (11): net/mlx5: split flow validation to dedicated function net/mlx5: add flow prepare function net/mlx5: add flow translate function net/mlx5: add support for multiple flow drivers net/mlx5:

[dpdk-dev] [PATCH 01/11] net/mlx5: split flow validation to dedicated function

2018-09-18 Thread Yongseok Koh
From: Ori Kam In current implementation the validation logic reside in the same function that calculates the size of the verbs spec and also create the verbs spec. This approach results in hard to maintain code which can't be shared. also in current logic there is a use of parser entity that hold

[dpdk-dev] [PATCH v2] doc/crypto: fix missing CCM to QAT feature list

2018-09-18 Thread Tomasz Cel
Update the QAT documentation to show that it supports CCM. Fixes: ab56c4d9ed9a ("crypto/qat: support AES-CCM") Signed-off-by: Tomasz Cel --- doc/guides/cryptodevs/features/qat.ini | 3 +++ doc/guides/cryptodevs/qat.rst | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/guides/cr

Re: [dpdk-dev] [PATCH v2 3/3] app/testpmd: add debug command Tx metadata set

2018-09-18 Thread Xueming(Steven) Li
> -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Sunday, September 16, 2018 10:38 PM > To: wenzhuo...@intel.com; jingjing...@intel.com; bernard.iremon...@intel.com; > dev@dpdk.org; > olivier.m...@6wind.com; Adrien Mazarguil ; Thomas > Monjalon > ; ferruh.yi...@intel.com

Re: [dpdk-dev] [PATCH v2] kni: fix kni Rx fifo producer synchronization

2018-09-18 Thread Honnappa Nagarahalli
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, September 18, 2018 10:54 AM > To: Jerin Jacob ; Honnappa Nagarahalli > ; Kokkilagadda, Kiran > > Cc: Ola Liljedahl ; Gavin Hu (Arm Technology China) > ; Jacob, Jerin ; > dev@dpdk.org; nd ; Steve Capper ; > Phil Yang (Arm Technol

Re: [dpdk-dev] [PATCH] examples/eventdev_pipeline: add Tx adapter support

2018-09-18 Thread Rao, Nikhil
On 9/5/2018 7:15 PM, Pavan Nikhilesh wrote: Signed-off-by: Pavan Nikhilesh --- This patch depends on the following series: http://patches.dpdk.org/project/dpdk/list/?series=1121 examples/eventdev_pipeline/main.c | 62 ++-- examples/eventdev_pipeline/pipeline_common.h | 31

[dpdk-dev] [PATCH v6] doc: add cross compile part for sample applications

2018-09-18 Thread Gavin Hu
Fixes: 7cacb05655 ("doc: add generic build instructions for sample apps") Cc: sta...@dpdk.org Signed-off-by: Gavin Hu Reviewed-by: Honnappa Nagarahalli Acked-by: Jerin Jacob --- doc/guides/sample_app_ug/compiling.rst | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff

Re: [dpdk-dev] [PATCH v5 1/9] build: add Meson file for TAP PMD

2018-09-18 Thread Thomas Monjalon
18/09/2018 16:58, Luca Boccassi: > Use same autoconf generation mechanism as the MLX4/5 PMDs > > Signed-off-by: Luca Boccassi Series applied, except patch 4 for avf, thanks.

Re: [dpdk-dev] [PATCH v5 4/9] build: add Meson files for avf PMD

2018-09-18 Thread Thomas Monjalon
18/09/2018 16:58, Luca Boccassi: > Signed-off-by: Luca Boccassi > --- > drivers/net/avf/base/meson.build | 20 > drivers/net/avf/meson.build | 19 +++ > drivers/net/meson.build | 1 + > 3 files changed, 40 insertions(+) I cannot merge this patc

Re: [dpdk-dev] [PATCH v2] ethdev: make default behavior CRC strip on Rx

2018-09-18 Thread Legacy, Allain
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, September 10, 2018 7:35 AM > To: Ferruh Yigit > Cc: Wenzhuo Lu; Jingjing Wu; Bernard Iremonger; John McNamara; Marko > Kovacevic; Qi Zhang; Xiao Wang; Neil Horman; Remy Horton; Ori Kam; Bruce

[dpdk-dev] [PATCH v2] test/hash: solve unit test hash compilation error

2018-09-18 Thread Dharmik Thakkar
Enable print_key_info() function compilation always. Fixes: af75078fece36 ("first public release") Cc: sta...@dpdk.org Suggested-by: Honnappa Nagarahalli Signed-off-by: Dharmik Thakkar Reviewed-by: Honnappa Nagarahalli Reviewed-by: Gavin Hu --- v2: * Fix checkpatch coding style issue * Add "F

[dpdk-dev] [PATCH v2 2/2] eal: force IOVA to particular mode

2018-09-18 Thread eric zhang
This patch uses EAL option "--iova-mode" to force the IOVA mode to a particular value. There exists virtual devices that are not directly attached to the PCI bus, and therefore the auto detectioni of the IOVA mode based on probing the PCI bus and IOMMU configuration may not report the required addr

[dpdk-dev] [PATCH v2 1/2] eal: add eal option to configure iova mode

2018-09-18 Thread eric zhang
From: Santosh Shukla In the case of user don't want to use bus iova scheme and want to override. For that, Adding eal option --iova-mode= where valid input string is 'pa' or 'va'. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/common/eal_common_options.c | 30 +++

[dpdk-dev] [PATCH v2 1/2] eal: add eal option to configure iova mode

2018-09-18 Thread eric zhang
From: Santosh Shukla In the case of user don't want to use bus iova scheme and want to override. For that, Adding eal option --iova-mode= where valid input string is 'pa' or 'va'. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/common/eal_common_options.c | 30 +++

Re: [dpdk-dev] [PATCH 2/3] net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug

2018-09-18 Thread Louis Luo
Hi Luca, I'm fine with the queue free part, but just have concern about removing the check inside uninit function. If the application does follow the rules and keeping the check in uninit won't cause vmxnet3_dev_close() being called again (and if it won't cause trouble in case the application d

Re: [dpdk-dev] [PATCH 2/2] kni: set default carrier state to 'off'

2018-09-18 Thread Dan Gora
On Tue, Sep 18, 2018 at 1:48 PM, Ferruh Yigit wrote: > I just read the other thread, including Igor's and your comment about starting > the interface down, overall I got your point but my concerns is if someone > has a > solution based on assumption that interface will be up when created will be

Re: [dpdk-dev] [PATCH 2/3] net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug

2018-09-18 Thread Luca Boccassi
On Tue, 2018-09-18 at 18:14 +, Louis Luo wrote: > Hi Luca, > > Thanks for pointing to the document! This "basic requirements" seems > to lay the burden on application developers to correctly follow the > hot-plug framework's rules, but there seems no mechanism to enforce > this procedure (corr

Re: [dpdk-dev] [PATCH 2/3] net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug

2018-09-18 Thread Louis Luo
Hi Luca, Thanks for pointing to the document! This "basic requirements" seems to lay the burden on application developers to correctly follow the hot-plug framework's rules, but there seems no mechanism to enforce this procedure (correct me if I'm wrong). What if a buggy application doesn't cal

Re: [dpdk-dev] [RFC] ipsec: new library for IPsec data-path processing

2018-09-18 Thread Jerin Jacob
-Original Message- > Date: Mon, 17 Sep 2018 18:12:48 + > From: "Ananyev, Konstantin" > To: Jerin Jacob , "Joseph, Anoob" > > CC: "dev@dpdk.org" , "Awal, Mohammad Abdul" > , "Doherty, Declan" > , Narayana Prasad > > Subject: RE: [dpdk-dev] [RFC] ipsec: new library for IPsec data-p

Re: [dpdk-dev] [PATCH 1/2] kni: add API to set link status on kernel interface

2018-09-18 Thread Dan Gora
On Tue, Sep 18, 2018 at 1:54 PM, Ferruh Yigit wrote: > On 9/12/2018 12:29 AM, Dan Gora wrote: >> Add a new API function to KNI, rte_kni_update_link() to allow DPDK >> applications to update the link status for KNI network interfaces in >> the linux kernel. >> >> Signed-off-by: Dan Gora > > +1 to

[dpdk-dev] [PATCH v4 03/10] net/softnic: delete meter profile

2018-09-18 Thread Jasvinder Singh
Implement meter profile delete function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_meter.c | 35 - 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c b/drivers/net/softnic/rte_eth_sof

[dpdk-dev] [PATCH v4 10/10] net/softnic: enable flow rule with meter action

2018-09-18 Thread Jasvinder Singh
Implement flow rules with meter action. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_flow.c | 155 - 1 file changed, 154 insertions(+), 1 deletion(-) diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c b/drivers/net/softnic/rte_eth_soft

[dpdk-dev] [PATCH v4 07/10] net/softnic: update dscp table

2018-09-18 Thread Jasvinder Singh
Implement meter object dscp table update. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_internals.h | 1 + drivers/net/softnic/rte_eth_softnic_meter.c | 54 - drivers/net/softnic/rte_eth_softnic_pipeline.c | 1 + drivers/net/softnic/rte_eth

[dpdk-dev] [PATCH v4 06/10] net/softnic: update meter profile

2018-09-18 Thread Jasvinder Singh
Implement meter profile update function Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_internals.h | 14 drivers/net/softnic/rte_eth_softnic_meter.c | 103 +++- drivers/net/softnic/rte_eth_softnic_pipeline.c | 25 ++ drivers/net/softnic

[dpdk-dev] [PATCH v4 09/10] net/softnic: meter stats read

2018-09-18 Thread Jasvinder Singh
Implement meter object stats read function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_meter.c | 136 +++- 1 file changed, 135 insertions(+), 1 deletion(-) diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c b/drivers/net/softnic/rte_eth

[dpdk-dev] [PATCH v4 01/10] net/softnic: add metering and policing support

2018-09-18 Thread Jasvinder Singh
Enable metering and policing support for softnic. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/meson.build | 1 + drivers/net/softnic/rte_eth_softnic.c | 10 drivers/net/softnic/rte_eth_softnic_

[dpdk-dev] [PATCH v4 08/10] net/softnic: update policer actions

2018-09-18 Thread Jasvinder Singh
Implement meter object policer actions function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_meter.c | 91 - 1 file changed, 90 insertions(+), 1 deletion(-) diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c b/drivers/net/softnic/rte

[dpdk-dev] [PATCH v4 05/10] net/softnic: destroy meter object

2018-09-18 Thread Jasvinder Singh
Implement meter object destroy function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_meter.c | 49 - 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c b/drivers/net/softnic/rte_eth_sof

[dpdk-dev] [PATCH v4 04/10] net/softnic: create meter object

2018-09-18 Thread Jasvinder Singh
implement meter object create function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_internals.h | 15 +++ drivers/net/softnic/rte_eth_softnic_meter.c | 123 +++- 2 files changed, 137 insertions(+), 1 deletion(-) diff --git a/drivers/net/softni

[dpdk-dev] [PATCH v4 02/10] net/softnic: add meter profile

2018-09-18 Thread Jasvinder Singh
Implement meter profile add function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 3 + drivers/net/softnic/rte_eth_softnic_internals.h | 31 ++ drivers/net/softnic/rte_eth_softnic_meter.c | 122 +++- 3 files changed, 155 ins

[dpdk-dev] [PATCH v4 00/10] net/softnic: implement metering and policing API

2018-09-18 Thread Jasvinder Singh
This series is prepared on top of following patchset; https://mails.dpdk.org/archives/dev/2018-September/111379.html v4 changes - introduce the table meter profile check in softnic pipeline table meter profile add function (rte_eth_softnic_thread.c) - change the table action check function to mo

Re: [dpdk-dev] [PATCH 1/2] kni: add API to set link status on kernel interface

2018-09-18 Thread Ferruh Yigit
On 9/12/2018 12:29 AM, Dan Gora wrote: > Add a new API function to KNI, rte_kni_update_link() to allow DPDK > applications to update the link status for KNI network interfaces in > the linux kernel. > > Signed-off-by: Dan Gora +1 to sysfs implementation. But right now this API is not used at al

Re: [dpdk-dev] [PATCH 2/2] kni: set default carrier state to 'off'

2018-09-18 Thread Ferruh Yigit
On 9/18/2018 5:15 PM, Ferruh Yigit wrote: > On 9/12/2018 12:29 AM, Dan Gora wrote: >> Set the carrier state to 'off' when the interface is instantiated >> or when it is marked 'up' or 'down'. This is necessary to set the >> interface to a known operational state until the carrier state is >> chang

Re: [dpdk-dev] [PATCH v2 02/13] net/dpaa: fix jumbo buffer config

2018-09-18 Thread Hemant
On 9/18/2018 7:33 PM, Thomas Monjalon wrote: 18/09/2018 15:31, Hemant Agrawal: Avoid return after the jumbo buffer config in dev config API Fixes: 9658ac3a4ef6 ("net/dpaa: set the correct frame size in device MTU") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Thanks for adding some c

Re: [dpdk-dev] [PATCH] kni: return failure for all ioctls

2018-09-18 Thread Ferruh Yigit
On 9/13/2018 10:46 PM, Dan Gora wrote: > Modify kni_net_ioctl() to return -EOPNOTSUPP for all ioctls instead > of 0. > > This is necessary because the Wicked (and possibly other) network > interface managers will perform the SIOCGIWNAME ioctl to check if > the interface is a wireless interface. I

Re: [dpdk-dev] [PATCH 2/2] kni: set default carrier state to 'off'

2018-09-18 Thread Ferruh Yigit
On 9/12/2018 12:29 AM, Dan Gora wrote: > Set the carrier state to 'off' when the interface is instantiated > or when it is marked 'up' or 'down'. This is necessary to set the > interface to a known operational state until the carrier state is > changed with rte_kni_update_link(). Why setting to n

Re: [dpdk-dev] [PATCH v2] kni: fix kni Rx fifo producer synchronization

2018-09-18 Thread Ferruh Yigit
On 9/14/2018 3:45 AM, Jerin Jacob wrote: > -Original Message- >> Date: Thu, 13 Sep 2018 23:45:31 + >> From: Honnappa Nagarahalli >> To: Jerin Jacob >> CC: Ola Liljedahl , "Kokkilagadda, Kiran" >> , "Gavin Hu (Arm Technology China)" >> , Ferruh Yigit , "Jacob, Jerin" >> , "dev@dpdk

Re: [dpdk-dev] [PATCH v4 9/9] build: add Meson file for vmxnet3_uio PMD

2018-09-18 Thread Bruce Richardson
On Tue, Sep 18, 2018 at 04:00:12PM +0100, Luca Boccassi wrote: > On Thu, 2018-09-13 at 17:16 +0100, Luca Boccassi wrote: > > Signed-off-by: Luca Boccassi > > --- > >  drivers/net/meson.build |  4 +++- > >  drivers/net/vmxnet3/meson.build | 18 ++ > >  2 files changed, 21 ins

Re: [dpdk-dev] [PATCH 00/16] Support externally allocated memory in DPDK

2018-09-18 Thread Burakov, Anatoly
On 18-Sep-18 1:29 PM, Shreyansh Jain wrote: On Monday 17 September 2018 06:30 PM, Burakov, Anatoly wrote: On 17-Sep-18 1:16 PM, Shahaf Shuler wrote: Monday, September 17, 2018 1:07 PM, Burakov, Anatoly: Subject: Re: [dpdk-dev] [PATCH 00/16] Support externally allocated memory in DPDK On 13-S

Re: [dpdk-dev] [PATCH 2/4] bnx2x: remove profanity

2018-09-18 Thread Stephen Hemminger
On Tue, 18 Sep 2018 11:40:28 +0200 Thomas Monjalon wrote: > 25/07/2018 20:20, Stephen Hemminger: > > No need for profanity in comments. > > > > Signed-off-by: Stephen Hemminger > > --- > > drivers/net/bnx2x/elink.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --g

Re: [dpdk-dev] [PATCH v4 9/9] build: add Meson file for vmxnet3_uio PMD

2018-09-18 Thread Luca Boccassi
On Thu, 2018-09-13 at 17:16 +0100, Luca Boccassi wrote: > Signed-off-by: Luca Boccassi > --- >  drivers/net/meson.build |  4 +++- >  drivers/net/vmxnet3/meson.build | 18 ++ >  2 files changed, 21 insertions(+), 1 deletion(-) >  create mode 100644 drivers/net/vmxnet3/meson.b

[dpdk-dev] [PATCH v5 8/9] build: add Meson file for opdl_event PMD

2018-09-18 Thread Luca Boccassi
Signed-off-by: Luca Boccassi --- drivers/event/meson.build | 2 +- drivers/event/opdl/meson.build | 11 +++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 drivers/event/opdl/meson.build diff --git a/drivers/event/meson.build b/drivers/event/meson.build index e

[dpdk-dev] [PATCH v5 7/9] event/opdl: rename map file to match library name

2018-09-18 Thread Luca Boccassi
So that it can be used from Meson as well Signed-off-by: Luca Boccassi --- drivers/event/opdl/Makefile | 2 +- ...md_evdev_opdl_version.map => rte_pmd_opdl_event_version.map} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/event/opdl/{rte_p

[dpdk-dev] [PATCH v5 9/9] build: add Meson file for vmxnet3_uio PMD

2018-09-18 Thread Luca Boccassi
Note that the library built by meson will not have the _uio suffix: librte_pmd_vmxnet3.so - as it follows the directory name, while the legacy makefile rename it to librte_pmd_vmxnet3_uio.so. Signed-off-by: Luca Boccassi --- drivers/net/meson.build | 4 +++- drivers/net/vmxnet3/meson.bu

[dpdk-dev] [PATCH v5 6/9] build: add Meson file for bbdev_null PMD

2018-09-18 Thread Luca Boccassi
Signed-off-by: Luca Boccassi --- drivers/baseband/meson.build | 7 +++ drivers/baseband/null/meson.build | 7 +++ drivers/meson.build | 1 + 3 files changed, 15 insertions(+) create mode 100644 drivers/baseband/meson.build create mode 100644 drivers/baseband/null/meso

[dpdk-dev] [PATCH v5 5/9] build: add Meson files for qede PMD

2018-09-18 Thread Luca Boccassi
Signed-off-by: Luca Boccassi Acked-by: Shahed Shaikh --- config/rte_config.h | 3 ++ drivers/net/meson.build | 2 +- drivers/net/qede/base/meson.build | 57 +++ drivers/net/qede/meson.build | 12 +++ 4 files changed, 73 insertions(+)

[dpdk-dev] [PATCH v5 2/9] build: add Meson file for vdev_netvsc PMD

2018-09-18 Thread Luca Boccassi
Signed-off-by: Luca Boccassi --- drivers/net/meson.build | 1 + drivers/net/vdev_netvsc/meson.build | 19 +++ 2 files changed, 20 insertions(+) create mode 100644 drivers/net/vdev_netvsc/meson.build diff --git a/drivers/net/meson.build b/drivers/net/meson.build inde

[dpdk-dev] [PATCH v5 4/9] build: add Meson files for avf PMD

2018-09-18 Thread Luca Boccassi
Signed-off-by: Luca Boccassi --- drivers/net/avf/base/meson.build | 20 drivers/net/avf/meson.build | 19 +++ drivers/net/meson.build | 1 + 3 files changed, 40 insertions(+) create mode 100644 drivers/net/avf/base/meson.build create mode 1006

[dpdk-dev] [PATCH v5 3/9] build: add Meson file for crypto scheduler PMD

2018-09-18 Thread Luca Boccassi
Signed-off-by: Luca Boccassi --- drivers/crypto/meson.build | 2 +- drivers/crypto/scheduler/meson.build | 19 +++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 drivers/crypto/scheduler/meson.build diff --git a/drivers/crypto/meson.build b/driver

[dpdk-dev] [PATCH v5 1/9] build: add Meson file for TAP PMD

2018-09-18 Thread Luca Boccassi
Use same autoconf generation mechanism as the MLX4/5 PMDs Signed-off-by: Luca Boccassi --- drivers/net/meson.build | 1 + drivers/net/tap/meson.build | 41 + 2 files changed, 42 insertions(+) create mode 100644 drivers/net/tap/meson.build diff --git a/d

[dpdk-dev] [PATCH v3 2/2] net/avf: fix missing compiler error flags

2018-09-18 Thread Bruce Richardson
The AVF driver was missing $(WERROR_FLAGS) in it's cflags, which means that a number of compilation errors were getting missed. This patch adds in the flag and fixes most of the errors, just disabling the strict-aliasing ones. Fixes: 22b123a36d07 ("net/avf: initialize PMD") Fixes: 69dd4c3d0898 ("n

[dpdk-dev] [PATCH v3 1/2] net/avf: fix unused variables and label

2018-09-18 Thread Bruce Richardson
Compiling with all warnings turned on causes errors about unused variables and an unused label. Remove these to allow building without having to disable those warnings. Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") Fixes: 3fd7a3719c66 ("net/avf: enable ops for MTU setting") Fixes: d6bde

Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready

2018-09-18 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ye Xiaolong > Sent: Friday, September 14, 2018 4:42 PM > To: Wang, Xiao W > Cc: Bie, Tiwei ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ifc: do not notify before HW ready > > Looks good to me. > > R

Re: [dpdk-dev] [PATCH 00/10] Introducing the NXP CAAM job ring driver

2018-09-18 Thread Akhil Goyal
Hi Gagan, On 9/13/2018 11:38 AM, Gagandeep Singh wrote: The caam_jr PMD provides poll mode crypto driver support for NXP SEC 4.x+ (CAAM) hardware accelerator. This patch has dependancy on below patches: http://patchwork.dpdk.org/patch/43986/ http://patchwork.dpdk.org/patch/43964/ Hemant Agrawa

Re: [dpdk-dev] [PATCH v2 1/2] net/avf: fix unused variables and label

2018-09-18 Thread Bruce Richardson
On Tue, Sep 18, 2018 at 02:51:27PM +0100, Ferruh Yigit wrote: > On 9/18/2018 2:17 PM, Bruce Richardson wrote: > > Compiling with all warnings turned on causes errors about unused variables > > and an unused label. Remove these to allow building without having to > > disable those warnings. > > > >

Re: [dpdk-dev] [PATCH 05/10] crypto/caam_jr: add queue config functions

2018-09-18 Thread Akhil Goyal
Hi Gagan, On 9/13/2018 11:38 AM, Gagandeep Singh wrote: From: Hemant Agrawal Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- drivers/crypto/caam_jr/caam_jr.c | 64 1 file changed, 64 insertions(+) diff --git a/drivers/crypto/caam_jr/caam_

Re: [dpdk-dev] [PATCH v2 02/13] net/dpaa: fix jumbo buffer config

2018-09-18 Thread Thomas Monjalon
18/09/2018 15:31, Hemant Agrawal: > Avoid return after the jumbo buffer config in dev config API > > Fixes: 9658ac3a4ef6 ("net/dpaa: set the correct frame size in device MTU") > Cc: sta...@dpdk.org > > Signed-off-by: Hemant Agrawal Thanks for adding some comments in this series. About this fix

Re: [dpdk-dev] [PATCH 04/10] crypto/caam_jr: add device configuration routines

2018-09-18 Thread Akhil Goyal
Hi Gagan, On 9/13/2018 11:38 AM, Gagandeep Singh wrote: From: Hemant Agrawal Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- drivers/crypto/caam_jr/caam_jr.c | 100 +++- drivers/crypto/caam_jr/caam_jr.h | 257 +++ 2 files changed, 356

Re: [dpdk-dev] [PATCH v2] net/i40e: remove driver log

2018-09-18 Thread Zhang, Qi Z
> -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, September 18, 2018 9:04 PM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: remove driver log > > On 9/18/2018 6:44 AM, Beilei Xing wrote: > > Remove driver log when no interrup

Re: [dpdk-dev] [PATCH v2 2/2] net/avf: fix missing compiler error flags

2018-09-18 Thread Ferruh Yigit
On 9/18/2018 2:17 PM, Bruce Richardson wrote: > The AVF driver was missing $(WERROR_FLAGS) in it's cflags, which means > that a number of compilation errors were getting missed. This patch adds > in the flag and fixes most of the errors, just disabling the > strict-aliasing ones. > > Fixes: 22b123

Re: [dpdk-dev] [PATCH v7] net/i40e: add interface to use latest vec path

2018-09-18 Thread Zhang, Qi Z
> -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, September 18, 2018 9:01 PM > To: Li, Xiaoyun ; Xing, Beilei ; > Zhang, Qi Z > Cc: dev@dpdk.org; Yang, Zhiyong ; > tho...@monjalon.net; Richardson, Bruce > Subject: Re: [PATCH v7] net/i40e: add interface to use latest vec path >

Re: [dpdk-dev] [PATCH v2 1/2] net/avf: fix unused variables and label

2018-09-18 Thread Ferruh Yigit
On 9/18/2018 2:17 PM, Bruce Richardson wrote: > Compiling with all warnings turned on causes errors about unused variables > and an unused label. Remove these to allow building without having to > disable those warnings. > > Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") > Fixes: 3fd7a37

Re: [dpdk-dev] [PATCH v5 4/4] build: generate API documentation with Meson

2018-09-18 Thread Thomas Monjalon
11/09/2018 22:42, Luca Boccassi: > Signed-off-by: Luca Boccassi > Acked-by: Bruce Richardson Series applied, thanks

Re: [dpdk-dev] [PATCH 03/10] crypto/caam_jr: add HW config for job rings

2018-09-18 Thread Akhil Goyal
Hi Gagan, On 9/13/2018 11:38 AM, Gagandeep Singh wrote: From: Hemant Agrawal Signed-off-by: Gagandeep Singh Signed-off-by: Hemant Agrawal --- drivers/crypto/caam_jr/Makefile | 6 + drivers/crypto/caam_jr/caam_jr.c | 329 +++- drivers/crypto/caam_jr/caam

[dpdk-dev] [PATCH v2 13/13] mempool/dpaa: change the debug log level to DP

2018-09-18 Thread Hemant Agrawal
When the system goes out of buffers temporarily, the logs further slow down the system. There is no need for this continuos logs. Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/dpaa/dpaa_me

[dpdk-dev] [PATCH v2 11/13] net/dpaa: tune prefetch in Rx path

2018-09-18 Thread Hemant Agrawal
As part of performance optimization excercise, tuning the prefetch placement. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 2c57741..c4471

[dpdk-dev] [PATCH v2 12/13] bus/dpaa: add check for re-definition in compat

2018-09-18 Thread Hemant Agrawal
Few fields in compat are giving re-defination error with new drivers such as caam_jr. Checks have been added. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/include/compat.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/bus/dpaa/include/com

[dpdk-dev] [PATCH v2 09/13] net/dpaa: rearranging of atomic queue support code

2018-09-18 Thread Hemant Agrawal
From: Sunil Kumar Kori This is to align the code with dpaa2 to ease out maintaince of both driver code bases. Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_rxtx.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/dpaa/dpaa_r

[dpdk-dev] [PATCH v2 10/13] net/dpaa: separate Rx function for LS1046

2018-09-18 Thread Hemant Agrawal
This is to avoid the checks in datapath and help in performance. LS1046 has different data stash settings. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 +-- drivers/net/dpaa/dpaa_rxtx.c | 60 +- drivers/net/dpaa/dpaa_rxtx.h

[dpdk-dev] [PATCH v2 08/13] bus/dpaa: avoid using be conversions for contextb

2018-09-18 Thread Hemant Agrawal
From: Nipun Gupta minor optimization in packet handling path Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index 71d

[dpdk-dev] [PATCH v2 07/13] bus/dpaa: avoid tag Set for eqcr in Tx path

2018-09-18 Thread Hemant Agrawal
From: Nipun Gupta Minor optimization for TX path. Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index 8730550..71da275 100644 --- a/drivers/bus/d

[dpdk-dev] [PATCH v2 04/13] net/dpaa: fix link speed based on MAC type

2018-09-18 Thread Hemant Agrawal
From: Sachin Saxena The link speed shall be on the basis of mac type. Fixes: 799db4568c76 ("net/dpaa: support device info and speed capability") Cc: shreyansh.j...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Sachin Saxena --- drivers/net/dpaa/dpaa_ethdev.c | 11 +-- 1 file changed, 9 i

[dpdk-dev] [PATCH v2 06/13] bus/dpaa: add interrupt based portal fd support

2018-09-18 Thread Hemant Agrawal
This patch add supports in bus driver for qbman to support and configure portal based FDs, which can be used for interrupt based processing. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/bman_driver.c | 17 ++ drivers/bus/dpaa/base/qbman/qman.c| 52 +++

[dpdk-dev] [PATCH v2 05/13] net/dpaa: minor debug log enhancements

2018-09-18 Thread Hemant Agrawal
Improving the debug message for event mode and reducing the log level for less important log Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev

[dpdk-dev] [PATCH v2 02/13] net/dpaa: fix jumbo buffer config

2018-09-18 Thread Hemant Agrawal
Avoid return after the jumbo buffer config in dev config API Fixes: 9658ac3a4ef6 ("net/dpaa: set the correct frame size in device MTU") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --g

[dpdk-dev] [PATCH v2 03/13] net/dpaa: implement scatter offload support

2018-09-18 Thread Hemant Agrawal
This patch implement the sg support, which can be enabled/disabled w.r.t configuration. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 62 +++--- drivers/net/dpaa/dpaa_ethdev.h | 3 +- drivers/net/dpaa/dpaa_rxtx.c | 8 +++--- drivers/ne

[dpdk-dev] [PATCH v2 01/13] net/dpaa: configure frame queue on MAC ID basis

2018-09-18 Thread Hemant Agrawal
The current code has the hardcoded seq for fq allocation. It require multiple changes, when some of the interfaces are assigned to kernel stack. Changing it on the mac id basis provide the flexibility to assign any interface to kernel. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethd

[dpdk-dev] [PATCH v2 00/13] NXP DPAA driver enhancements

2018-09-18 Thread Hemant Agrawal
Misc fixes for dpaa driver V2: remove the unused function from map file Add description/details in git commit logs. Hemant Agrawal (9): net/dpaa: configure frame queue on MAC ID basis net/dpaa: fix jumbo buffer config net/dpaa: implement scatter offload support net/dpaa: minor debug

Re: [dpdk-dev] [PATCH] build: fix compatibility with meson 0.41 onwards

2018-09-18 Thread Thomas Monjalon
18/09/2018 14:44, Timothy Redaelli: > On Tue, 18 Sep 2018 11:55:52 +0100 > Bruce Richardson wrote: > > > Versions of meson prior to 0.47 flattened the parameters to the > > "set_variable" function, which meant that the function could not take > > array variables as a parameter. Therefore, we need

[dpdk-dev] [PATCH v2 1/2] net/avf: fix unused variables and label

2018-09-18 Thread Bruce Richardson
Compiling with all warnings turned on causes errors about unused variables and an unused label. Remove these to allow building without having to disable those warnings. Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") Fixes: 3fd7a3719c66 ("net/avf: enable ops for MTU setting") Fixes: d6bde

[dpdk-dev] [PATCH v2 2/2] net/avf: fix missing compiler error flags

2018-09-18 Thread Bruce Richardson
The AVF driver was missing $(WERROR_FLAGS) in it's cflags, which means that a number of compilation errors were getting missed. This patch adds in the flag and fixes most of the errors, just disabling the strict-aliasing ones. Fixes: 22b123a36d07 ("net/avf: initialize PMD") Fixes: 69dd4c3d0898 ("n

Re: [dpdk-dev] [PATCH 2/3] net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug

2018-09-18 Thread Luca Boccassi
Hi, The application must already stop and close before detaching (which will call uninit). Quoting from the documentation: "*  Before detaching, they must be stopped and closed.     DPDK applications must call "rte_eth_dev_stop()" and     "rte_eth_dev_close()" APIs before detaching ports. These

Re: [dpdk-dev] [PATCH v2] devtools/test-meson-build: use shared libraries to save space

2018-09-18 Thread Thomas Monjalon
14/09/2018 18:21, Luca Boccassi: > On Fri, 2018-09-14 at 17:17 +0100, Bruce Richardson wrote: > > For usability, the default build type in meson is static, so that > > binaries can be run from the build directory easily. However, static > > builds take more space, so for build-testing purposes defa

Re: [dpdk-dev] [PATCH v2] net/i40e: remove driver log

2018-09-18 Thread Ferruh Yigit
On 9/18/2018 6:44 AM, Beilei Xing wrote: > Remove driver log when no interrupt event indicated > in alarm handler for both PF and VF, otherwise there > will be lots of prints which makes console unusable. > > Signed-off-by: Beilei Xing Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 2/2] doc: create a platorm specific page for NXP DPAA2 platform

2018-09-18 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v3: merge the patches doc/guides/cryptodevs/dpaa2_sec.rst | 28 +++ doc/guides/eventdevs/dpaa2.rst | 50 ++- doc/guides/nics/dpaa2.rst | 49 ++- doc/guides/platform/dpaa2.rst | 98 +

[dpdk-dev] [PATCH v3 1/2] doc: create a platorm specific page for NXP DPAA platform

2018-09-18 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v3: merge the patches doc/guides/cryptodevs/dpaa_sec.rst | 25 +- doc/guides/eventdevs/dpaa.rst | 48 ++ doc/guides/nics/dpaa.rst | 59 +- doc/guides/platform/dpaa.rst | 100

Re: [dpdk-dev] [PATCH v7] net/i40e: add interface to use latest vec path

2018-09-18 Thread Ferruh Yigit
On 9/18/2018 3:22 AM, Xiaoyun Li wrote: > For IA, the AVX2 vector path is only recommended to be used on later > platforms (identified by AVX512 support, like SKL etc.) This is because > performance benchmark shows downgrade when running AVX2 vector path on > early platform (BDW/HSW) in some cases.

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix non-matching parameters documentation

2018-09-18 Thread Ferruh Yigit
On 9/17/2018 10:07 PM, Yongseok Koh wrote: > >> On Sep 17, 2018, at 9:03 AM, Asaf Penso wrote: >> >> tso and vlan parameters were removed from the signature >> of txq_mbuf_to_swp function. >> >> The documentation of the function was not updated accordingly. >> >> Remove the tso and vlan documenta

[dpdk-dev] [PATCH v4 10/10] event/dsw: include DSW event device documentation

2018-09-18 Thread Mattias Rönnblom
The DSW event device is documented in DPDK Programmer's Guide. The MAINTAINERS file and the 18.11 release notes are updated. Signed-off-by: Mattias Rönnblom --- MAINTAINERS| 5 ++ doc/guides/eventdevs/dsw.rst | 96 ++ doc/guides/eve

[dpdk-dev] [PATCH v4 09/10] event/dsw: implement eventdev 'xstats' counters in DSW

2018-09-18 Thread Mattias Rönnblom
The DSW event device now implements the 'xstats' interface and a number of port- and device-level counters. Signed-off-by: Mattias Rönnblom --- drivers/event/dsw/Makefile | 3 +- drivers/event/dsw/dsw_evdev.c | 5 +- drivers/event/dsw/dsw_evdev.h | 19 +++ drivers/event/dsw/dsw_event.

  1   2   >