[dpdk-dev] [PATCH v7 2/2] net/vhost: add pmd xstats

2016-09-28 Thread Zhiyong Yang
This feature adds vhost pmd extended statistics from per port perspective in order to meet the requirements of the applications such as OVS etc. The statistics counters are based on RFC 2819 and RFC 2863 as follows: rx/tx_good_packets rx/tx_total_bytes rx/tx_missed_pkts rx/tx_broadcast_packets rx

[dpdk-dev] [PATCH v7 1/2] net/vhost: add a new defined stats struct

2016-09-28 Thread Zhiyong Yang
The patch moves all stats counters to a new defined struct vhost_stats as follows, in order to manage all stats counters in a unified way and simplify the subsequent function implementation(vhost_dev_xstats_reset). Signed-off-by: Zhiyong Yang --- Changes in v4: A queue can be only used as TX or

[dpdk-dev] [PATCH v7 0/2] net/vhost: add pmd xstats support

2016-09-28 Thread Zhiyong Yang
Patch 1 moves all stats counters to a new defined struct vhost_stats, in order to manage all stats counters in a consistent way. Patch 2 adds the pmd xstats support from per port perspective. Changes in V7: Patch 2 Removed the "_portX" prepend to the xstat names. Keep vhost xstats name consisten

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Thomas Monjalon
2016-09-28 16:52, Ananyev, Konstantin: > > > > > 2016-09-28 14:30, Ananyev, Konstantin: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-09-28 13:26, Ananyev, Konstantin: > > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > > 2016-09-28 11:

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread ZELEZNIAK, ALEX
From: "az5157 at att.com" mailto:az5...@att.com>> Date: Wednesday, September 28, 2016 at 12:23:06 PM To: "Thomas Monjalon" mailto:thomas.monjalon at 6wind.com>> Cc: "Ananyev, Konstantin" mailto:konstantin.ananyev at intel.com>

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Thomas Monjalon
2016-09-28 14:48, Iremonger, Bernard: > > > > > Subject: Re: [dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for > > > VF management > > > > > > 2016-09-28 13:26, Ananyev, Konstantin: > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > 2016-09-28 11:23, Ananyev, Ko

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Thomas Monjalon
2016-09-28 14:30, Ananyev, Konstantin: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-09-28 13:26, Ananyev, Konstantin: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-09-28 11:23, Ananyev, Konstantin: > > > > > If we this way (force user to i

[dpdk-dev] [PATCH] net/vhost: Add function to retreive the 'vid' for a given port id.

2016-09-28 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, September 13, 2016 4:10 PM > To: Loftus, Ciara > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/vhost: Add function to retreive the > 'vid' for a given port id. > >

[dpdk-dev] [PATCH] crypto: fix build with icc

2016-09-28 Thread Ferruh Yigit
On 9/28/2016 1:31 AM, Pablo de Lara wrote: > This commit fixes a compilation error on icc, > due to unallowed conversion from int to enum: > > drivers/crypto/snow3g/rte_snow3g_pmd.c(155): > error #188: enumerated type mixed with another type > sess->op = mode; > ^ > dr

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Ananyev, Konstantin
> > 2016-09-28 14:30, Ananyev, Konstantin: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > 2016-09-28 13:26, Ananyev, Konstantin: > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > 2016-09-28 11:23, Ananyev, Konstantin: > > > > > > If we this way

[dpdk-dev] [PATCH v6 2/2] net/vhost: add pmd xstats

2016-09-28 Thread Zhiyong Yang
This feature adds vhost pmd extended statistics from per port perspective in order to meet the requirements of the applications such as OVS etc. The statistics counters are based on RFC 2819 and RFC 2863 as follows: rx/tx_good_packets rx/tx_total_bytes rx/tx_missed_pkts rx/tx_broadcast_packets rx

[dpdk-dev] [PATCH v6 1/2] net/vhost: add a new defined stats struct

2016-09-28 Thread Zhiyong Yang
The patch moves all stats counters to a new defined struct vhost_stats as follows, in order to manage all stats counters in a unified way and simplify the subsequent function implementation(vhost_dev_xstats_reset). Signed-off-by: Zhiyong Yang --- Changes in v4: A queue can be only used as TX or

[dpdk-dev] [PATCH v6 0/2] net/vhost: add pmd xstats support

2016-09-28 Thread Zhiyong Yang
Patch 1 moves all stats counters to a new defined struct vhost_stats, in order to manage all stats counters in a consistent way. Patch 2 adds the pmd xstats support from per port perspective. Changes in V6: Patch 2: 1. Change xstats from per queue to per port. Keep vhost consistent with physical

[dpdk-dev] [PATCH v2 00/40] net/ixgbe: base code update

2016-09-28 Thread Bruce Richardson
On Mon, Sep 26, 2016 at 02:06:17AM +, Lu, Wenzhuo wrote: > Hi, > > > > -Original Message- > > From: Wang, Xiao W > > Sent: Sunday, September 25, 2016 5:00 PM > > To: Lu, Wenzhuo > > Cc: dev at dpdk.org; Yigit, Ferruh; Wang, Xiao W > > Subject: [PATCH v2 00/40] net/ixgbe: base code upd

[dpdk-dev] [PATCH V2 2/2] virtio: support IOMMU platform

2016-09-28 Thread Jason Wang
Negotiate VIRTIO_F_IOMMU_PLATFORM to have IOMMU support. Signed-off-by: Jason Wang --- Changes from v1: - remove unnecessary NEED_MAPPING flag --- drivers/net/virtio/virtio_ethdev.h | 3 ++- drivers/net/virtio/virtio_pci.h| 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH V2 1/2] net/virtio: support modern device id

2016-09-28 Thread Jason Wang
Add modern device id and rename VIRTIO_PCI_DEVICEID_MIN to VIRTIO_PCI_LEGACY_DEVICEID_NET. While at it, remove unused macros too. Signed-off-by: Jason Wang --- drivers/net/virtio/virtio_ethdev.c | 3 ++- drivers/net/virtio/virtio_pci.h| 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-

[dpdk-dev] [PATCH] net/mlx5: fix init on secondary process

2016-09-28 Thread Olivier Gournet
Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path") Signed-off-by: Olivier Gournet --- drivers/net/mlx5/mlx5_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c index 130e15d..6f39965 100644 --- a/

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Thomas Monjalon
2016-09-28 13:26, Ananyev, Konstantin: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-09-28 11:23, Ananyev, Konstantin: > > > If we this way (force user to include driver specific headers and > > > call driver specific functions), how you guys plan to make this > > > funct

[dpdk-dev] TAP PMD review patch

2016-09-28 Thread Wiles, Keith
Did anyone else have any issues or concerns with my TUN/TAP PMD version # 3 http://dpdk.org/dev/patchwork/patch/15993/ Reviews/Comments welcome plus any ACK or NAK. Regards, Keith

[dpdk-dev] [PATCH v6] net/virtio: add set_mtu in virtio

2016-09-28 Thread Dey, Souvik
OK sure will do that. -Original Message- From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] Sent: Tuesday, September 27, 2016 7:12 PM To: Dey, Souvik Cc: Stephen Hemminger ; Kavanagh, Mark B ; dev at dpdk.org Subject: Re: [PATCH v6] net/virtio: add set_mtu in virtio On Tue, Sep 27

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Iremonger, Bernard
Hi Thomas, > -Original Message- > Subject: Re: [dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF > management > > 2016-09-28 14:48, Iremonger, Bernard: > > > > > > > > Subject: Re: [dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's > > > > for VF management > > > > > > >

[dpdk-dev] [PATCH 4/4] bnxt_mac_addr_remove_op: add ULL suffix to constant 1 in bit shift

2016-09-28 Thread John W. Linville
Some(?) compilers will treat the unmarked constant 1 as a 32-bit integer, but the shift operation is in a loop that could run up to 63 times -- undefined behavior! Coverity: 127546 Signed-off-by: John W. Linville --- drivers/net/bnxt/bnxt_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[dpdk-dev] [PATCH 3/4] i40e_vsi_release: do not use vsi until after NULL check

2016-09-28 Thread John W. Linville
Coverity: 127556 Signed-off-by: John W. Linville --- drivers/net/i40e/i40e_ethdev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index b04c833b2e04..d1f0f762b04c 100644 --- a/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 2/4] bnxt_alloc_vnic_attributes: ensure entry_length is unsigned

2016-09-28 Thread John W. Linville
Otherwise, the inherent cast when multiplying entry_length by max_vnics in the call to rte_memzone_reserve could promote max_vnics to a signed value, causing hilarity to ensue... Coverity: 127557 Signed-off-by: John W. Linville --- drivers/net/bnxt/bnxt_vnic.c | 2 +- 1 file changed, 1 insertio

[dpdk-dev] [PATCH 1/4] ena_config_host_info: improve safety of string handling

2016-09-28 Thread John W. Linville
Use sizeof dest rather than sizeof src for limiting copy length, and replace strncpy with snprintf to ensure NULL termination. Coverity: 127795 Signed-off-by: John W. Linville --- drivers/net/ena/ena_ethdev.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers

[dpdk-dev] [PATCH 0/4] random fixes for bugs identified by Coverity

2016-09-28 Thread John W. Linville
Today I attempted to exercise my brain between meetings by handling a few bugs identified by Coverity. All of the fixes are simple and (hopefully) obvious. They are compile-tested only. John -- John W. LinvilleSomeday the world will need a hero, and you linville at tuxdriver.com

[dpdk-dev] [PATCH v2] app/test: remove large lpm test head file

2016-09-28 Thread Dai, Wei
> -Original Message- > From: Richardson, Bruce > Sent: Wednesday, September 28, 2016 4:42 PM > To: Dai, Wei > Cc: dev at dpdk.org > Subject: Re: [PATCH v2] app/test: remove large lpm test head file > > On Wed, Sep 28, 2016 at 01:38:27AM +0800, Wei Dai wrote: > > remove the large file app/

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Thomas Monjalon
2016-09-28 11:23, Ananyev, Konstantin: > If we this way (force user to include driver specific headers and call > driver specific functions), > how you guys plan to make this functionality available for multiple driver > types. Multiple drivers won't have exactly the same specific features. But

[dpdk-dev] [PATCH v2 2/2] mempool: fix comments for no contiguous flag

2016-09-28 Thread Ferruh Yigit
Fixes: ce94a51ff05c ("mempool: add flag for removing phys contiguous constraint") Signed-off-by: Ferruh Yigit --- lib/librte_mempool/rte_mempool.h | 4 1 file changed, 4 insertions(+) diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h index 7a9cc3a..e7a10e0 1

[dpdk-dev] [PATCH v2 1/2] mempool: fix comments for mempool create functions

2016-09-28 Thread Ferruh Yigit
Fixes: 85226f9c526b ("mempool: introduce a function to create an empty pool") Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default") Signed-off-by: Ferruh Yigit --- lib/librte_mempool/rte_mempool.c | 5 ++--- lib/librte_mempool/rte_mempool.h | 6 ++ 2 files changed, 4

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Iremonger, Bernard
> > Subject: Re: [dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for > > VF management > > > > 2016-09-28 13:26, Ananyev, Konstantin: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-09-28 11:23, Ananyev, Konstantin: > > > > > If we this way (force user to inc

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Ananyev, Konstantin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, September 28, 2016 3:24 PM > To: Ananyev, Konstantin > Cc: Iremonger, Bernard ; Richardson, Bruce > ; dev at dpdk.org; Jerin > Jacob ; Shah, Rahul R intel.com>; Lu, Wenzhuo ; > azelezn

[dpdk-dev] [PATCH 01/17] qede/base: update base driver

2016-09-28 Thread Ferruh Yigit
On 9/16/2016 5:06 PM, Mody, Rasesh wrote: > Hi Ferruh, > >> From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] >> Sent: Friday, September 16, 2016 5:49 AM >> >> Hi Rasesh, >> >> On 8/27/2016 7:26 AM, Rasesh Mody wrote: >>> This patch updates the base driver and incorporates neccessary changes >

[dpdk-dev] [PATCH v4] net/mlx5: return RSS hash result in mbuf

2016-09-28 Thread Nelio Laranjeiro
Signed-off-by: Nelio Laranjeiro --- doc/guides/nics/mlx5.rst | 1 + drivers/net/mlx5/mlx5_rxq.c | 1 + drivers/net/mlx5/mlx5_rxtx.c | 21 - drivers/net/mlx5/mlx5_rxtx.h | 2 ++ 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/d

[dpdk-dev] [PATCH v4 1/2] librte_ether: add protection against overwrite device data

2016-09-28 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin > Sent: Tuesday, September 27, 2016 12:13 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > Subject: [dpdk-dev] [PATCH v4 1/2] librte_ether:

[dpdk-dev] [PATCH] log: respect rte_openlog_stream calls before rte_eal_init

2016-09-28 Thread John Ousterhout
Before this patch, rte_eal_init invoked rte_openlog_stream, cancelling any application-specific logger and making it it impossible for an application to capture the initial log messages generated during rte_eal_init. With this patch, applications can capture all of the log messages. Signed-off-by:

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Ananyev, Konstantin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, September 28, 2016 2:03 PM > To: Ananyev, Konstantin > Cc: Iremonger, Bernard ; Richardson, Bruce > ; dev at dpdk.org; Jerin > Jacob ; Shah, Rahul R intel.com>; Lu, Wenzhuo ; > azelezn

[dpdk-dev] [PATCH] pmdinfogen: fix clang build error

2016-09-28 Thread Ferruh Yigit
On 9/28/2016 12:35 PM, Neil Horman wrote: > On Wed, Sep 28, 2016 at 11:05:19AM +0100, Ferruh Yigit wrote: >> Compile error: >> CC mlx5.o.pmd.o >> mlx5.o.pmd.c:1:227: >> error: no newline at end of file [-Werror,-Wnewline-eof] >> ...__attribute__((used)) = "PMD_INFO_STRING= {...}"; >>

[dpdk-dev] [PATCH v3 6/6] testpmd: use Tx preparation in csum engine

2016-09-28 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- app/test-pmd/csumonly.c | 97 ++- 1 file changed, 54 insertions(+), 43 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index 21cb78f..8fcf814 100644 --- a/app/test-pmd/csumonly.c +++ b/app

[dpdk-dev] [PATCH v3 5/6] ixgbe: add Tx preparation

2016-09-28 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/ixgbe/ixgbe_ethdev.c |3 ++ drivers/net/ixgbe/ixgbe_ethdev.h |8 +++- drivers/net/ixgbe/ixgbe_rxtx.c | 85 +- drivers/net/ixgbe/ixgbe_rxtx.h |2 + 4 files changed, 96 insertions(+), 2 deletions(-)

[dpdk-dev] [PATCH v3 4/6] i40e: add Tx preparation

2016-09-28 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/i40e/i40e_ethdev.c |3 ++ drivers/net/i40e/i40e_rxtx.c | 100 +++- drivers/net/i40e/i40e_rxtx.h | 10 3 files changed, 112 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/

[dpdk-dev] [PATCH v3 3/6] fm10k: add Tx preparation

2016-09-28 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/fm10k/fm10k.h|9 + drivers/net/fm10k/fm10k_ethdev.c |5 +++ drivers/net/fm10k/fm10k_rxtx.c | 79 +- 3 files changed, 92 insertions(+), 1 deletion(-) diff --git a/drivers/net/fm10k/fm10k.h b/

[dpdk-dev] [PATCH v3 2/6] e1000: add Tx preparation

2016-09-28 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/e1000/e1000_ethdev.h | 11 drivers/net/e1000/em_ethdev.c|5 +++- drivers/net/e1000/em_rxtx.c | 48 ++- drivers/net/e1000/igb_ethdev.c |4 +++ drivers/net/e1000/igb_rxtx.c | 52 +

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

2016-09-28 Thread Tomasz Kulasek
Added API for `rte_eth_tx_prep` uint16_t rte_eth_tx_prep(uint8_t port_id, uint16_t queue_id, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) Added fields to the `struct rte_eth_desc_lim`: uint16_t nb_seg_max; /**< Max number of segments per whole packet. */

[dpdk-dev] [PATCH v3 0/6] add Tx preparation

2016-09-28 Thread Tomasz Kulasek
As discussed in that thread: http://dpdk.org/ml/archives/dev/2015-September/023603.html Different NIC models depending on HW offload requested might impose different requirements on packets to be TX-ed in terms of: - Max number of fragments per packet allowed - Max number of fragments per TSO

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Richardson, Bruce
> -Original Message- > From: Ananyev, Konstantin > Sent: Wednesday, September 28, 2016 12:24 PM > To: Iremonger, Bernard ; Richardson, Bruce > > Cc: Thomas Monjalon ; dev at dpdk.org; Jerin > Jacob > ; Shah, Rahul R intel.com>; > Lu, Wenzhuo ; azelezniak > Subject: RE: [dpdk-dev] [RFC

[dpdk-dev] [PATCH v4] app/test: add AES GCM performance test to cryptodev

2016-09-28 Thread Arek Kusztal
This patch adds AES Galois Counter Mode performance test case for cryptodev QAT and AESNI GCM. Test is performed with different buffer sizes, burst size of 32 and 128b key. Test vectors are placed in app/test/test_cryptodev_perf_vectors.h file. Signed-off-by: Arek Kusztal --- This patch depends o

[dpdk-dev] [PATCH] eal: fix crash on mmap error in rte_eal_hugepage_attach()

2016-09-28 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj In ASLR-enabled system, it is possible that selected virtual space is occupied by program segments. Therefore, error path should not blindly unmap all memmory segments but only those already mapped. Steps that lead to crash: 1. memeseg 0 in secondary process overlaps with

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Iremonger, Bernard
Hi Bruce, Konstantin, > Subject: RE: [dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF > management > > Hi lads, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Iremonger, > > Bernard > > Sent: Tuesday, September 27, 2016 3:13 PM > > To:

[dpdk-dev] [PATCH v4 2/2] app/testpmd: improve handling of multiprocess

2016-09-28 Thread Pattan, Reshma
Hi, > -Original Message- > From: Kerlin, MarcinX > Sent: Wednesday, September 28, 2016 12:35 PM > To: Pattan, Reshma ; dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com > Subject: RE: [dpdk-dev] [PATCH v4 2/2] app/testpmd: improve handling of > multiprocess > >

[dpdk-dev] [PATCH v4 2/2] app/testpmd: improve handling of multiprocess

2016-09-28 Thread Kerlin, MarcinX
Hi > -Original Message- > From: Pattan, Reshma > Sent: Wednesday, September 28, 2016 12:58 PM > To: Kerlin, MarcinX ; dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > Subject: RE: [dpdk-dev] [PATCH v4 2/2] app/testpmd: improve handling of > m

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-28 Thread Ananyev, Konstantin
Hi lads, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Iremonger, Bernard > Sent: Tuesday, September 27, 2016 3:13 PM > To: Richardson, Bruce > Cc: Thomas Monjalon ; dev at dpdk.org; Jerin > Jacob ; Shah, Rahul > R ; Lu, Wenzhuo ; > azelezniak > Subject

[dpdk-dev] [dpdk-dev, v2] mk: gcc -march support for intel processors code names

2016-09-28 Thread Remy Horton
On 22/08/2016 15:19, Reshma Pattan wrote: > The GCC 4.9 -march option supports the intel code names for processors, > for example -march=silvermont, -march=broadwell. > The RTE_MACHINE config flag can be used to pass code name to > the compiler as -march flag. Also old gcc versions compatibility c

[dpdk-dev] [PATCH] pmdinfogen: fix clang build error

2016-09-28 Thread Ferruh Yigit
Compile error: CC mlx5.o.pmd.o mlx5.o.pmd.c:1:227: error: no newline at end of file [-Werror,-Wnewline-eof] ...__attribute__((used)) = "PMD_INFO_STRING= {...}"; ^ Produced with clang 3.8.0 and MLX5_PMD and MLX5_DEBUG config options enabled.

[dpdk-dev] [PATCH v4 1/2] librte_ether: add protection against overwrite device data

2016-09-28 Thread Pattan, Reshma
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin > Sent: Tuesday, September 27, 2016 12:13 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > /** > * @internal > + * Returns a shared

[dpdk-dev] [PATCH v3] net/mlx5: return RSS hash result in mbuf

2016-09-28 Thread Adrien Mazarguil
Hi all, Actually while this patch may silence clang, it still contains a bug. len must remain in the outer scope as its value must be preserved across iterations. I forgot this while reading the original patch and wrongly suggested Nelio to move it to in the inner loop, sorry about that. In short

[dpdk-dev] [PATCH v4 2/2] app/testpmd: improve handling of multiprocess

2016-09-28 Thread Pattan, Reshma
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin > Sent: Tuesday, September 27, 2016 12:13 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > Subject: [dpdk-dev] [PATCH v4 2/2] app/testpm

[dpdk-dev] [PATCH v2] mk: gcc -march support for intel processors code names

2016-09-28 Thread Liu, Yong
Tested-by: Yong Liu FangFang Wei - Tested Branch: dpdk/master - Tested Commit: e22856313fff2db12d8e132dad446bbf74cf29a5 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz - Default x86_64-native-linuxapp-gcc configuration - Prerequisite

[dpdk-dev] Interrupt mode in ixgbe driver and particularly in ixgbevf

2016-09-28 Thread Yan Fridland
Hello, I have a question about interrupt mode in ixgbe driver and particularly in ixgbevf. I am using ixgbevf driver for my ports (SR-IOV). Could you please tell me if there is any option to register with a callback on RX queue events on some port (VF) or the only option is to sleep (using rt

[dpdk-dev] Run 2 different testpmd from the same machine

2016-09-28 Thread Keren Hochman
Is there any way to connect to the same pci from 2 different applications? Both applications do not transmit any data, and one application only uses rte_eal_init and rte_eth_link? Thank you, Keren On Mon, Sep 12, 2016 at 4:29 PM, Wiles, Keith wrote: > > Regards, > Keith > > > On Sep 12, 2016, at

[dpdk-dev] [PATCH v5 0/2] net/vhost: add pmd xstats support

2016-09-28 Thread Yuanhan Liu
On Fri, Sep 23, 2016 at 11:56:17AM +0800, Yuanhan Liu wrote: > On Thu, Sep 22, 2016 at 04:19:07PM +0800, Zhiyong Yang wrote: > > Patch 1 moves all stats counters to a new defined struct vhost_stats, > > in order to manage all stats counters in a consistent way. > > > > Patch 2 adds the pmd xstats

[dpdk-dev] [PATCH 1/2] vhost: enable any layout feature

2016-09-28 Thread Yuanhan Liu
On Tue, Sep 27, 2016 at 10:56:40PM +0300, Michael S. Tsirkin wrote: > On Tue, Sep 27, 2016 at 11:11:58AM +0800, Yuanhan Liu wrote: > > On Mon, Sep 26, 2016 at 10:24:55PM +0300, Michael S. Tsirkin wrote: > > > On Mon, Sep 26, 2016 at 11:01:58AM -0700, Stephen Hemminger wrote: > > > > I assume that i

[dpdk-dev] [PATCH v3 2/4] hash: reorganize bucket structure

2016-09-28 Thread Bruce Richardson
On Tue, Sep 06, 2016 at 08:34:02PM +0100, Pablo de Lara wrote: > From: Byron Marohn > > Move current signatures of all entries together in the bucket > and same with all alternative signatures, instead of having > current and alternative signatures together per entry in the bucket. > This will be

[dpdk-dev] [PATCH v3 1/4] hash: reorder hash structure

2016-09-28 Thread Bruce Richardson
On Tue, Sep 06, 2016 at 08:34:01PM +0100, Pablo de Lara wrote: > In order to optimize lookup performance, hash structure > is reordered, so all fields used for lookup will be > in the first cache line. > > Signed-off-by: Pablo de Lara > --- > lib/librte_hash/rte_cuckoo_hash.h | 12 +++- >

[dpdk-dev] [PATCH v2] app/test: remove large lpm test head file

2016-09-28 Thread Bruce Richardson
On Wed, Sep 28, 2016 at 01:38:27AM +0800, Wei Dai wrote: > remove the large file app/test/test_lpm_routes.h and add codes to > auto-generate similar large route rule talbe which keeps same depth > and IP class distribution as previous one in test_lpm_routes.h . > With the rule table auto-generated

[dpdk-dev] [PATCH v3] net/mlx5: return RSS hash result in mbuf

2016-09-28 Thread Nelio Laranjeiro
Signed-off-by: Nelio Laranjeiro --- doc/guides/nics/mlx5.rst | 1 + drivers/net/mlx5/mlx5_rxq.c | 1 + drivers/net/mlx5/mlx5_rxtx.c | 21 - drivers/net/mlx5/mlx5_rxtx.h | 2 ++ 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/d

[dpdk-dev] [PATCH v2] net/mlx5: return RSS hash result in mbuf

2016-09-28 Thread NĂ©lio Laranjeiro
On Tue, Sep 27, 2016 at 06:03:51PM +0100, Ferruh Yigit wrote: > On 9/27/2016 3:53 PM, Nelio Laranjeiro wrote: > > Signed-off-by: Nelio Laranjeiro > > <...> > > > @@ -1286,12 +1291,13 @@ mlx5_rx_burst(void *dpdk_rxq, struct rte_mbuf > > **pkts, uint16_t pkts_n) > > &(*rxq->cqes)[rxq-

[dpdk-dev] [PATCH v3 0/4] Virtio NEON support for ARM

2016-09-28 Thread Yuanhan Liu
On Tue, Jul 05, 2016 at 06:19:22PM +0530, Jerin Jacob wrote: > This patch-set includes, > > 1) General cleanup of compile time dependency. > 2) made vector handler section based on run-time cpuflags > 2) Added NEON support for optimized Rx handling > > This patch-set is based on dpdk-next-virtio/

[dpdk-dev] [PATCH v3] net: fix build error with clang

2016-09-28 Thread Yuanhan Liu
On Tue, Sep 27, 2016 at 05:24:35PM +, Chen, Jing D wrote: > > On Mon, Sep 26, 2016 at 12:29:13PM +0800, Yuanhan Liu wrote: > > > Interestingly, clang and gcc has different prototype for _mm_prefetch(). > > > For gcc, we have > > > > > >_mm_prefetch (const void *__P, enum _mm_hint __I) > > >

[dpdk-dev] [PATCH v2 1/3] net/virtio_user: fix queue pair not enabled

2016-09-28 Thread Yuanhan Liu
On Tue, Sep 27, 2016 at 07:11:04PM +, Jianfeng Tan wrote: > When virtio_user is used with OVS-DPDK (with mq disabled), it cannot > receive any packets. > > It's because when vhost provides VHOST_USER_GET_PROTOCOL_FEATURES, > all queue pairs are initialized in the disabled state. Quote > QEMU/d

[dpdk-dev] [PATCH] pmdinfogen: fix clang build error

2016-09-28 Thread Neil Horman
On Wed, Sep 28, 2016 at 11:05:19AM +0100, Ferruh Yigit wrote: > Compile error: > CC mlx5.o.pmd.o > mlx5.o.pmd.c:1:227: > error: no newline at end of file [-Werror,-Wnewline-eof] > ...__attribute__((used)) = "PMD_INFO_STRING= {...}"; > ^ > >

[dpdk-dev] [PATCH v6] net/virtio: add set_mtu in virtio

2016-09-28 Thread Yuanhan Liu
On Tue, Sep 27, 2016 at 08:44:20PM +, Dey, Souvik wrote: > Hi Stephen, > So what should be my next steps , should I submit a v7 for this patch > or you suggest otherwise. Yes, please. Another note is please don't use white space for indentation, use TAB instead. -yliu > > --

[dpdk-dev] [PATCH v2 8/8] examples/ipsec-secgw: update release notes

2016-09-28 Thread De Lara Guarch, Pablo
Hi Sergio, > -Original Message- > From: Gonzalez Monroy, Sergio > Sent: Friday, September 23, 2016 12:46 AM > To: dev at dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2 8/8] examples/ipsec-secgw: update release notes > > Signed-off-by: Sergio Gonzalez Monroy > --- > doc/guides/rel_

[dpdk-dev] [PATCH v2 1/7] examples/ipsec-secgw: change CBC IV generation

2016-09-28 Thread De Lara Guarch, Pablo
Hi Sergio, > -Original Message- > From: Gonzalez Monroy, Sergio > Sent: Friday, September 23, 2016 12:45 AM > To: dev at dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2 1/7] examples/ipsec-secgw: change CBC IV generation > > NIST SP800-38A recommends two methods to generate unpredict

[dpdk-dev] [PATCH v2 6/7] examples/ipsec-secgw: cryptodev queue size macro

2016-09-28 Thread De Lara Guarch, Pablo
Hi Sergio, > -Original Message- > From: Gonzalez Monroy, Sergio > Sent: Friday, September 23, 2016 12:46 AM > To: dev at dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2 6/7] examples/ipsec-secgw: cryptodev queue size macro Could you add a bit more information about this patch? I know

[dpdk-dev] [PATCH v4 0/3] Add TSO on tunneling packet

2016-09-28 Thread Tan, Jianfeng
Hi Konstantin, On 9/28/2016 1:29 AM, Ananyev, Konstantin wrote: > [...] > Acked-by: Konstantin Ananyev > I think you need to rebase your first one: mbuf: add Tx side tunneling type > against the mainline. The first one can be applied by 3-way merge, git am -k -3, so I did not rebase the first

[dpdk-dev] [PATCH v2] app/test: remove large lpm test head file

2016-09-28 Thread Wei Dai
remove the large file app/test/test_lpm_routes.h and add codes to auto-generate similar large route rule talbe which keeps same depth and IP class distribution as previous one in test_lpm_routes.h . With the rule table auto-generated at run time, the performance of looking up keep similar to that f

[dpdk-dev] [PATCH] crypto: fix build with icc

2016-09-28 Thread Pablo de Lara
This commit fixes a compilation error on icc, due to unallowed conversion from int to enum: drivers/crypto/snow3g/rte_snow3g_pmd.c(155): error #188: enumerated type mixed with another type sess->op = mode; ^ drivers/crypto/kasumi/rte_kasumi_pmd.c(155): error #188:

[dpdk-dev] [PATCH v3] app/test: add AES GCM performance test to cryptodev

2016-09-28 Thread De Lara Guarch, Pablo
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Tuesday, September 27, 2016 6:50 AM > To: dev at dpdk.org > Cc: Trahe, Fiona; Jain, Deepak K; De Lara Guarch, Pablo; Griffin, John; > Kusztal, > ArkadiuszX > Subject: [PATCH v3] app/test: add AES GCM performance test to cry

[dpdk-dev] [PATCH] app/test: remove unnecessary conditional

2016-09-28 Thread De Lara Guarch, Pablo
> -Original Message- > From: Trahe, Fiona > Sent: Tuesday, September 27, 2016 3:07 AM > To: De Lara Guarch, Pablo; dev at dpdk.org > Cc: De Lara Guarch, Pablo; Trahe, Fiona > Subject: RE: [dpdk-dev] [PATCH] app/test: remove unnecessary conditional > > > > > -Original Message- >

[dpdk-dev] [PATCH] app/test: remove unnecessary hexdump from test_cryptodev.c

2016-09-28 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jain, Deepak K > Sent: Tuesday, September 27, 2016 2:25 AM > To: Kusztal, ArkadiuszX; dev at dpdk.org > Cc: Trahe, Fiona; De Lara Guarch, Pablo; Griffin, John > Subject: RE: [PATCH] app/test: remove unnecessary hexdump from > test_cryptodev.c > > > > -Or