[dpdk-dev] [PATCH v2] net/i40e: support mac loopback

2017-12-19 Thread Yanglong Wu
According to loopback mode, setup loopback link or not. If loopback link is setted, packets in tx will be sent to rx directly. Loopback mode can be used to support testing task Signed-off-by: Yanglong Wu --- v2: fix coding style issue --- drivers/net/i40e/i40e_ethdev.c | 10 ++ drivers/n

Re: [dpdk-dev] [RFC PATCH 0/3] ethdev: few changes in rte_ethdev layer

2017-12-19 Thread Jerin Jacob
-Original Message- > Date: Tue, 19 Dec 2017 15:27:26 + > From: "Ananyev, Konstantin" > To: Jerin Jacob > CC: "dev@dpdk.org" , "shah...@mellanox.com" > > Subject: RE: [dpdk-dev] [RFC PATCH 0/3] ethdev: few changes in rte_ethdev > layer > > Hi Konstantin, > > > > > > > > > > 2. M

Re: [dpdk-dev] [RFC v1] doc compression API for DPDK

2017-12-19 Thread Verma, Shally
Hi Fiona Please refer to my comments below with my understanding on two major points OUT_OF_SPACE and Stateful Design. If you believe we still need a meeting to converge on same please share meeting details to me. > -Original Message- > From: Trahe, Fiona [mailto:fiona.tr...@intel.com]

Re: [dpdk-dev] [PATCH v2] net/i40e: fix VF Tx error issue

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Friday, December 8, 2017 3:41 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/i40e: fix VF Tx error issue > > When using kernel PF + DPDK VF, if

Re: [dpdk-dev] [PATCH] net/i40e: remove forward declaraion of i40e_xmit_pkts_simple

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Rami Rosen > Sent: Monday, November 27, 2017 3:26 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; Xing, Beilei; Rosen, Rami > Subject: [dpdk-dev] [PATCH] net/i40e: remove forward declaraion of > i40e_xmit_pkts_simple >

Re: [dpdk-dev] [PATCH 0/5] Use SPDX tags on C files

2017-12-19 Thread Hemant Agrawal
On 12/19/2017 8:03 PM, Bruce Richardson wrote: This contains the output of a script run to replace the BSD License with SPDX tags on Intel copyright files. The script should only have modified files with a single, Intel copyright on them, and ignored all files that had multiple copyright lines. D

Re: [dpdk-dev] [PATCH] net/ixgbe: removed ipsec keys from private data

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Radu Nicolau > Sent: Wednesday, November 22, 2017 7:19 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin; Lu, Wenzhuo; Nicolau, Radu > Subject: [dpdk-dev] [PATCH] net/ixgbe: removed ipsec keys from private data We n

Re: [dpdk-dev] [PATCH] net/fm10k: remove RSS restriction with num of queues

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of zhouyangchao > Sent: Monday, December 4, 2017 2:38 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z > Subject: [dpdk-dev] [PATCH] net/fm10k: remove RSS restriction with num of > queues > > FM10K HW does not have such rest

