[dpdk-dev] [PATCH] net/qede: fix gcc compiler option checks

2016-10-28 Thread Mody, Rasesh
Hi Stephen, > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Friday, October 28, 2016 3:12 PM > > On Thu, 27 Oct 2016 23:37:57 -0700 > Rasesh Mody wrote: > > > From: Rasesh Mody > > > > Using GCC_VERSION to check gcc version and decide whether to include >

[dpdk-dev] mbuf changes

2016-10-28 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Richardson, Bruce > Sent: Friday, October 28, 2016 7:01 PM > To: Adrien Mazarguil; Morten Br?rup > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] mbuf changes > > > -Original Message- > > From: dev

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Igor Ryzhov
On Fri, Oct 28, 2016 at 9:40 PM, Thomas Monjalon wrote: > 2016-10-28 20:29, Igor Ryzhov: > > On Fri, Oct 28, 2016 Thomas Monjalon wrote: > > > 2016-10-28 15:51, Richardson, Bruce: > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > > > 2016-10-28 15:31, Ferruh

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Thomas Monjalon
2016-10-28 20:29, Igor Ryzhov: > On Fri, Oct 28, 2016 Thomas Monjalon wrote: > > 2016-10-28 15:51, Richardson, Bruce: > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > > 2016-10-28 15:31, Ferruh Yigit: > > > > > * Remove ethtool support ? > > > > > > > > That's

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Igor Ryzhov
On Fri, Oct 28, 2016 at 7:13 PM, Thomas Monjalon wrote: > 2016-10-28 15:51, Richardson, Bruce: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > 2016-10-28 15:31, Ferruh Yigit: > > > > * virtio-user + vhost-net > > > > This can be valid alternative, removes the

[dpdk-dev] mbuf changes

2016-10-28 Thread Adrien Mazarguil
On Fri, Oct 28, 2016 at 04:11:45PM +0200, Morten Br?rup wrote: > Comments at the end. > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pattan, Reshma > > Sent: Friday, October 28, 2016 3:35 PM > > To: Olivier Matz > > Cc: dev at dpdk.org; Morten Br?rup

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Thomas Monjalon
2016-10-28 15:51, Richardson, Bruce: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > 2016-10-28 15:31, Ferruh Yigit: > > > * virtio-user + vhost-net > > > This can be valid alternative, removes the out of tree kernel module > > > need. But missing control path. Proof

[dpdk-dev] [PATCH v7 00/21] Introduce SoC device/driver framework for EAL

2016-10-28 Thread Shreyansh Jain
On Friday 28 October 2016 05:56 PM, Shreyansh Jain wrote: > Introduction: > = > > This patch set is direct derivative of Jan's original series [1],[2]. > > - This version is based on master HEAD (ca41215) > > - In this, I am merging the series [11] back. It was initially part >of

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Igor Ryzhov
Thank you, Ferruh. As we are staying on the existing implementation, I think we can do some improvements: 1. Implement more commands for net_device_ops. 2. Implement ethtool support the same way as net_device_ops are implemented ? send commands to application. 3. Add ability to set default MAC

[dpdk-dev] [PATCH v7 21/21] eal/crypto: Support rte_soc_driver/device for cryptodev

2016-10-28 Thread Shreyansh Jain
- rte_cryptodev_driver/rte_cryptodev_dev embeds rte_soc_driver/device for linking SoC PMDs to crypto devices. - Add probe and remove functions linked Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- lib/librte_cryptodev/rte_cryptodev.c | 122 -

[dpdk-dev] [PATCH v7 20/21] ether: introduce ethernet dev probe remove

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- lib/librte_ether/rte_ethdev.c | 148 +- lib/librte_ether/rte_ethdev.h | 31 + 2 files changed, 177

[dpdk-dev] [PATCH v7 19/21] ether: extract function eth_dev_get_intr_handle

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin We abstract access to the intr_handle here as we want to get it either from the pci_dev or soc_dev. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- lib/librte_ether/rte_ethdev.c | 14 -- 1

[dpdk-dev] [PATCH v7 18/21] ether: verify we copy info from a PCI device

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Now that different types of ethdev exist, check for presence of PCI dev while copying out the info. Similar would be done for SoC. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal ---

