Re: [dpdk-dev] [PATCH v3 1/2] net/i40e: extended list of operations for ddp processing

2017-06-28 Thread Chilikin, Andrey
Hi Beilei, > -Original Message- > From: Xing, Beilei > Sent: Wednesday, June 28, 2017 7:58 AM > To: Chilikin, Andrey ; dev@dpdk.org > Cc: Wu, Jingjing > Subject: RE: [PATCH v3 1/2] net/i40e: extended list of operations for ddp > processing > > Hi Andrey, > > > + } > > + else { > >

Re: [dpdk-dev] [PATCH v5 12/19] devargs: generic device representation

2017-06-28 Thread Thomas Monjalon
21/06/2017 01:35, Gaetan Rivet: > Remove the dependency of this subsystem upon bus specific device > representation. > > Devargs only validates that a device declaration is correct and handled > by a bus. The device interpretation is done afterward within the bus. > > Signed-off-by: Gaetan Rivet

Re: [dpdk-dev] [PATCH v3 1/2] net/i40e: extended list of operations for ddp processing

2017-06-28 Thread Xing, Beilei
Hi Andrey, > -Original Message- > From: Chilikin, Andrey > Sent: Wednesday, June 28, 2017 3:40 PM > To: Xing, Beilei ; dev@dpdk.org > Cc: Wu, Jingjing > Subject: RE: [PATCH v3 1/2] net/i40e: extended list of operations for ddp > processing > > Hi Beilei, > > > -Original Message-

Re: [dpdk-dev] [PATCH v5 12/19] devargs: generic device representation

2017-06-28 Thread Gaëtan Rivet
On Wed, Jun 28, 2017 at 09:44:18AM +0200, Thomas Monjalon wrote: > 21/06/2017 01:35, Gaetan Rivet: > > Remove the dependency of this subsystem upon bus specific device > > representation. > > > > Devargs only validates that a device declaration is correct and handled > > by a bus. The device inter

[dpdk-dev] [PATCH v4 2/2] app/testpmd: enable ddp remove profile feature

2017-06-28 Thread Andrey Chilikin
New command 'ddp del (port) (profile_path)' removes previously loaded profile and deletes it from the list of the loaded profiles. Signed-off-by: Andrey Chilikin Acked-by: Beilei Xing --- app/test-pmd/cmdline.c | 74 + doc/guides/testpmd_app_ug/t

[dpdk-dev] [PATCH v4 1/2] net/i40e: extended list of operations for ddp processing

2017-06-28 Thread Andrey Chilikin
This patch adds ability to remove already loaded profile or write profile without registering it Signed-off-by: Andrey Chilikin --- drivers/net/i40e/rte_pmd_i40e.c | 86 - drivers/net/i40e/rte_pmd_i40e.h | 6 ++- 2 files changed, 65 insertions(+), 27 dele

[dpdk-dev] [PATCH v4 0/2] net/i40e: extended list of operations for ddp processing

2017-06-28 Thread Andrey Chilikin
This patch adds two new operations for dynamic device personalisation: * remove already loaded profile and delete it from the list * write profile without registering it This patchset depends on: [PATCH v2 00/16] net/i40e: base code update http://dpdk.org/ml/archives/dev/2017-June/068732.html http

Re: [dpdk-dev] [PATCH v4 1/2] net/i40e: extended list of operations for ddp processing

2017-06-28 Thread Xing, Beilei
> -Original Message- > From: Chilikin, Andrey > Sent: Wednesday, June 28, 2017 4:15 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Wu, Jingjing > ; Chilikin, Andrey > Subject: [PATCH v4 1/2] net/i40e: extended list of operations for ddp > processing > > This patch adds ability to remove alre

Re: [dpdk-dev] [PATCH v2 5/5] app/testpmd: add command to test NIC restoration

2017-06-28 Thread Wu, Jingjing
> -Original Message- > From: Dai, Wei > Sent: Tuesday, June 27, 2017 10:07 PM > To: tho...@monjalon.net; Lu, Wenzhuo ; Ananyev, > Konstantin ; Zhang, Helin > ; Wu, Jingjing > Cc: dev@dpdk.org; Dai, Wei > Subject: [PATCH v2 5/5] app/testpmd: add command to test NIC restoration > > When

Re: [dpdk-dev] [PATCH v2 4/5] app/testpmd: add command to test NIC reset

2017-06-28 Thread Wu, Jingjing
> -Original Message- > From: Dai, Wei > Sent: Tuesday, June 27, 2017 10:07 PM > To: tho...@monjalon.net; Lu, Wenzhuo ; Ananyev, > Konstantin ; Zhang, Helin > ; Wu, Jingjing > Cc: dev@dpdk.org; Dai, Wei > Subject: [PATCH v2 4/5] app/testpmd: add command to test NIC reset > > When a NIC

[dpdk-dev] [PATCH] examples/vhost: introduce a new vhost-user-scsi sample application

2017-06-28 Thread Changpeng Liu
vhost-user protocol is common to many virtio devices, such as virtio_net/virtio_scsi/virtio_blk. Since DPDK vhost library removed the NET specific data structures, the vhost library is common to other virtio devices, such as virtio-scsi. Here we introduce a simple memory based block device that ca

Re: [dpdk-dev] [PATCH] net/bond: change link status check to no-wait

2017-06-28 Thread Declan Doherty
On 26/06/2017 9:53 PM, Chas Williams wrote: On Mon, 2017-06-26 at 16:13 +0100, Declan Doherty wrote: In the 802.3ad periodic callback function the link status of all slaves is checked using rte_eth_link_get function. Depending on the slave device this function can block for up to 9 seconds and t

Re: [dpdk-dev] [PATCH v5 04/12] net/failsafe: add fail-safe PMD

2017-06-28 Thread Thomas Monjalon
You need this patch for shared library build: --- a/drivers/net/failsafe/Makefile +++ b/drivers/net/failsafe/Makefile @@ -34,6 +34,10 @@ include $(RTE_SDK)/mk/rte.vars.mk # Library name LIB = librte_pmd_failsafe.a +EXPORT_MAP := rte_pmd_failsafe_version.map + +LIBABIVER := 1 + # Sources are s

Re: [dpdk-dev] [PATCH v6 09/11] pci: implement find_device bus operation

2017-06-28 Thread Gaëtan Rivet
On Tue, Jun 27, 2017 at 04:35:14PM -0700, Stephen Hemminger wrote: > On Tue, 27 Jun 2017 18:11:16 +0200 > Gaetan Rivet wrote: > > > + int start_found = !!(start == NULL); > > + > > + FOREACH_DEVICE_ON_PCIBUS(dev) { > > + if (!start_found) { > > + if (&dev->device =

[dpdk-dev] [PATCH] lib/lib_eal:fix the pointer 'elem' may be NULL bug

2017-06-28 Thread RongQiang Xie
Signed-off-by: RongQiang Xie --- lib/librte_eal/common/eal_common_memzone.c | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 lib/librte_eal/common/eal_common_memzone.c diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c o

Re: [dpdk-dev] [PATCH v4 0/2] net/i40e: extended list of operations for ddp processing

2017-06-28 Thread Ferruh Yigit
On 6/28/2017 9:15 AM, Andrey Chilikin wrote: > This patch adds two new operations for dynamic device personalisation: > * remove already loaded profile and delete it from the list > * write profile without registering it > > This patchset depends on: > [PATCH v2 00/16] net/i40e: base code update >

Re: [dpdk-dev] [PATCH 1/2] bond: avoid allocating mempool on socket LCORE_ID_ANY

2017-06-28 Thread Declan Doherty
On 26/04/17 22:30, Jan Blunck wrote: If the numa node is unknown, use the value from rte_socket_id() to avoid an allocation failure. Signed-off-by: Eric Kinzie CC: Eric Kinzie --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bon

Re: [dpdk-dev] [PATCH 2/2] bond: use rte_eth_dev_socket_id()

2017-06-28 Thread Declan Doherty
On 26/04/17 22:30, Jan Blunck wrote: The bonded device does not have to be a PCI device. Use the rte_ethdev functions instead. Signed-off-by: Wen Chiu Signed-off-by: Stephen Hemminger Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 +- 1 file changed, 1 insertio

Re: [dpdk-dev] [PATCH v6 09/11] pci: implement find_device bus operation

2017-06-28 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gaëtan Rivet > Sent: Wednesday, June 28, 2017 10:18 AM > To: Stephen Hemminger > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 09/11] pci: implement find_device bus > operation > > On Tue, Jun 27, 2017 at

Re: [dpdk-dev] [PATCH] vfio: allow to map other memory regions

2017-06-28 Thread Wodkowski, PawelX
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, June 19, 2017 11:04 PM > To: Wodkowski, PawelX > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vfio: allow to map other memory regions > > Hi, > Some comments below > > 24/05/2017 13:17, Pawel

Re: [dpdk-dev] [PATCH v2] net/tap: restore state of remote device when closing

2017-06-28 Thread Ferruh Yigit
> On 06/27/2017 02:33 PM, Thomas Monjalon wrote: >> When exiting a DPDK application, the TAP remote was left >> with the link down even if it was initially up. >> >> The device flags of the remote netdevice are saved when probing, >> and restored when calling the close function. >> The remote stat

Re: [dpdk-dev] [PATCH] lib/lib_eal:fix the pointer 'elem' may be NULL bug

2017-06-28 Thread Sergio Gonzalez Monroy
On 28/06/2017 09:12, RongQiang Xie wrote: Signed-off-by: RongQiang Xie --- lib/librte_eal/common/eal_common_memzone.c | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 lib/librte_eal/common/eal_common_memzone.c diff --git a/lib/librte_eal/common/eal_common_memzone.c

[dpdk-dev] [PATCH v2 0/3] net/ark: augment user extension and bug fix

2017-06-28 Thread John Miller
v2: * Split the user extension private data per port patch and the set_mtu patch into separate patches. * Add better description to per port private data patch * stats_reset patch untouched from V1 John Miller (3): net/ark: allow unique user data for each port in extension calls net/ark: add

[dpdk-dev] [PATCH v2 2/3] net/ark: add set_mtu call to user extension API

2017-06-28 Thread John Miller
Allows a user extension to set a callback for the set_mtu operation. Signed-off-by: John Miller --- drivers/net/ark/ark_ethdev.c | 19 +++ drivers/net/ark/ark_ext.h| 4 drivers/net/ark/ark_global.h | 1 + 3 files changed, 24 insertions(+) diff --git a/drivers/net/ark/

[dpdk-dev] [PATCH v2 1/3] net/ark: allow unique user data for each port in extension calls

2017-06-28 Thread John Miller
This change allows a user extension to provide unique private callback data for all ports. Arkville is a single-function multi-port device. User_data resides in the singleton Arkville structure. This structure is shared across all ports devices (eth_dev) which are created one per port. For the

[dpdk-dev] [PATCH v2 3/3] net/ark: fix bug in stats_reset operation

2017-06-28 Thread John Miller
Repairs a bug in the stats_reset where the wrong queue was being passed into tx reset. Signed-off-by: John Miller --- drivers/net/ark/ark_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c index 5733ba3..6db362

[dpdk-dev] [PATCH v2] net/bond: change link status check to no-wait

2017-06-28 Thread Declan Doherty
In 2 modes (802.3ad and TLB) of the link bonding driver, monitoring of link status is used to determine the active slaves to use. These functions are currently using the rte_link_link_get which could block for up to 9 seconds, depending on the slave device. In the 802.3ad periodic callback and in

Re: [dpdk-dev] [PATCH v9 1/2] mem: balanced allocation of hugepages

2017-06-28 Thread Sergio Gonzalez Monroy
On 27/06/2017 11:24, Ilya Maximets wrote: Currently EAL allocates hugepages one by one not paying attention from which NUMA node allocation was done. Such behaviour leads to allocation failure if number of available hugepages for application limited by cgroups or hugetlbfs and memory requested n

[dpdk-dev] [PATCH v2 2/2] net/i40e: add hot plug monitor in i40e

2017-06-28 Thread Jeff Guo
From: "Guo, Jia" This patch enable the hot plug feature in i40e, by monitoring the hot plug uevent of the device. When remove event got, call the app callback function to handle the detach process. Signed-off-by: Guo, Jia --- v2->v1: remove unused part for current stage. --- drivers/net/i40e/i

[dpdk-dev] [PATCH v2 1/2] eal: add uevent api for hot plug

2017-06-28 Thread Jeff Guo
From: "Guo, Jia" This patch aim to add a variable "uevent_fd" in structure "rte_intr_handle" for enable kernel object uevent monitoring, and add some uevent API in rte eal interrupt, that is “rte_uevent_connect” and “rte_uevent_get”, so that all driver could use these API to monitor and read out

Re: [dpdk-dev] [PATCH V2 0/6] some local vmxnet3 patches

2017-06-28 Thread Ferruh Yigit
On 6/15/2017 1:16 PM, Charles (Chas) Williams wrote: > This series addresses some local issues with the vmxnet3 driver that > others might find of interest. > > Changes in v2: > > - net/vmxnet3: Implement retrieval of extended stats > > .id field wasn't being filled in xstats. > > - net/vmx

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Thomas Monjalon
27/06/2017 21:03, Jan Blunck: > On Tue, Jun 27, 2017 at 6:11 PM, Gaetan Rivet wrote: > > --- a/lib/librte_eal/common/include/rte_bus.h > > +++ b/lib/librte_eal/common/include/rte_bus.h > > /** > > + * Implementation specific probe function which is responsible for linking > > + * devices on that

Re: [dpdk-dev] [PATCH] vfio: allow to map other memory regions

2017-06-28 Thread Thomas Monjalon
28/06/2017 11:54, Wodkowski, PawelX: > > -Original Message- > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Monday, June 19, 2017 11:04 PM > > To: Wodkowski, PawelX > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] vfio: allow to map other memory regions > > > > Hi

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Jan Blunck
On Wed, Jun 28, 2017 at 1:44 PM, Thomas Monjalon wrote: > 27/06/2017 21:03, Jan Blunck: >> On Tue, Jun 27, 2017 at 6:11 PM, Gaetan Rivet wrote: >> > --- a/lib/librte_eal/common/include/rte_bus.h >> > +++ b/lib/librte_eal/common/include/rte_bus.h >> > /** >> > + * Implementation specific probe fu

Re: [dpdk-dev] [PATCH 1/2] bond: avoid allocating mempool on socket LCORE_ID_ANY

2017-06-28 Thread Jan Blunck
On Wed, Jun 28, 2017 at 11:47 AM, Declan Doherty wrote: > On 26/04/17 22:30, Jan Blunck wrote: >> >> If the numa node is unknown, use the value from rte_socket_id() to avoid >> an allocation failure. >> >> Signed-off-by: Eric Kinzie >> CC: Eric Kinzie >> --- >> drivers/net/bonding/rte_eth_bond

Re: [dpdk-dev] [PATCH 0/2] cxgbe: fix supported speed capabilities

2017-06-28 Thread Ferruh Yigit
On 6/28/2017 5:37 AM, Rahul Lakkireddy wrote: > Patch 1 updates supported port module types. > Patch 2 uses port type to determine the supported speed capabilities. > > Thanks, > Rahul > > Rahul Lakkireddy (2): > cxgbe: update supported port module types > cxgbe: fix supported speed capabilit

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Thomas Monjalon
28/06/2017 13:58, Jan Blunck: > On Wed, Jun 28, 2017 at 1:44 PM, Thomas Monjalon wrote: > > 27/06/2017 21:03, Jan Blunck: > >> On Tue, Jun 27, 2017 at 6:11 PM, Gaetan Rivet > >> wrote: > >> > --- a/lib/librte_eal/common/include/rte_bus.h > >> > +++ b/lib/librte_eal/common/include/rte_bus.h > >>

[dpdk-dev] [PATCH] mbuf: fix debug checks for headroom and tailroom

2017-06-28 Thread Vasily Philipov
rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable with any segment, not only with headered ones, so is_header should be 0 when we call for sanity check inside them. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Vasily Philipov --- lib/librte_mb

Re: [dpdk-dev] [PATCH v2 0/3] net/ark: augment user extension and bug fix

2017-06-28 Thread Ferruh Yigit
On 6/28/2017 11:08 AM, John Miller wrote: > v2: > * Split the user extension private data per port patch and the > set_mtu patch into separate patches. > * Add better description to per port private data patch > * stats_reset patch untouched from V1 > > John Miller (3): > net/ark: allow unique

[dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-28 Thread Ivan Dyukov
To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header only") Signed-off-by: Ivan Dyukov --- lib/librte_vhost/virtio_net.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --gi

Re: [dpdk-dev] 17.05.1 patches review and test

2017-06-28 Thread Kavanagh, Mark B
>From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yuanhan Liu >Sent: Thursday, June 22, 2017 2:08 PM >To: dpdk stable >Cc: dev@dpdk.org >Subject: [dpdk-dev] 17.05.1 patches review and test > >Hi all, > >I'm doing an unexpected stable release, which is expected to be released >in about two mont

Re: [dpdk-dev] [PATCH V2 0/6] some local vmxnet3 patches

2017-06-28 Thread Ferruh Yigit
On 6/28/2017 12:30 PM, Ferruh Yigit wrote: > On 6/15/2017 1:16 PM, Charles (Chas) Williams wrote: >> This series addresses some local issues with the vmxnet3 driver that >> others might find of interest. >> >> Changes in v2: >> >> - net/vmxnet3: Implement retrieval of extended stats >> >> .id f

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-28 Thread Maxime Coquelin
On 06/28/2017 02:40 PM, Ivan Dyukov wrote: To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header only") Signed-off-by: Ivan Dyukov --- lib/librte_vhost/virtio_net.c | 8 +--- 1 file ch

Re: [dpdk-dev] [PATCH] net/ixgbe: link check enhancement on VF

2017-06-28 Thread Ferruh Yigit
On 6/28/2017 3:22 AM, Wenzhuo Lu wrote: > From: Liang-min Wang > > In current implementation, when checking VF link state, PF state > is checked too, although the function has a parameter to tell > if PF state checking is needed. > But in some scenario, user may not care about the PF state. > Thi

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Jan Blunck
On Wed, Jun 28, 2017 at 2:11 PM, Thomas Monjalon wrote: > 28/06/2017 13:58, Jan Blunck: >> On Wed, Jun 28, 2017 at 1:44 PM, Thomas Monjalon wrote: >> > 27/06/2017 21:03, Jan Blunck: >> >> On Tue, Jun 27, 2017 at 6:11 PM, Gaetan Rivet >> >> wrote: >> >> > --- a/lib/librte_eal/common/include/rte_

Re: [dpdk-dev] [PATCH V2 0/6] some local vmxnet3 patches

2017-06-28 Thread Charles (Chas) Williams
On 06/28/2017 08:52 AM, Ferruh Yigit wrote: On 6/28/2017 12:30 PM, Ferruh Yigit wrote: On 6/15/2017 1:16 PM, Charles (Chas) Williams wrote: This series addresses some local issues with the vmxnet3 driver that others might find of interest. Changes in v2: - net/vmxnet3: Implement retrieval o

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Thomas Monjalon
28/06/2017 15:09, Jan Blunck: > On Wed, Jun 28, 2017 at 2:11 PM, Thomas Monjalon wrote: > > 28/06/2017 13:58, Jan Blunck: > >> On Wed, Jun 28, 2017 at 1:44 PM, Thomas Monjalon > >> wrote: > >> > 27/06/2017 21:03, Jan Blunck: > >> >> On Tue, Jun 27, 2017 at 6:11 PM, Gaetan Rivet > >> >> wrote:

Re: [dpdk-dev] [PATCH 00/20 v2] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-28 Thread Nipun Gupta
Hi Jerin, Is there anything pending for this patch series to be merged? Do you want me to rebase it on the dpdk main repository as dpdk-next-eventdev branch is not currently in sync with main repo? Regards, Nipun > -Original Message- > From: Nipun Gupta [mailto:nipun.gu...@nxp.com] > Se

[dpdk-dev] [PATCH v5 4/4] app/testpmd: add isolated mode parameter

2017-06-28 Thread Vasily Philipov
In case if --isolated-mode parameter was added to the command line the rte flow isolate action will be applied on each port before the device configuring. Signed-off-by: Vasily Philipov --- app/test-pmd/parameters.c | 3 +++ app/test-pmd/testpmd.c| 14 ++ app/test-pmd/testpmd.h

[dpdk-dev] [PATCH v5 3/4] net/mlx4: support for the RSS flow action

2017-06-28 Thread Vasily Philipov
The isolated mode should be enabled. The number of queues in RSS ring must be power of 2. The sharing a queue between several RSS rings is impossible. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c | 21 +++-- drivers/net/mlx4/mlx4.h | 5 ++ drivers/net/mlx4/mlx4_flow.c

[dpdk-dev] [PATCH v5 1/4] net/mlx4: RSS parent queues new method maintenance

2017-06-28 Thread Vasily Philipov
Insert just created parent queue in a list, keep the list in private structure. Signed-off-by: Vasily Philipov --- The series depends on: http://dpdk.org/ml/archives/dev/2017-April/064327.html http://dpdk.org/dev/patchwork/patch/23741/ --- drivers/net/mlx4/mlx4.c | 377 +

[dpdk-dev] [PATCH v5 2/4] net/mlx4: implement isolated mode from flow API

2017-06-28 Thread Vasily Philipov
The user must request isolated mode before device configuration, the default RSS ring isn't created in this case. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c | 58 +++- drivers/net/mlx4/mlx4.h | 1 + drivers/net/mlx4/mlx4_flow.c |

[dpdk-dev] [PATCH v4 0/6] Reproducible build

2017-06-28 Thread lboccass
From: Luca Boccassi In the past couple of years a concerted effort among almost all Linux distros has been striving toward achieving reproducible builds. [1] This involves changes to the toolchain, new tools and CI systems. [2] v1 fixed the documentation, examples and linker script generation. v

[dpdk-dev] [PATCH v4 1/6] mk: sort list of shared objects in linker script

2017-06-28 Thread lboccass
From: Luca Boccassi The output of wildcard might not be stable and depend on the filesystem and other factors. This means the content libdpdk.so linker script might change between builds from the same sources. Run the list through sort to ensure reproducibility. Signed-off-by: Luca Boccassi ---

[dpdk-dev] [PATCH v4 2/6] mk: sort list of files in examples.dox

2017-06-28 Thread lboccass
From: Luca Boccassi The result of find might not be stable depending on external conditions. Pipe it through LC_ALL=C sort to ensure reproducible results when generating examples.dox. Signed-off-by: Luca Boccassi --- mk/rte.sdkdoc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[dpdk-dev] [PATCH v4 3/6] mk: sort headers before wildcard inclusion

2017-06-28 Thread lboccass
From: Luca Boccassi In order to achieve fully reproducible builds, always use the same inclusion order for headers in the Makefiles. Signed-off-by: Luca Boccassi --- examples/ip_pipeline/Makefile | 2 +- examples/multi_process/client_server_mp/mp_server/Makefile |

[dpdk-dev] [PATCH v4 5/6] mk: sort object files when building deps lists

2017-06-28 Thread lboccass
From: Luca Boccassi In order to achieve reproducible builds, always use the same order when listing object files to build dependencies lists. Signed-off-by: Luca Boccassi --- mk/rte.app.mk | 4 ++-- mk/rte.hostapp.mk | 4 ++-- mk/rte.shared.mk | 4 ++-- 3 files changed, 6 insertions(+), 6

[dpdk-dev] [PATCH v4 4/6] mk: sort source files before passing them to the compiler

2017-06-28 Thread lboccass
From: Luca Boccassi In order to achieve reproducible builds, always use the same order when listing files for compilation. Signed-off-by: Luca Boccassi --- drivers/net/cxgbe/Makefile| 2 +- drivers/net/e1000/Makefile| 2 +- drivers/net/fm10k/Makefile| 2 +- drivers/net/i40e/Makefil

[dpdk-dev] [PATCH v4 6/6] mk: set -ISCDIR before -IRTE_OUT/include in CFLAGS

2017-06-28 Thread lboccass
From: Luca Boccassi A race condition can happen during parallel builds, where a header might be installed in RTE_OUT/include before CFLAGS is recursively expanded. This causes GCC to sometimes pick the header path as SRCDIR/... and sometimes as RTE_OUT/include/... making the build unreproducible,

Re: [dpdk-dev] [PATCH v3 7/8] mk: sort object files when building deps lists

2017-06-28 Thread Luca Boccassi
On Tue, 2017-06-27 at 18:14 +0200, Thomas Monjalon wrote: > 27/06/2017 16:51, Luca Boccassi: > > On Tue, 2017-06-27 at 15:52 +0200, Thomas Monjalon wrote: > > > 27/06/2017 12:43, Luca Boccassi: > > > > On Tue, 2017-06-27 at 01:20 +0200, Thomas Monjalon wrote: > > > > > 23/06/2017 20:41, lbocc...@br

[dpdk-dev] [PATCH] examples/ethtool: explicit PCI header dependency

2017-06-28 Thread Thomas Monjalon
In devargs rework, rte_pci.h won't be included by rte_ethdev.h (via rte_devargs.h) anymore. rte_ethtool_get_drvinfo() could use rte_devargs.name instead of creating equivalent bus specific name. For now, it is workarounded by just including rte_pci.h. Signed-off-by: Thomas Monjalon --- examples

Re: [dpdk-dev] [PATCH v3 7/8] mk: sort object files when building deps lists

2017-06-28 Thread Thomas Monjalon
28/06/2017 16:07, Luca Boccassi: > On Tue, 2017-06-27 at 18:14 +0200, Thomas Monjalon wrote: > > 27/06/2017 16:51, Luca Boccassi: > > > On Tue, 2017-06-27 at 15:52 +0200, Thomas Monjalon wrote: > > > > 27/06/2017 12:43, Luca Boccassi: > > > > > On Tue, 2017-06-27 at 01:20 +0200, Thomas Monjalon wro

Re: [dpdk-dev] [PATCH v3 7/8] mk: sort object files when building deps lists

2017-06-28 Thread Luca Boccassi
On Wed, 2017-06-28 at 16:37 +0200, Thomas Monjalon wrote: > 28/06/2017 16:07, Luca Boccassi: > > On Tue, 2017-06-27 at 18:14 +0200, Thomas Monjalon wrote: > > > 27/06/2017 16:51, Luca Boccassi: > > > > On Tue, 2017-06-27 at 15:52 +0200, Thomas Monjalon wrote: > > > > > 27/06/2017 12:43, Luca Boccas

[dpdk-dev] [PATCH] bug: Use correct arguments in run.py

2017-06-28 Thread McCullough, Harrison
When using run.py it would occasionally ignore the given command line arguments because the wrong variable was used. Fixed this, along with minor changes to reflect more idiomatic Python usage. Signed-off-by: Harrison McCullough --- tools/run.py | 11 +-- 1 file changed, 5 insertions(+)

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Jan Blunck
On Wed, Jun 28, 2017 at 3:30 PM, Thomas Monjalon wrote: > 28/06/2017 15:09, Jan Blunck: >> On Wed, Jun 28, 2017 at 2:11 PM, Thomas Monjalon wrote: >> > 28/06/2017 13:58, Jan Blunck: >> >> On Wed, Jun 28, 2017 at 1:44 PM, Thomas Monjalon >> >> wrote: >> >> > 27/06/2017 21:03, Jan Blunck: >> >> >

[dpdk-dev] [PATCH 01/21 v3] drivers: add bus dependency for event

2017-06-28 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefile b/drivers/Makefile index a04a01f..7fef66d 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -39,5 +39,6 @@ DEPDIRS-net := bus mempool DIRS-$(CONFIG

[dpdk-dev] [PATCH 00/21 v3] next-eventdev: NXP DPAA2 eventdev PMD

2017-06-28 Thread Nipun Gupta
The following patch set adds NXP DPAA2 HW based eventdev implementation to the next-eventdev tree. The patchset consists of the following: - DPCON support required by DPAA2 eventdev - DPCI support in fslmc bus - Interrupt support in QBMAN - Implemetation of eventdev API's for DPAA2 - Documentation

[dpdk-dev] [PATCH 03/21 v3] bus/fslmc: generic framework for mc object creation

2017-06-28 Thread Nipun Gupta
From: Hemant Agrawal There are muliple help mc object, which are not an independent device, but they are required for dpaa2 based devices. This framework allows registration and handling of all such mc devices. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fsl

[dpdk-dev] [PATCH 02/21 v3] event/dpaa2: add basic build infrastructure

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Jerin Jacob --- MAINTAINERS| 4 ++ config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 ++ drivers/event/Makefile | 2 + drivers/event/dpaa2/Makefile | 52

[dpdk-dev] [PATCH 04/21 v3] bus/fslmc: integrating dpio and dpbp to object framework

2017-06-28 Thread Nipun Gupta
This patch removes the existing static call for dpio and dpbp create and add them to object registration framework. This patch also changes the vfio mc object processing to use the framework. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH 05/21 v3] bus/fslmc: adding basic dpcon support

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 3 +- drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/mc/dpcon.c| 230 +++ drivers/bus/fslmc/mc/fsl_dpcon.h| 238

[dpdk-dev] [PATCH 06/21 v3] bus/fslmc: export qbman dqrr funcs for eventdev usages

2017-06-28 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 8 1 file changed, 8 insertions(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 783c3e5..01a7939 100644 --- a/drivers/b

[dpdk-dev] [PATCH 07/21 v3] event/dpaa2: register dpcon as dpaa2 device for bus scan

2017-06-28 Thread Nipun Gupta
Registering dpcon as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/Makefile | 8 ++ drivers/event/dpaa2/dpaa2_eventdev.h | 18 + drivers/event/dpaa2/dpaa2_hw_dpcon.c | 139

[dpdk-dev] [PATCH 08/21 v3] bus/fslmc: adding basic dpci support

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpci.c | 307 + drivers/bus/fslmc/mc/fsl_dpci.h | 404 drivers/bus/fslmc/mc/fsl_dpci_cmd.h | 147 ++

[dpdk-dev] [PATCH 09/21 v3] bus/fslmc: register dpci as dpaa2 device for bus scan

2017-06-28 Thread Nipun Gupta
Registering dpci as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 179 ++

[dpdk-dev] [PATCH 10/21 v3] bus/fslmc: adding cpu support in stashing config

2017-06-28 Thread Nipun Gupta
Stashing can also be configured by other drivers (for instance event driver) passing cpu_id as an argument. This change facilitates the same. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 14 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 4 dri

[dpdk-dev] [PATCH 11/21 v3] event/dpaa2: add initialization of event device

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 157 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 23 + 2 files changed, 176 insertions(+), 4 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_event

[dpdk-dev] [PATCH 12/21 v3] bus/fslmc: add support for static dequeue from portal

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/mc/dpio.c | 44 + drivers/bus/fslmc/mc/fsl_dpio.h | 30 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 1 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 ++ 4 files ch

[dpdk-dev] [PATCH 13/21 v3] event/dpaa2: add configuration functions

2017-06-28 Thread Nipun Gupta
This patch adds all the configuration API's for DPAA2 eventdev including device config, start, stop & port and queue related API's Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 283 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 22 +++ 2 file

[dpdk-dev] [PATCH 14/21 v3] bus/fslmc: support enqueue with multiple enqueue descriptors

2017-06-28 Thread Nipun Gupta
This patch adds the QBMAN API which support multiple enqueue descriptors. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 14 + drivers/bus/fslmc/qbman/qbman_portal.c | 70 ++ drivers/bus/fslmc/rte_bus_fslmc_version.map

[dpdk-dev] [PATCH 15/21 v3] bus/fslmc: add callback per queue to enable

2017-06-28 Thread Nipun Gupta
Dequeue from event device needs to process the event on the basis of the hardware queue from which it is dequeued. A callback is added into dpaa2_queue structure, to enable event dequeue functionality to call that processing routine. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_

[dpdk-dev] [PATCH 17/21 v3] event/dpaa2: add enqueue and dequeue functionality

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 170 +-- 1 file changed, 163 insertions(+), 7 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index c00db7a..a7f8516 100644 --- a/drivers/e

[dpdk-dev] [PATCH 16/21 v3] bus/fslmc: change func argument to const to avoid warning

2017-06-28 Thread Nipun Gupta
qbman_get_dqrr_idx() API is required with constant dqrr entry in the eventdev driver. Also, this routine is not updating the dqrr. So, this patch updates its input argument to a const type. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 +- drivers/bus/fslm

[dpdk-dev] [PATCH 18/21 v3] fslmc/bus: add interrupt enabling routine

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 34 ++ drivers/bus/fslmc/fslmc_vfio.h | 3 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 6ebf779..d8e3add 100644 --- a/drive

[dpdk-dev] [PATCH 19/21 v3] bus/fslmc: enable portal interrupt handling

2017-06-28 Thread Nipun Gupta
Eventdev requires portal interrupts to handle timeout in the event dequeue. This patch provides mechanism to enable the portal interrupts. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 108 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH 20/21 v3] event/dpaa2: handle timeout using interrupts in dequeue

2017-06-28 Thread Nipun Gupta
This patch adds support for interrupt handling on the event port. These interrupts facilitates managing of timeout ticks in the event dequeue functions. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 37 +--- 1 file changed, 34 insertions(+)

[dpdk-dev] [PATCH 21/21 v3] doc: add NXP DPAA2 EVENTDEV details

2017-06-28 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 1 + doc/guides/eventdevs/dpaa2.rst | 175 + 2 files changed, 176 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa2.rst diff --git a/MAINTAINERS b/MAINTAINERS index fe1a25b..d9dbf

Re: [dpdk-dev] [PATCH v6 05/11] bus: introduce hotplug functionality

2017-06-28 Thread Bruce Richardson
On Wed, Jun 28, 2017 at 05:11:46PM +0200, Jan Blunck wrote: > On Wed, Jun 28, 2017 at 3:30 PM, Thomas Monjalon wrote: > > 28/06/2017 15:09, Jan Blunck: > >> On Wed, Jun 28, 2017 at 2:11 PM, Thomas Monjalon > >> wrote: > >> > 28/06/2017 13:58, Jan Blunck: > >> >> On Wed, Jun 28, 2017 at 1:44 PM,

Re: [dpdk-dev] [PATCH 22/38] net/dpaa: add NXP DPAA PMD driver skeleton

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:40 AM, Shreyansh Jain wrote: > A skeleton which would be called after bus device scan. It currently > fails to identify the device> > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > + > +/* Initialise a network interface */ > +static int dpaa_eth_dev_init(st

Re: [dpdk-dev] [PATCH 24/38] net/dpaa: add support for Tx and Rx queue setup

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:40 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain > --- > doc/guides/nics/features/dpaa.ini | 1 + > drivers/net/dpaa/Makefile | 4 + > drivers/net/dpaa/dpaa_ethdev.c| 279 - > drivers/net/d

Re: [dpdk-dev] [PATCH 25/38] net/dpaa: add support for MTU update

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:40 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > static int > +dpaa_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) > +{ > + struct dpaa_if *dpaa_intf = dev->data->dev_private; > + > + PMD_INIT_FUNC_TRACE(); > + > +

Re: [dpdk-dev] [PATCH 27/38] net/dpaa: add support for link status update

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:40 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > --- a/doc/guides/nics/features/dpaa.ini > +++ b/doc/guides/nics/features/dpaa.ini > @@ -4,6 +4,8 @@ > ; Refer to default.ini for the full list of available PMD features. > ; >

Re: [dpdk-dev] [PATCH 30/38] net/dpaa: add support for multicast toggle

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:41 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > diff --git a/doc/guides/nics/features/dpaa.ini > b/doc/guides/nics/features/dpaa.ini > index a6984a4..80dd3ca 100644 > --- a/doc/guides/nics/features/dpaa.ini > +++ b/doc/guides/

Re: [dpdk-dev] [PATCH 33/38] net/dpaa: add support for flow control

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:41 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > static int > +dpaa_flow_ctrl_set(struct rte_eth_dev *dev, > +struct rte_eth_fc_conf *fc_conf) > +{ > + struct dpaa_if *dpaa_intf = dev->data->dev_private; > +

Re: [dpdk-dev] [PATCH 34/38] net/dpaa: add support for hashed RSS

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:41 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain Just to confirm: Is no HW configuration required to enable RSS? Is HW updates mbuf->rss automatically, without driver involvement? <...> > Promiscuous mode = Y > Allmulticast mode

Re: [dpdk-dev] [PATCH 35/38] net/dpaa: add support for packet type parsing

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:41 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > +static const uint32_t * > +dpaa_supported_ptypes_get(struct rte_eth_dev *dev) > +{ > + static const uint32_t ptypes[] = { > + /*todo -= add more types */ > +

Re: [dpdk-dev] [PATCH 36/38] net/dpaa: add support for checksum offload

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:41 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain <...> > @@ -363,6 +439,18 @@ dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, > uint16_t nb_bufs) > } >

Re: [dpdk-dev] [PATCH 38/38] net/dpaa: add packet dump for debugging

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:41 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain Is there a driver documentation, I haven't see any in net/dpaa patches? <...> > +CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER_DISPLAY=n > +CONFIG_RTE_LIBRTE_DPAA_CHECKING=n This config option is

Re: [dpdk-dev] [PATCH 18/38] doc: add NXP DPAA PMD documentation

2017-06-28 Thread Ferruh Yigit
On 6/16/2017 6:40 AM, Shreyansh Jain wrote: > Signed-off-by: Hemant Agrawal > Signed-off-by: Shreyansh Jain > --- > MAINTAINERS | 2 + > doc/guides/nics/dpaa.rst | 360 > ++ As a reminder, you may need to send a web page patch

Re: [dpdk-dev] [PATCH] bug: Use correct arguments in run.py

2017-06-28 Thread Wiles, Keith
> On Jun 28, 2017, at 7:54 AM, McCullough, Harrison > wrote: > > When using run.py it would occasionally ignore the given command line > arguments because the wrong variable was used. Fixed this, along with > minor changes to reflect more idiomatic Python usage. Thanks I will integrate these

  1   2   >