Re: [dpdk-dev] [PATCH] igb: fix Tx queue number

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dai, Wei > Sent: Tuesday, December 19, 2017 8:22 PM > To: zhouyangchao; dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH] igb: fix Tx queue number > > > -Original Message- > > From: dev [ma

Re: [dpdk-dev] [PATCH] doc: add i40e limitation of DCB function

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Kovacevic, Marko > Sent: Wednesday, December 13, 2017 12:57 AM > To: Xing, Beilei; Mcnamara, John > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: add i40e limitation of DCB function > > > > > -Ori

Re: [dpdk-dev] [PATCH] net/ixgbe: fix VF RX hang

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dai, Wei > Sent: Wednesday, November 22, 2017 9:18 AM > To: Lu, Wenzhuo; dev@dpdk.org > Cc: Lu, Wenzhuo; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix VF RX hang > > > > > -Original Messa

Re: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues per VF during run time

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wei Dai > Sent: Friday, December 8, 2017 9:54 AM > To: Ananyev, Konstantin; Wu, Jingjing; Xing, Beilei; Peng, Yuan > Cc: dev@dpdk.org; Dai, Wei > Subject: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues

Re: [dpdk-dev] [PATCH] vhost: fix dequeue zero copy not work with virtio1

2017-12-19 Thread Zhao, Bing
On 2017/12/15 20:48, Yuanhan Liu wrote: On Fri, Dec 15, 2017 at 10:33:41AM +, Loftus, Ciara wrote: >> >> Hi Junjie, >> >> On 12/13/2017 05:50 PM, Junjie Chen wrote: >>> This fix dequeue zero copy can not work with Qemu >>> version >= 2.7. Since from Qemu 2.7 virtio device >>> use virtio-1 pro

Re: [dpdk-dev] [PATCH] net/fm10k: fix logical port delete

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Helin > Sent: Wednesday, December 20, 2017 1:44 PM > To: Wang, Xiao W; Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org; Wang, Xiao W > Subject: Re: [dpdk-dev] [PATCH] net/fm10k: fix logical port delete > >

Re: [dpdk-dev] [PATCH] net/fm10k: fix logical port delete

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xiao Wang > Sent: Saturday, December 9, 2017 9:56 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org; Wang, Xiao W > Subject: [dpdk-dev] [PATCH] net/fm10k: fix logical port delete > > When closing port, we

Re: [dpdk-dev] [PATCH] net/i40e: fix FDIR input set conflict

2017-12-19 Thread Xing, Beilei
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, December 19, 2017 9:21 PM > To: Xing, Beilei > Cc: dev@dpdk.org > Subject: RE: [PATCH] net/i40e: fix FDIR input set conflict > > > > > -Original Message- > > From: Xing, Beilei > > Sent: Monday, December 18, 2017 1:21 PM

Re: [dpdk-dev] [PATCH 1/2] mbuf: support PPPoE and L2TP in software packet type parser

2017-12-19 Thread Xing, Beilei
> -Original Message- > From: Olivier MATZ [mailto:olivier.m...@6wind.com] > Sent: Tuesday, December 19, 2017 6:11 PM > To: Xing, Beilei > Cc: Wu, Jingjing ; dev@dpdk.org; Chilikin, Andrey > > Subject: Re: [PATCH 1/2] mbuf: support PPPoE and L2TP in software packet > type parser > > Hi

Re: [dpdk-dev] [PATCH] net/i40e: fix VLAN offload setting

2017-12-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xing, Beilei > Sent: Thursday, November 30, 2017 2:53 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix VLAN offload setting > > > > -Original Message--

[dpdk-dev] [PATCH v2] net/ixgbe: add flow parser ntuple support

2017-12-19 Thread Wei Zhao
Ixgbe ntuple filter in rte_flow need to support diversion data with less than 5 tuple parameters.So add this new support in parser code. Signed-off-by: Wei Zhao --- v2: -fix coding style issue. --- drivers/net/ixgbe/ixgbe_flow.c | 84 ++ 1 file changed,

Re: [dpdk-dev] [PATCH v3] igb_uio: allow multi-process access

2017-12-19 Thread Tiwei Bie
On Tue, Dec 19, 2017 at 09:58:13AM -0800, Xiao Wang wrote: [...] > static char *intr_mode; > @@ -336,6 +337,9 @@ struct rte_uio_pci_dev { > struct pci_dev *dev = udev->pdev; > int err; > > + if (atomic_inc_return(&udev->refcnt) > 1) > + return 0; > + Hmm, ideally, yo

[dpdk-dev] [PATCH] net/ixgbe: add flow parser ntuple support

2017-12-19 Thread Wei Zhao
Ixgbe ntuple filter in rte_flow need to support diversion data with less than 5 tuple parameters.So add this new support in parser code. Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_flow.c | 86 ++ 1 file changed, 46 insertions(+), 40 deletions(-)

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix typo

2017-12-19 Thread Ferruh Yigit
On 12/19/2017 5:59 PM, Ferruh Yigit wrote: > On 12/19/2017 3:31 AM, Pablo de Lara wrote: >> Fixes: fbde27f19ab8 ("ethdev: get default Rx/Tx configuration from dev info") >> Cc: sta...@dpdk.org >> >> Signed-off-by: Pablo de Lara > > Acked-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix typo

2017-12-19 Thread Ferruh Yigit
On 12/19/2017 3:31 AM, Pablo de Lara wrote: > Fixes: fbde27f19ab8 ("ethdev: get default Rx/Tx configuration from dev info") > Cc: sta...@dpdk.org > > Signed-off-by: Pablo de Lara Acked-by: Ferruh Yigit

Re: [dpdk-dev] [PATCH 01/11] avp: implement dynamic logging

2017-12-19 Thread Ferruh Yigit
On 12/18/2017 10:38 PM, Stephen Hemminger wrote: > All PMD should be using dynamic log levels. > > Signed-off-by: Stephen Hemminger > --- > config/common_base | 1 - > drivers/net/avp/avp_ethdev.c | 10 ++ > drivers/net/avp/avp_logs.h | 9 - > 3 files changed, 14 in

Re: [dpdk-dev] [PATCH 00/11] net/vhostpci: A new vhostpci PMD supporting VM2VM scenario

2017-12-19 Thread Yang, Zhiyong
Hi Maxime, > -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Tuesday, December 19, 2017 7:15 PM > To: Yang, Zhiyong ; dev@dpdk.org; > y...@fridaylinux.org > Cc: Wang, Wei W ; Tan, Jianfeng > > Subject: Re: [PATCH 00/11] net/vhostpci: A new vhostpci P

Re: [dpdk-dev] [PATCH 07/11] nfp: implement dynamic logging

2017-12-19 Thread Ferruh Yigit
On 12/18/2017 10:38 PM, Stephen Hemminger wrote: > Signed-off-by: Stephen Hemminger > --- > config/common_base | 3 ++- > drivers/net/nfp/nfp_net.c | 14 ++ > drivers/net/nfp/nfp_net_logs.h | 22 ++ > 3 files changed, 22 insertions(+), 17 deletion

Re: [dpdk-dev] [PATCH 00/11] Dynamic logging (just do it)

2017-12-19 Thread Ferruh Yigit
On 12/18/2017 10:38 PM, Stephen Hemminger wrote: > This patch set implements dynamic logging for 11 drivers. > All these patches are compile tested only. I don't have > access to most of this hardware. > > It makes more sense to "just do it" for dynamic logging rather > than keeping TODO lists in

Re: [dpdk-dev] [PATCH 02/11] bnx2x: implement dynamic logging

2017-12-19 Thread Ferruh Yigit
On 12/18/2017 10:38 PM, Stephen Hemminger wrote: > Replace compile time option for init and driver log with > dynamic value. > > Signed-off-by: Stephen Hemminger > --- > config/common_base | 2 -- > doc/guides/nics/bnx2x.rst| 8 > drivers/net/bnx2x/bnx2x_ethdev.c

Re: [dpdk-dev] [PATCH] net/virtio: fix Rx and Tx handler selection for arm32

2017-12-19 Thread Tiwei Bie
Hi Olivier, On Tue, Dec 19, 2017 at 11:50:31AM +0100, Olivier MATZ wrote: > On Mon, Dec 18, 2017 at 10:50:47AM +0800, Tiwei Bie wrote: > > On Thu, Dec 14, 2017 at 03:32:13PM +0100, Olivier Matz wrote: > > > From: Samuel Gauthier > > > > > > On arm32, we were always selecting the simple handler,

Re: [dpdk-dev] [PATCH v3 6/6] net/failsafe: fix removed device handling

2017-12-19 Thread Gaëtan Rivet
Hi Matan, On Tue, Dec 19, 2017 at 05:10:15PM +, Matan Azrad wrote: > There is time between the physical removal of the device until > sub-device PMDs get a RMV interrupt. At this time DPDK PMDs and > applications still don't know about the removal and may call sub-device > control operation wh

Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status

2017-12-19 Thread Gaëtan Rivet
On Tue, Dec 19, 2017 at 09:51:10PM +0100, Thomas Monjalon wrote: > 19/12/2017 18:24, Matan Azrad: > > HI > > > > > -Original Message- > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > Sent: Tuesday, December 19, 2017 7:20 PM > > > To: Matan Azrad > > > Cc: Adrien Maz

Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status

2017-12-19 Thread Thomas Monjalon
19/12/2017 18:24, Matan Azrad: > HI > > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Tuesday, December 19, 2017 7:20 PM > > To: Matan Azrad > > Cc: Adrien Mazarguil ; Thomas Monjalon > > ; Gaetan Rivet ; > > dev@dpdk.org > > Subject: Re: [

Re: [dpdk-dev] [PATCH v1 2/3] net/hyperv: implement core functionality

2017-12-19 Thread Ferruh Yigit
On 12/19/2017 7:06 AM, Adrien Mazarguil wrote: > On Mon, Dec 18, 2017 at 05:54:45PM -0800, Ferruh Yigit wrote: >> On 12/18/2017 8:46 AM, Adrien Mazarguil wrote: >>> As described in more details in the attached documentation (see patch >>> contents), this virtual device driver manages NetVSC interfa

Re: [dpdk-dev] [PATCH] net/pcap: convert license headers to SPDX tags

2017-12-19 Thread Ferruh Yigit
On 12/19/2017 11:41 AM, Bruce Richardson wrote: > On Tue, Dec 19, 2017 at 11:29:25AM -0800, Ferruh Yigit wrote: >> On 12/19/2017 2:18 AM, Bruce Richardson wrote: >>> On Mon, Dec 18, 2017 at 01:18:33PM -0800, Ferruh Yigit wrote: On 12/18/2017 1:06 PM, Ferruh Yigit wrote: > Signed-off-by: Fe

Re: [dpdk-dev] [PATCH] net/pcap: convert license headers to SPDX tags

2017-12-19 Thread Bruce Richardson
On Tue, Dec 19, 2017 at 11:29:25AM -0800, Ferruh Yigit wrote: > On 12/19/2017 2:18 AM, Bruce Richardson wrote: > > On Mon, Dec 18, 2017 at 01:18:33PM -0800, Ferruh Yigit wrote: > >> On 12/18/2017 1:06 PM, Ferruh Yigit wrote: > >>> Signed-off-by: Ferruh Yigit > >> > >> <...> > >> > >>> + * SPDX-Lic

Re: [dpdk-dev] [PATCH v3 5/5] bbdev: documentation

2017-12-19 Thread Mokhtar, Amr
> -Original Message- > From: Yigit, Ferruh > Sent: Monday 11 December 2017 19:02 > To: Mokhtar, Amr ; dev@dpdk.org > Cc: tho...@monjalon.net; Burakov, Anatoly ; De > Lara Guarch, Pablo ; Power, Niall > ; Macnamara, Chris > Subject: Re: [dpdk-dev] [PATCH v3 5/5] bbdev: documentation > >

Re: [dpdk-dev] [PATCH] net/pcap: convert license headers to SPDX tags

2017-12-19 Thread Ferruh Yigit
On 12/19/2017 2:18 AM, Bruce Richardson wrote: > On Mon, Dec 18, 2017 at 01:18:33PM -0800, Ferruh Yigit wrote: >> On 12/18/2017 1:06 PM, Ferruh Yigit wrote: >>> Signed-off-by: Ferruh Yigit >> >> <...> >> >>> + * SPDX-License-Identifier: BSD-3-Clause >>> + * Copyright(c) 2010-2016 Intel Corporation

Re: [dpdk-dev] [PATCH v3 2/5] bbdev: PMD drivers (null/turbo_sw)

2017-12-19 Thread Mokhtar, Amr
> -Original Message- > From: Yigit, Ferruh > Sent: Monday 11 December 2017 19:00 > To: Mokhtar, Amr ; dev@dpdk.org > Cc: tho...@monjalon.net; Burakov, Anatoly ; De > Lara Guarch, Pablo ; Power, Niall > ; Macnamara, Chris > Subject: Re: [dpdk-dev] [PATCH v3 2/5] bbdev: PMD drivers (null/t

Re: [dpdk-dev] [PATCH 09/13] examples/eventdev: add all type queue option

2017-12-19 Thread Pavan Nikhilesh
On Tue, Dec 19, 2017 at 01:18:45PM +, Van Haaren, Harry wrote: > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Thursday, December 7, 2017 8:37 PM > > To: Eads, Gage ; jerin.jacobkollanukka...@cavium.com; > > Van Haaren, Harry ; Rao, Nikhil > > ; hemant.agra...@nxp.c

Re: [dpdk-dev] [PATCH v3 1/5] bbdev: librte_bbdev library

2017-12-19 Thread Mokhtar, Amr
> -Original Message- > From: Yigit, Ferruh > Sent: Saturday 9 December 2017 02:44 > To: Mokhtar, Amr ; dev@dpdk.org > Cc: tho...@monjalon.net; Burakov, Anatoly ; De > Lara Guarch, Pablo ; Power, Niall > ; Macnamara, Chris > Subject: Re: [dpdk-dev] [PATCH v3 1/5] bbdev: librte_bbdev librar

Re: [dpdk-dev] [PATCH 06/13] examples/eventdev: add non burst mode generic worker

2017-12-19 Thread Pavan Nikhilesh
On Tue, Dec 19, 2017 at 01:26:30PM +, Van Haaren, Harry wrote: > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Thursday, December 7, 2017 8:37 PM > > To: Eads, Gage ; jerin.jacobkollanukka...@cavium.com; > > Van Haaren, Harry ; Rao, Nikhil > > ; hemant.agra...@nxp.c

Re: [dpdk-dev] [PATCH] doc: convert license headers to SPDX tags for NIC docs

2017-12-19 Thread Ferruh Yigit
On 12/18/2017 9:07 PM, Hemant Agrawal wrote: > + Jerin (Cavium), Oliver (6 Wind) > Hi Ferruh, > You have also modified the license header for Cavium and 6 Wind > copyright files. This patch will need an explicit ack from Cavium and 6 > Wind. Since this is a mechanical change, not the licen

Re: [dpdk-dev] [PATCH 07/13] examples/eventdev: add thread safe Tx worker pipeline

2017-12-19 Thread Pavan Nikhilesh
Hi Harry, Thanks for review and comments. Feedback inline. On Tue, Dec 19, 2017 at 12:00:02PM +, Van Haaren, Harry wrote: > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Thursday, December 7, 2017 8:37 PM > > To: Eads, Gage ; jerin.jacobkollanukka...@cavium.com; >

Re: [dpdk-dev] [PATCH v2 10/11] test: register eventdev selftest

2017-12-19 Thread Pavan Nikhilesh
Hi Harry, Thanks for the review, comments below. On Tue, Dec 19, 2017 at 03:27:25PM +, Van Haaren, Harry wrote: > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Thursday, December 14, 2017 3:02 PM > > To: jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetwork

[dpdk-dev] [PATCH v2 2/2] mempool/octeontx: clean up memory area registration

2017-12-19 Thread Pavan Nikhilesh
Clean up the dependency between alloc and memory area registration, this removes the need for SLIST data structure and octeontx_pool_list. Signed-off-by: Pavan Nikhilesh Acked-by: Santosh Shukla --- drivers/mempool/octeontx/octeontx_fpavf.c | 23 ++-- drivers/mempool/octeontx/octeontx

[dpdk-dev] [PATCH v2 1/2] mempool: notify mempool area after mempool alloc

2017-12-19 Thread Pavan Nikhilesh
Mempool creation needs to be completed first before notifying mempool to register the mempool area. Signed-off-by: Pavan Nikhilesh Acked-by: Santosh Shukla --- v2 Changes: - Redo commit log. lib/librte_mempool/rte_mempool.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[dpdk-dev] [PATCH v3 2/2] event/octeontx: fix Rx adapter port id mapping

2017-12-19 Thread Pavan Nikhilesh
When octeontx event dev receives a packet for the event Rx adapter, the mbuf port id should contain the appropriate ethdev id instead of internal channel info. Fixes: 45a914c5bd71 ("event/octeontx: support event Rx adapter") Signed-off-by: Pavan Nikhilesh Acked-by: Santosh Shukla --- drivers/e

[dpdk-dev] [PATCH v3 1/2] net/octeontx: add channel to port id mapping

2017-12-19 Thread Pavan Nikhilesh
The channel to port id map is used by event octeontx to map the received wqe to the respective ethdev port. Signed-off-by: Pavan Nikhilesh Acked-by: Santosh Shukla --- v3 changes: - Add rte_ prefix to shared variable octeontx_pchan_map. v2 changes: - Used extern instead of defining glob

Re: [dpdk-dev] [PATCH] meson: add tests to build

2017-12-19 Thread Laatz, Kevin
> From: Laatz, Kevin > Sent: Tuesday, December 19, 2017 5:32 PM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Laatz, Kevin > > Subject: [PATCH] meson: add tests to build > > This commit adds most of the remaining tests to the meson build. > They can be run using test binary as normal. > Just a s

[dpdk-dev] [PATCH] meson: add tests to build

2017-12-19 Thread Kevin Laatz
This commit adds most of the remaining tests to the meson build. They can be run using test binary as normal. Signed-off-by: Kevin Laatz --- test/test/meson.build | 17 + 1 file changed, 17 insertions(+) diff --git a/test/test/meson.build b/test/test/meson.build index 1a4f894..a

Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status

2017-12-19 Thread Matan Azrad
HI > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, December 19, 2017 7:20 PM > To: Matan Azrad > Cc: Adrien Mazarguil ; Thomas Monjalon > ; Gaetan Rivet ; > dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check

Re: [dpdk-dev] [PATCH v3 0/3] improve failsafe performance

2017-12-19 Thread Matan Azrad
All this series patches are V1. Sorry for V3 mistake. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Matan Azrad > Sent: Tuesday, December 19, 2017 7:14 PM > To: Gaetan Rivet > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 0/3] improve failsafe performance

Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 17:10:10 + Matan Azrad wrote: > int > +rte_eth_dev_is_removed(uint16_t port_id) > +{ > + struct rte_eth_dev *dev; > + int ret; > + > + RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, 0); > + > + dev = &rte_eth_devices[port_id]; > + > + RTE_FUNC_PTR_OR_ERR_RET

[dpdk-dev] [PATCH v3 3/3] net/failsafe: improve Rx sub-devices iteration

2017-12-19 Thread Matan Azrad
Connecting the sub-devices each other by cyclic linked list can help to iterate over them by Rx burst functions because there is no need to check the sub-devices ring wraparound. Create the aforementioned linked-list and change the Rx burst functions iteration accordingly. Signed-off-by: Matan Az

[dpdk-dev] [PATCH v3 2/3] net/failsafe: mitigate data plan atomic operations

2017-12-19 Thread Matan Azrad
Fail-safe uses atomic operations to protect sub-device close operation calling by host thread in removal time while the removed sub-device burst functions are still in process by application threads. Using "set" atomic operations is a liitle bit more efficient than "add" or "sub" atomic operations

[dpdk-dev] [PATCH v3 1/3] net/failsafe: fix Rx safe check compiler hint

2017-12-19 Thread Matan Azrad
failsafe_rx_burst function is used when there are no sub-devices or at least one of them has been removed, on the other hand, when all the sub-devices are present, failsafe_rx_burst_fast function is used. So it's really expected that some of the sub-devices will be unsafe for Rx burst in failsafe_

[dpdk-dev] [PATCH v3 0/3] improve failsafe performance

2017-12-19 Thread Matan Azrad
This fail-safe series should improve some cycles in failsafe data path. It is obvious that we cannot improve a lot because the most of data path functionality are done by the sub devices data path. So the expectation from this series is just to improve some cycles in sub devices management done b

[dpdk-dev] [PATCH v3 6/6] net/failsafe: fix removed device handling

2017-12-19 Thread Matan Azrad
There is time between the physical removal of the device until sub-device PMDs get a RMV interrupt. At this time DPDK PMDs and applications still don't know about the removal and may call sub-device control operation which should return an error. In previous code this error is reported to the appl

[dpdk-dev] [PATCH v3 5/6] ethdev: adjust flow APIs removal error report

2017-12-19 Thread Matan Azrad
rte_eth_dev_is_removed API was added to detect a device removal synchronously. When a device removal occurs during flow command execution, many different errors can be reported to the user. Adjust all flow APIs error reports to return -EIO in case of device removal using rte_eth_dev_is_removed AP

[dpdk-dev] [PATCH v3 4/6] ethdev: adjust APIs removal error report

2017-12-19 Thread Matan Azrad
rte_eth_dev_is_removed API was added to detect a device removal synchronously. When a device removal occurs during control command execution, many different errors can be reported to the user. Adjust all ethdev APIs error reports to return -EIO in case of device removal using rte_eth_dev_is_remov

[dpdk-dev] [PATCH v3 2/6] net/mlx4: support a device removal check operation

2017-12-19 Thread Matan Azrad
Add support to get removal status of mlx4 device. Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4.c| 1 + drivers/net/mlx4/mlx4.h| 1 + drivers/net/mlx4/mlx4_ethdev.c | 20 3 files changed, 22 insertions(+) diff --git a/drivers/net/mlx4/mlx4.c b/drive

[dpdk-dev] [PATCH v3 3/6] net/mlx5: support a device removal check operation

2017-12-19 Thread Matan Azrad
Add support to get removal status of mlx5 device. It is not supported in secondary process. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5.c| 2 ++ drivers/net/mlx5/mlx5.h| 1 + drivers/net/mlx5/mlx5_ethdev.c | 20 3 files changed, 23 insertions(+) d

[dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status

2017-12-19 Thread Matan Azrad
There is time between the physical removal of the device until PMDs get a RMV interrupt. At this time DPDK PMDs and applications still don't know about the removal. Current removal detection is achieved only by registration to device RMV event and the notification comes asynchronously. So, there i

[dpdk-dev] [PATCH v3 0/6] Fail-safe\ethdev: fix removal handling lack

2017-12-19 Thread Matan Azrad
There is time between the physical removal of the device until sub-device PMDs get a RMV interrupt. At this time DPDK PMDs and applications still don't know about the removal and may call sub-device control operation which should return an error. This series adds new ethdev operation to check

Re: [dpdk-dev] Logging format and time stamping

2017-12-19 Thread Wiles, Keith
> On Dec 19, 2017, at 10:01 AM, Stephen Hemminger > wrote: > > On Tue, 19 Dec 2017 15:51:09 + > "Wiles, Keith" wrote: > >>> On Dec 19, 2017, at 9:44 AM, Stephen Hemminger >>> wrote: >>> >>> On Tue, 19 Dec 2017 14:12:27 + >>> "Wiles, Keith" wrote: >>> Hi all, One

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2017-12-19 Thread Burakov, Anatoly
On 19-Dec-17 4:06 PM, Stephen Hemminger wrote: On Tue, 19 Dec 2017 16:02:51 + "Burakov, Anatoly" wrote: On 19-Dec-17 3:46 PM, Stephen Hemminger wrote: On Tue, 19 Dec 2017 11:14:27 + Anatoly Burakov wrote: This patchset introduces a prototype implementation of dynamic memory allo

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 16:02:51 + "Burakov, Anatoly" wrote: > On 19-Dec-17 3:46 PM, Stephen Hemminger wrote: > > On Tue, 19 Dec 2017 11:14:27 + > > Anatoly Burakov wrote: > > > >> This patchset introduces a prototype implementation of dynamic memory > >> allocation > >> for DPDK. It is

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2017-12-19 Thread Burakov, Anatoly
On 19-Dec-17 3:46 PM, Stephen Hemminger wrote: On Tue, 19 Dec 2017 11:14:27 + Anatoly Burakov wrote: This patchset introduces a prototype implementation of dynamic memory allocation for DPDK. It is intended to start a conversation and build consensus on the best way to implement this funct

Re: [dpdk-dev] [PATCH 0/8] replace BSD headers with SPDX tags

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 15:48:58 + Bruce Richardson wrote: > Similar to what was done with the .c and .h files, replace BSD license > headers on makefiles and script files which were copyright by Intel alone. > > Bruce Richardson (8): > app: add SPDX tags for Intel copyright Makefiles > tool

Re: [dpdk-dev] Logging format and time stamping

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 15:51:09 + "Wiles, Keith" wrote: > > On Dec 19, 2017, at 9:44 AM, Stephen Hemminger > > wrote: > > > > On Tue, 19 Dec 2017 14:12:27 + > > "Wiles, Keith" wrote: > > > >> Hi all, > >> > >> One other area with logging is we do not time stamp our logs to the > >>

[dpdk-dev] [PATCH 8/8] doc: add SPDX tag for Intel copyright file

2017-12-19 Thread Bruce Richardson
Signed-off-by: Bruce Richardson --- doc/guides/conf.py | 31 ++- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 31f914a89..77d93acf1 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -1,32 +1,5 @@

[dpdk-dev] [PATCH 7/8] test: add SPDX tags for Intel copyright Makefiles

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- test/Makefile | 32 ++-- test/cmdline_test/Makefile | 32 ++---

Re: [dpdk-dev] Logging format and time stamping

2017-12-19 Thread Wiles, Keith
> On Dec 19, 2017, at 9:44 AM, Stephen Hemminger > wrote: > > On Tue, 19 Dec 2017 14:12:27 + > "Wiles, Keith" wrote: > >> Hi all, >> >> One other area with logging is we do not time stamp our logs to the screen, >> which I feel is needed in some cases. The bigger area is figuring out w

[dpdk-dev] [PATCH 5/8] lib: add SPDX tags for Intel copyright Makefiles

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- lib/Makefile| 32 ++--- lib/librte_acl/Makefile | 32 ++

[dpdk-dev] [PATCH 6/8] mk: add SPDX tags for Intel copyright Makefiles

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- mk/arch/i686/rte.vars.mk | 32 ++ mk/arch/x86_64/rte.vars.mk | 32 ++-

[dpdk-dev] [PATCH 4/8] examples: add SPDX tags for Intel copyright Makefiles

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- examples/bond/Makefile | 32 ++--- examples/cmdline/Makefile | 32 ++--

[dpdk-dev] [PATCH 3/8] drivers: add SPDX tags for Intel copyright Makefiles

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- drivers/Makefile | 32 ++-- drivers/bus/vdev/Makefile | 32 ++-

[dpdk-dev] [PATCH 1/8] app: add SPDX tags for Intel copyright Makefiles

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- app/Makefile | 32 ++-- app/pdump/Makefile| 32 ++-- a

[dpdk-dev] [PATCH 2/8] tools: add SPDX tags for Intel copyright scripts

2017-12-19 Thread Bruce Richardson
Replace the BSD license header with the SPDX tag for Makefiles and scripting files with only an Intel copyright on them. Signed-off-by: Bruce Richardson --- buildtools/gen-build-mk.sh | 33 ++--- buildtools/gen-config-h.sh | 33 ++--- build

[dpdk-dev] [PATCH 0/8] replace BSD headers with SPDX tags

2017-12-19 Thread Bruce Richardson
Similar to what was done with the .c and .h files, replace BSD license headers on makefiles and script files which were copyright by Intel alone. Bruce Richardson (8): app: add SPDX tags for Intel copyright Makefiles tools: add SPDX tags for Intel copyright scripts drivers: add SPDX tags for

Re: [dpdk-dev] [PATCH v2 09/11] event/sw: update software eventdev selftest ops

2017-12-19 Thread Van Haaren, Harry
> From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Thursday, December 14, 2017 3:02 PM > To: jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com; > Richardson, Bruce ; Van Haaren, Harry > ; Eads, Gage ; > hemant.agra...@nxp.com; nipun.gu...@nxp.com; Ma, Liang J >

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 11:14:27 + Anatoly Burakov wrote: > This patchset introduces a prototype implementation of dynamic memory > allocation > for DPDK. It is intended to start a conversation and build consensus on the > best > way to implement this functionality. The patchset works well enou

Re: [dpdk-dev] [PATCH v2 02/11] eventdev: add API to perform self test

2017-12-19 Thread Van Haaren, Harry
> From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Thursday, December 14, 2017 3:01 PM > To: jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com; > Richardson, Bruce ; Van Haaren, Harry > ; Eads, Gage ; > hemant.agra...@nxp.com; nipun.gu...@nxp.com; Ma, Liang J >

Re: [dpdk-dev] Logging format and time stamping

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 14:12:27 + "Wiles, Keith" wrote: > Hi all, > > One other area with logging is we do not time stamp our logs to the screen, > which I feel is needed in some cases. The bigger area is figuring out where > the log message came from and greping the code is a bit hard in som

Re: [dpdk-dev] [PATCH v2 08/11] event/sw: modify eventdev software test

2017-12-19 Thread Van Haaren, Harry
> From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Thursday, December 14, 2017 3:02 PM > To: jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com; > Richardson, Bruce ; Van Haaren, Harry > ; Eads, Gage ; > hemant.agra...@nxp.com; nipun.gu...@nxp.com; Ma, Liang J >

Re: [dpdk-dev] [PATCH 0/5] Dynamic logging

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 17:55:05 +0530 Pavan Nikhilesh wrote: > Implement dynamic logging for cavium specific thunder nicvf and octeontx > platforms. > > Pavan Nikhilesh (5): > net/thunderx: implement dynamic logging > net/octeontx: implement dynamic logging > mempool/octeontx: implement dynam

Re: [dpdk-dev] [PATCH v2] igb_uio: allow multi-process access

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 07:42:20 -0800 Xiao Wang wrote: > + atomic_dec(&udev->refcnt); > + if (atomic_read(&udev->refcnt) > 0) > + return 0; > + The point of using atomic functions is to do atomic operations. You need to use atomic_dec_and_test here.

Re: [dpdk-dev] [PATCH v1 2/3] net/hyperv: implement core functionality

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 11:01:55 +0100 Adrien Mazarguil wrote: > > Why not use sscanf which would be safer in this case. > > Right, this is indeed the obvious implementation, however not only the fixed > MAC-48 format is not the most convenient to use for user input (somewhat > like forcing them t

[dpdk-dev] [PATCH v5] crypto/aesni_mb: support AES-CCM

2017-12-19 Thread Pablo de Lara
From: Fan Zhang Add support to AES-CCM, for 128-bit keys. Signed-off-by: Fan Zhang --- v5: * Updated macro names, since they have changed in the Multi-buffer library * Fixed capabilities (only 128-bit keys are supported) v4: * Fixed bugs * Updated capabilities v3: * Update with changed nam

Re: [dpdk-dev] [PATCH v1 2/3] net/hyperv: implement core functionality

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 11:15:38 +0100 Adrien Mazarguil wrote: > On Tue, Dec 19, 2017 at 09:53:27AM +, Bruce Richardson wrote: > > On Mon, Dec 18, 2017 at 09:23:41PM +0100, Adrien Mazarguil wrote: > > > On Mon, Dec 18, 2017 at 10:34:12AM -0800, Stephen Hemminger wrote: > > > > On Mon, 18 Dec

[dpdk-dev] [PATCH] crypto/aesni_mb: support AES-CCM

2017-12-19 Thread Pablo de Lara
From: Fan Zhang Add support to AES-CCM, for 128-bit keys. Signed-off-by: Fan Zhang --- doc/guides/cryptodevs/aesni_mb.rst | 4 + doc/guides/cryptodevs/features/aesni_mb.ini| 1 + doc/guides/rel_notes/release_18_02.rst | 5 + drivers/crypto/aesni_mb/rte

Re: [dpdk-dev] [RFC PATCH 0/3] ethdev: few changes in rte_ethdev layer

2017-12-19 Thread Ananyev, Konstantin
Hi Jerin, > > > > > > > > 2. Make it safe to remove rx/tx callback at runtime. > > > > Right now it is not possible for the application to figure out > > > > when it is safe to free removed callback handle and > > > > associated with it resources(unless the queue is stopped). > > > > That's proba

Re: [dpdk-dev] [PATCH v2 10/11] test: register eventdev selftest

2017-12-19 Thread Van Haaren, Harry
> From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Thursday, December 14, 2017 3:02 PM > To: jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com; > Richardson, Bruce ; Van Haaren, Harry > ; Eads, Gage ; > hemant.agra...@nxp.com; nipun.gu...@nxp.com; Ma, Liang J >

Re: [dpdk-dev] [PATCH v1 2/3] net/hyperv: implement core functionality

2017-12-19 Thread Adrien Mazarguil
On Mon, Dec 18, 2017 at 05:54:45PM -0800, Ferruh Yigit wrote: > On 12/18/2017 8:46 AM, Adrien Mazarguil wrote: > > As described in more details in the attached documentation (see patch > > contents), this virtual device driver manages NetVSC interfaces in virtual > > machines hosted by Hyper-V/Azur

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

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

Re: [dpdk-dev] [PATCH] net/virtio-user: specify MAC address for tap port

2017-12-19 Thread Ning Li
Hi Tiwei, > Hi Ning, > > On Thu, Dec 14, 2017 at 07:38:14PM +0800, Ning Li wrote: > > When use virtio_user as exception path, we need to specify a MAC > > address for the tap port. > > Is this a fix? Did you meet any issue? If so, please describe > the issue and add a fixline. Specify the MAC a

[dpdk-dev] [PATCH 1/5] app: use SPDX tags for Intel copyright files

2017-12-19 Thread Bruce Richardson
Do a replacement of the full BSD License header with the SPDX reference for all .c/.h files with an Intel copyright only on them. Signed-off-by: Bruce Richardson --- app/pdump/main.c | 32 ++-- app/proc_info/main.c |

[dpdk-dev] [PATCH 0/5] Use SPDX tags on C files

2017-12-19 Thread Bruce Richardson
This contains the output of a script run to replace the BSD License with SPDX tags on Intel copyright files. The script should only have modified files with a single, Intel copyright on them, and ignored all files that had multiple copyright lines. Due to variance in the headers used, not all files

Re: [dpdk-dev] [PATCH 0/2] Enable cross-compilation of DPDK with meson

2017-12-19 Thread Bruce Richardson
On Tue, Dec 19, 2017 at 01:25:17PM +, Luca Boccassi wrote: > On Tue, 2017-12-19 at 10:52 +, Bruce Richardson wrote: > > While meson has built-in support for cross-compilation, there can be > > things > > inside the meson.build files which cause problems in a cross-compile > > environment. T

Re: [dpdk-dev] [RFC PATCH] RFC build: prototype support for ARM builds

2017-12-19 Thread Bruce Richardson
On Tue, Dec 19, 2017 at 01:27:07PM +, Luca Boccassi wrote: > On Tue, 2017-12-19 at 10:53 +, Bruce Richardson wrote: > > Add some skeleton files to enable compiling for ARM target. This has > > been > > tested by doing a cross-compile for armv8-a type using the linaro gcc > > toolchain. > >

  1   2   3   >