[dpdk-dev] [PATCH v7 17/21] ether: utilize container_of for pci_drv

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin It is not necessary to place the rte_pci_driver at the beginning of the rte_eth_dev struct anymore as we use the container_of macro to get the parent pointer. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal

[dpdk-dev] [PATCH v7 16/21] eal/soc: additional features for SoC

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Additional features introduced: - Find kernel driver through sysfs bindings - Dummy implementation for mapping to kernel driver - DMA coherency value from sysfs - Numa node number from sysfs - Support for updating device during probe if already

[dpdk-dev] [PATCH v7 15/21] eal/soc: add default scan for Soc devices

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Default implementation which scans the sysfs platform devices hierarchy. For each device, extract the ueven and convert into rte_soc_device. The information populated can then be used in probe to match against the drivers registered. Signed-off-by:

[dpdk-dev] [PATCH v7 14/21] eal/soc: add intr_handle

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/include/rte_soc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/include/rte_soc.h

[dpdk-dev] [PATCH v7 13/21] eal/soc: add drv_flags

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin The flags are copied from the PCI ones. They should be refactorized into a general set of flags in the future. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/include/rte_soc.h | 10

[dpdk-dev] [PATCH v7 12/21] eal/soc: extend and utilize devargs

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin It is assumed that SoC Devices provided on command line are prefixed with "soc:". This patch adds parse and attach support for such devices. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal ---

[dpdk-dev] [PATCH v7 11/21] eal/soc: implement probing of drivers

2016-10-28 Thread Shreyansh Jain
Each SoC PMD registers a set of callback for scanning its own bus/infra and matching devices to drivers when probe is called. This patch introduces the infra for calls to SoC scan on rte_eal_soc_init() and match on rte_eal_soc_probe(). Patch also adds test case for scan and probe. Signed-off-by:

[dpdk-dev] [PATCH v7 10/21] eal/soc: init SoC infra from EAL

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- lib/librte_eal/bsdapp/eal/Makefile| 1 + lib/librte_eal/bsdapp/eal/eal.c | 4 +++ lib/librte_eal/bsdapp/eal/eal_soc.c | 46

[dpdk-dev] [PATCH v7 09/21] eal: introduce command line enable SoC option

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Support --enable-soc. SoC support is disabled by default. Signed-off-by: Jan Viktorin [Shreyansh: Change --no-soc to --enable-soc; disabled by default] Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal ---

[dpdk-dev] [PATCH v7 08/21] eal/soc: implement SoC device list and dump

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin SoC devices would be linked in a separate list (from PCI). This is used for probe function. A helper for dumping the device list is added. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal ---

[dpdk-dev] [PATCH v7 07/21] eal/soc: add SoC PMD register/unregister logic

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Registeration of a SoC driver through a helper RTE_PMD_REGISTER_SOC (on the lines of RTE_PMD_REGISTER_PCI). soc_driver_list stores all the registered drivers. Test case has been introduced to verify the registration and deregistration. Signed-off-by:

[dpdk-dev] [PATCH v7 06/21] eal/soc: introduce very essential SoC infra definitions

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Define initial structures and functions for the SoC infrastructure. This patch supports only a very minimal functions for now. More features will be added in the following commits. Includes rte_device/rte_driver inheritance of

[dpdk-dev] [PATCH v7 05/21] eal: define container macro

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain --- lib/librte_eal/common/include/rte_common.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/lib/librte_eal/common/include/rte_common.h

[dpdk-dev] [PATCH v7 04/21] eal/linux: generalize PCI kernel driver extraction to EAL

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Generalize the PCI-specific pci_get_kernel_driver_by_path. The function is general enough, we have just moved it to eal.c, changed the prefix to rte_eal and provided it privately to other parts of EAL. Signed-off-by: Jan Viktorin Signed-off-by:

[dpdk-dev] [PATCH v7 03/21] eal/linux: generalize PCI kernel unbinding driver to EAL

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Generalize the PCI-specific pci_unbind_kernel_driver. It is now divided into two parts. First, determination of the path and string identification of the device to be unbound. Second, the actual unbind operation which is generic. BSD implementation

[dpdk-dev] [PATCH v7 02/21] eal: generalize PCI map/unmap resource to EAL

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin The functions pci_map_resource, pci_unmap_resource are generic so the pci_* prefix can be omitted. The functions are moved to the eal_common_dev.c so they can be reused by other infrastructure. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh

[dpdk-dev] [PATCH v7 01/21] eal: generalize PCI kernel driver enum to EAL

2016-10-28 Thread Shreyansh Jain
From: Jan Viktorin Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain -- Changes since v0: - fix compilation error due to missing include --- lib/librte_eal/common/include/rte_dev.h | 12 lib/librte_eal/common/include/rte_pci.h | 9 - 2

[dpdk-dev] [PATCH v7 00/21] Introduce SoC device/driver framework for EAL

2016-10-28 Thread Shreyansh Jain
Introduction: = This patch set is direct derivative of Jan's original series [1],[2]. - This version is based on master HEAD (ca41215) - In this, I am merging the series [11] back. It was initially part of this set but I had split considering that those changes in PCI were

[dpdk-dev] Solarflare PMD submission question

2016-10-28 Thread Andrew Rybchenko
On 10/28/2016 03:33 PM, Thomas Monjalon wrote: > 2016-10-28 13:50, Andrew Rybchenko: >> The only thing which comes to my mind is to split libefx import on subsystem >> basis (few files per subsystem). It is artificial and added files will >> be abandoned >> until the patch which adds them into

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Thomas Monjalon
2016-10-28 15:31, Ferruh Yigit: > * virtio-user + vhost-net > This can be valid alternative, removes the out of tree kernel module > need. But missing control path. Proof of concept work will be done. That's probably a smart alternative for packet injection. What do you mean exactly by "missing

[dpdk-dev] mbuf changes

2016-10-28 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Friday, October 28, 2016 5:50 PM > To: Morten Br?rup > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] mbuf changes > > On Fri, Oct 28, 2016 at 04:11:45PM +0200, Morten Br?rup wrote: > >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Jerin Jacob
On Fri, Oct 28, 2016 at 10:15:47AM +, Ananyev, Konstantin wrote: > Hi Tomasz, > > > > > > Not sure why? > > > > > If tx_pkt_prep == NULL, then rte_eth_tx_prep() would just act as noop. > > > > > Right now it is not mandatory for the PMD to implement it. > > > > > > > > If it is not

[dpdk-dev] mbuf changes

2016-10-28 Thread Morten Brørup
Comments at the end. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pattan, Reshma > Sent: Friday, October 28, 2016 3:35 PM > To: Olivier Matz > Cc: dev at dpdk.org; Morten Br?rup > Subject: Re: [dpdk-dev] mbuf changes > > Hi Olivier, > > > -Original

[dpdk-dev] Solarflare PMD submission question

2016-10-28 Thread Andrew Rybchenko
On 10/28/2016 03:33 PM, Thomas Monjalon wrote: > 2016-10-28 13:50, Andrew Rybchenko: >> First of all I'd like to double check that it is clear that we discuss >> libefx >> (base driver in terms of DPDK) import here. The PMD itself is already split >> in 20+ patches. > I don't know libefx. In DPDK,

[dpdk-dev] [PATCH] app/test: fix wrong pointer values in crypto perftest

2016-10-28 Thread Thomas Monjalon
2016-10-28 13:42, Trahe, Fiona: > From: Kusztal, ArkadiuszX > > This commit fixes problem with device hanging because of wrong pointer > > values in snow3g performance test > > Can you add to resolved issues section of release notes please. I'm not sure we should comment about unit test fixes in

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Friday, October 28, 2016 4:13 PM > To: Yigit, Ferruh > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] KNI discussion in userspace event > > 2016-10-28 15:31, Ferruh Yigit: > > *

[dpdk-dev] [RFC PATCH v2 2/3] lib: add bitrate statistics library

2016-10-28 Thread Remy Horton
On 28/10/2016 09:12, Stephen Hemminger wrote: > On Fri, 28 Oct 2016 09:04:30 +0800 > Remy Horton wrote: > >> + >> +struct rte_stats_bitrate_s { >> +uint64_t last_ibytes; >> +uint64_t last_obytes; >> +uint64_t peak_ibits; >> +uint64_t peak_obits; >> +uint64_t ewma_ibits; >> +

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Thomas Monjalon
2016-10-28 12:59, Ananyev, Konstantin: > > 2016-10-28 11:34, Ananyev, Konstantin: > > > > > 2016-10-27 16:24, Ananyev, Konstantin: > > > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > > > > > 2016-10-26 14:56, Tomasz

[dpdk-dev] [PATCH v7] app/testpmd: fix DCB configuration

2016-10-28 Thread Bernard Iremonger
Data Centre Bridge (DCB) configuration fails when SRIOV is enabled if nb_rxq and nb_txq are not set to 1. When dcb_mode is DCB_VT_ENABLED and max_vfs is greater than zero, set nb_rxq and nb_txq to 1. The failure occurs during configuration of the ixgbe PMD when it is started, in the

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Ferruh Yigit
Hi, There was an "Interworking with the Linux Kernel" discussion in the DPDK userspace event, this mail is to summarize the output and to get more comments from community. Briefly, KNI mostly will stay as it is as an interworking with the Linux kernel solution. Out of tree kernel module concern

[dpdk-dev] mbuf changes

2016-10-28 Thread Pattan, Reshma
> -Original Message- > From: Morten Br?rup [mailto:mb at smartsharesystems.com] > Sent: Friday, October 28, 2016 3:12 PM > To: Pattan, Reshma ; Olivier Matz > > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] mbuf changes > > Comments at the end. > > > -Original Message- > >

[dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK

2016-10-28 Thread Bruce Richardson
On Fri, Oct 28, 2016 at 02:48:57PM +0100, Van Haaren, Harry wrote: > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > > Sent: Tuesday, October 25, 2016 6:49 PM > > > > > Hi Community, > > > > So far, I have received constructive feedback

[dpdk-dev] Solarflare PMD submission question

2016-10-28 Thread Thomas Monjalon
2016-10-28 16:05, Andrew Rybchenko: > On 10/28/2016 03:33 PM, Thomas Monjalon wrote: > > 2016-10-28 13:50, Andrew Rybchenko: > >> First of all I'd like to double check that it is clear that we discuss > >> libefx > >> (base driver in terms of DPDK) import here. The PMD itself is already split > >>

[dpdk-dev] [PATCH] net/qede: fix gcc compiler option checks

2016-10-28 Thread Stephen Hemminger
On Thu, 27 Oct 2016 23:37:57 -0700 Rasesh Mody wrote: > From: Rasesh Mody > > Using GCC_VERSION to check gcc version and decide whether to include > that compiler option. > > Fixes: ec94dbc57362 ("qede: add base driver") > Fixes: ecc7a5a27ffe ("net/qede/base: fix 32-bit build") > >

[dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK

2016-10-28 Thread Jerin Jacob
On Fri, Oct 28, 2016 at 09:36:46AM +0100, Bruce Richardson wrote: > On Fri, Oct 28, 2016 at 08:31:41AM +0530, Jerin Jacob wrote: > > On Wed, Oct 26, 2016 at 01:54:14PM +0100, Bruce Richardson wrote: > > > On Wed, Oct 26, 2016 at 05:54:17PM +0530, Jerin Jacob wrote: > > > > On Wed, Oct 26, 2016 at

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Thomas Monjalon
2016-10-28 11:34, Ananyev, Konstantin: > > > 2016-10-27 16:24, Ananyev, Konstantin: > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > > > 2016-10-26 14:56, Tomasz Kulasek: > > > > > > > > --- a/config/common_base > > > >

[dpdk-dev] [PATCH] net/mlx5: fix handling of small mbuf sizes

2016-10-28 Thread Adrien Mazarguil
On Mon, Oct 24, 2016 at 11:10:59AM +0300, Raslan Darawsheh wrote: > When mbufs are smaller than MRU, multi-segment support must be enabled to > default set when not in promiscuous or allmulticast modes. > > Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support") > > Signed-off-by: Raslan

[dpdk-dev] Tcpdump

2016-10-28 Thread Pattan, Reshma
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Dror Birkman > Sent: Thursday, October 27, 2016 1:25 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Tcpdump > > Hi, > > I have a DPDK application that binds to an interface and processes packets. > For

[dpdk-dev] [PATCH] net/mlx5: fix default set for multicast traffic

2016-10-28 Thread Adrien Mazarguil
On Mon, Oct 24, 2016 at 10:59:14AM +0300, Raslan Darawsheh wrote: > Remove non-IPv6 multicast traffic with destination MAC 33:33:* from the > default set when not in promiscuous or allmulticast modes. > > Fixes: 0497ddaac511 ("mlx5: add special flows for broadcast and IPv6 > multicast") > >

[dpdk-dev] Solarflare PMD submission question

2016-10-28 Thread Andrew Rybchenko
Thomas, On 10/27/2016 01:37 PM, Thomas Monjalon wrote: > First of all, welcome to DPDK! Thanks! > 2016-10-27 09:34, Andrew Rybchenko: >> we would like to include Solarflare libefx-based PMD in the DPDK 17.02 >> and start the upstreaming process. >> The driver supports Solarflare SFN7xxx and

[dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK

2016-10-28 Thread Van Haaren, Harry
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > Sent: Tuesday, October 25, 2016 6:49 PM > > Hi Community, > > So far, I have received constructive feedback from Intel, NXP and Linaro > folks. > Let me know, if anyone else interested in

[dpdk-dev] [PATCH] app/test: fix wrong pointer values in crypto perftest

2016-10-28 Thread Trahe, Fiona
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, October 28, 2016 12:37 PM > To: dev at dpdk.org > Cc: Trahe, Fiona ; De Lara Guarch, Pablo > ; Griffin, John intel.com>; > Jain, Deepak K ; Kusztal, ArkadiuszX > > Subject: [PATCH] app/test: fix wrong pointer

[dpdk-dev] mbuf changes

2016-10-28 Thread Pattan, Reshma
Hi Olivier, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz > Sent: Tuesday, October 25, 2016 1:49 PM > To: Richardson, Bruce ; Morten Br?rup > > Cc: Adrien Mazarguil ; Wiles, Keith > ; dev at dpdk.org; Oleg Kuporosov > > Subject: Re:

[dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK

2016-10-28 Thread Van Haaren, Harry
> From: Vincent Jardin [mailto:vincent.jardin at 6wind.com] > Sent: Wednesday, October 26, 2016 7:37 PM > Le 26 octobre 2016 2:11:26 PM "Van Haaren, Harry" > a ?crit : > > >> -Original Message- > >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > >> > >> So far, I

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
> > 2016-10-28 11:34, Ananyev, Konstantin: > > > > 2016-10-27 16:24, Ananyev, Konstantin: > > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > > > > 2016-10-26 14:56, Tomasz Kulasek: > > > > > > > > > ---

[dpdk-dev] [PATCH] app/test: fix wrong pointer values in crypto perftest

2016-10-28 Thread Arek Kusztal
This commit fixes problem with device hanging because of wrong pointer values in snow3g performance test Fixes: 97fe6461c7cb ("app/test: add SNOW 3G performance test") Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_perf.c | 101 - 1 file

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Thomas Monjalon
2016-10-28 10:15, Ananyev, Konstantin: > > From: Ananyev, Konstantin > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > > 2016-10-26 14:56, Tomasz Kulasek: > > > > > > > --- a/config/common_base > > > > > > > +++

[dpdk-dev] [PATCH v3 2/2] net/i40e: fix VF bonded device link down

2016-10-28 Thread Qiming Yang
If VF device is used as slave of a bond device, it will be polled periodically through alarm. Interrupt is involved here. And then VF will send I40E_VIRTCHNL_OP_GET_LINK_STAT message to PF to query the status. The response is handled by interrupt callback. Interrupt is involved here again. That's

[dpdk-dev] [PATCH v3 1/2] net/i40e: fix link status change interrupt

2016-10-28 Thread Qiming Yang
Previously, link status interrupt in i40e is achieved by checking LINK_STAT_CHANGE_MASK in PFINT_ICR0 register which is provided only for diagnostic use. Instead, drivers need to get the link status change notification by using LSE (Link Status Event). This patch enables LSE and calls LSC

[dpdk-dev] [PATCH v2 1/1] mempool: Add sanity check when secondary link in less mempools than primary

2016-10-28 Thread Jean Tourrilhes
If the mempool ops the caller wants to use is not registered, the library will segfault in an obscure way when trying to use that mempool. It's better to catch it early and warn the user. If the primary and secondary process were build using different build systems, the list of constructors

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
> > Hi Thomasz, > > > > > 2016-10-27 16:24, Ananyev, Konstantin: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > > Hi Tomasz, > > > > > > > > > > > > This is a major new function in the API and I still have some > > >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
Hi Thomasz, > > 2016-10-27 16:24, Ananyev, Konstantin: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > 2016-10-27 15:52, Ananyev, Konstantin: > > > > > Hi Tomasz, > > > > > > > > > > This is a major new function in the API and I still have some > > > > > comments. > > > >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Friday, October 28, 2016 11:29 AM > To: Thomas Monjalon ; Kulasek, TomaszX > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation > > > > >

[dpdk-dev] [PATCH] net/bonding: not handle vlan slow packet

2016-10-28 Thread linhaifeng
If rx vlan offload is enable we should not handle vlan slow packets too. Signed-off-by: Haifeng Lin --- drivers/net/bonding/rte_eth_bond_pmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 28, 2016 11:22 AM > To: Ananyev, Konstantin ; Kulasek, TomaszX > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation > > 2016-10-28 10:15,

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Kulasek, TomaszX
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Friday, October 28, 2016 12:16 > To: Kulasek, TomaszX ; Thomas Monjalon > > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation > > Hi Tomasz, > > > > > Hi > > > > >

[dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation

2016-10-28 Thread Ananyev, Konstantin
Hi Tomasz, > > Hi > > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Thursday, October 27, 2016 18:24 > > To: Thomas Monjalon > > Cc: Kulasek, TomaszX ; dev at dpdk.org > > Subject: RE: [dpdk-dev] [PATCH v11 1/6] ethdev: add Tx preparation > > > > > > > > > -Original

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Maxime Coquelin
On 10/28/2016 09:32 AM, Pierre Pfister (ppfister) wrote: > >> Le 27 oct. 2016 ? 12:19, Wang, Zhihong a ?crit : >> >> >> >>> -Original Message- >>> From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] >>> Sent: Thursday, October 27, 2016 5:55 PM >>> To: Wang, Zhihong ; Yuanhan

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Maxime Coquelin
On 10/28/2016 02:49 AM, Wang, Zhihong wrote: > >> > -Original Message- >> > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] >> > Sent: Thursday, October 27, 2016 6:46 PM >> > To: Maxime Coquelin >> > Cc: Wang, Zhihong ; >> > stephen at networkplumber.org; Pierre Pfister

[dpdk-dev] [RFC PATCH v2 2/3] lib: add bitrate statistics library

2016-10-28 Thread Morten Brørup
Comments below. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Friday, October 28, 2016 3:05 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [RFC PATCH v2 2/3] lib: add bitrate statistics > library > > This patch adds a library that

[dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK

2016-10-28 Thread Bruce Richardson
On Fri, Oct 28, 2016 at 08:31:41AM +0530, Jerin Jacob wrote: > On Wed, Oct 26, 2016 at 01:54:14PM +0100, Bruce Richardson wrote: > > On Wed, Oct 26, 2016 at 05:54:17PM +0530, Jerin Jacob wrote: > > > On Wed, Oct 26, 2016 at 12:11:03PM +, Van Haaren, Harry wrote: > > > > > -Original

[dpdk-dev] [PATCH] net/qede: fix advertising link speed capability

2016-10-28 Thread Thomas Monjalon
2016-10-27 23:42, Rasesh Mody: > From: Harish Patil > > Fix to advertise device's link speed capability based on current > link speed rather than returning driver supported speeds. [...] > - dev_info->speed_capa = ETH_LINK_SPEED_25G | ETH_LINK_SPEED_40G | > -

[dpdk-dev] KNI discussion in userspace event

2016-10-28 Thread Stephen Hemminger
On Fri, 28 Oct 2016 15:31:50 +0100 Ferruh Yigit wrote: > Discussed alternatives were: > * Tun/Tap > This won't be as fast as KNI and performance is an issue. That is a myth. Both require the some number of copies. TUN/TAP copies is a syscall and KNI copies is a kthread. Actually, the KNI

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-28 Thread Ilya Maximets
On 25.10.2016 09:26, Ilya Maximets wrote: > On 24.10.2016 17:54, Jan Blunck wrote: >> On Wed, Oct 19, 2016 at 5:47 AM, Ilya Maximets >> wrote: >>> On 18.10.2016 18:19, Jan Blunck wrote: On Tue, Oct 18, 2016 at 2:49 PM, Ilya Maximets wrote: > On 18.10.2016 15:28, Jan Blunck wrote:

[dpdk-dev] [RFC PATCH v2 3/3] app/test-pmd: add support for bitrate statistics

2016-10-28 Thread Remy Horton
Signed-off-by: Remy Horton --- app/test-pmd/testpmd.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index e2403c3..940dc3b 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@

[dpdk-dev] [RFC PATCH v2 2/3] lib: add bitrate statistics library

2016-10-28 Thread Remy Horton
This patch adds a library that calculates peak and average data-rate statistics. For ethernet devices. These statistics are reported using the metrics library. Signed-off-by: Remy Horton --- config/common_base | 5 + doc/api/doxy-api-index.md

[dpdk-dev] [RFC PATCH v2 1/3] lib: add information metrics library

2016-10-28 Thread Remy Horton
This patch adds a new information metric library that allows other modules to register named metrics and update their values. It is intended to be independent of ethdev, rather than mixing ethdev and non-ethdev information in xstats. Signed-off-by: Remy Horton --- config/common_base

[dpdk-dev] [PATCH v2 0/3] expanded statistic reporting

2016-10-28 Thread Remy Horton
This patchset extends statistics reporting to include peak and average data-rate metrics. It comes in two parts: a statistics reporting library, and a bitrate calculation library that uses it. This structure is intended to seperate statistic reporting from ethdev and allow more flexible metric

[dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK

2016-10-28 Thread Jerin Jacob
On Wed, Oct 26, 2016 at 01:54:14PM +0100, Bruce Richardson wrote: > On Wed, Oct 26, 2016 at 05:54:17PM +0530, Jerin Jacob wrote: > > On Wed, Oct 26, 2016 at 12:11:03PM +, Van Haaren, Harry wrote: > > > > -Original Message- > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Pierre Pfister (ppfister)
> Le 27 oct. 2016 ? 12:19, Wang, Zhihong a ?crit : > > > >> -Original Message- >> From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] >> Sent: Thursday, October 27, 2016 5:55 PM >> To: Wang, Zhihong ; Yuanhan Liu >> ; stephen at networkplumber.org; Pierre >> Pfister

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Xu, Qian Q
In my BDW-EP platform(similar to HSW), I can also see the performance drop. So what's the next step now? Intel CPU GEN: SNB-->IVB--->HSW-->BDW-EP -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Maxime Coquelin Sent: Thursday, October 27, 2016 6:53 PM To: Yuanhan

[dpdk-dev] Unable to change source MAC address of packet

2016-10-28 Thread Lu, Wenzhuo
Hi Padam, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Padam Jeet Singh > Sent: Thursday, October 27, 2016 10:45 PM > To: Wiles, Keith > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] Unable to change source MAC address of packet > > > > On 27-Oct-2016,

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Wang, Zhihong
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Thursday, October 27, 2016 6:46 PM > To: Maxime Coquelin > Cc: Wang, Zhihong ; > stephen at networkplumber.org; Pierre Pfister (ppfister) > ; Xie, Huawei ; dev at > dpdk.org; > vkaplans at

[dpdk-dev] [PATCH] net/qede: fix advertising link speed capability

2016-10-28 Thread Rasesh Mody
From: Harish Patil Fix to advertise device's link speed capability based on current link speed rather than returning driver supported speeds. Fixes: 95e67b479506 ("net/qede: add 100G link speed capability") Signed-off-by: Harish Patil ---

[dpdk-dev] [PATCH] net/qede: fix gcc compiler option checks

2016-10-28 Thread Rasesh Mody
From: Rasesh Mody Using GCC_VERSION to check gcc version and decide whether to include that compiler option. Fixes: ec94dbc57362 ("qede: add base driver") Fixes: ecc7a5a27ffe ("net/qede/base: fix 32-bit build") Signed-off-by: Rasesh Mody --- drivers/net/qede/Makefile