[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-14 Thread Thomas Monjalon
2016-03-10 08:43, David Marchand: > On Thu, Mar 10, 2016 at 8:01 AM, Yuanhan Liu > wrote: > > Declare dst as type uint32_t instead of uint64_t, otherwise, we will get > > a random upper 32 bit feature bits, as the following io port read reads > > lower 32 bit only. It could lead a feature bits tha

[dpdk-dev] [PATCH] cryptodev: fix RTE_PMD_DEBUG_TRACE redefinition

2016-03-14 Thread Marc
On 10 March 2016 at 19:23, Thomas Monjalon wrote: > 2016-03-03 00:34, Marc Sune: > > RTE_PMD_DEBUG_TRACE used RTE_FUNC_PTR_OR_ERR_RET was redefined > > in rte_cryptodev_pmd.h which produced MACRO redefinition warnings > > when including both rte_cryptodev_pmd.h and rte_ethdev.h. > > > > This comm

[dpdk-dev] [PATCH v10 8/8] ethdev: add 100G link speed

2016-03-14 Thread Thomas Monjalon
The link speed configuration is now done with bitmaps so 100G speed requires only a new bit flag. The actual link speed is a number so its size must be increased from 16-bit to 32-bit. Signed-off-by: Marc Sune Tested-by: Nelio Laranjeiro Signed-off-by: Thomas Monjalon --- app/test-pmd/cmdline.

[dpdk-dev] [PATCH v10 7/8] ethdev: convert speed number to bitmap flag

2016-03-14 Thread Thomas Monjalon
From: Marc Sune It is a helper for the bitmap configuration. Signed-off-by: Marc Sune Signed-off-by: Thomas Monjalon --- lib/librte_ether/rte_ethdev.c | 31 +++ lib/librte_ether/rte_ethdev.h | 13 + lib/librte_ether/rte_ether_version.m

[dpdk-dev] [PATCH v10 6/8] ethdev: redesign link speed config

2016-03-14 Thread Thomas Monjalon
From: Marc Sune This patch redesigns the API to set the link speed/s configuration of an ethernet port. Specifically: - it allows to define a set of advertised speeds for auto-negociation. - it allows to disable link auto-negociation (single fixed speed). - default: auto-negociate all supporte

[dpdk-dev] [PATCH v10 5/8] ethdev: add speed capabilities

2016-03-14 Thread Thomas Monjalon
From: Marc Sune The speed capabilities of a device can be retrieved with rte_eth_dev_info_get(). The new field speed_capa is initialized in the drivers without taking care of device characteristics in this patch. When the capabilities of a driver are accurate, the table in overview.rst must be f

[dpdk-dev] [PATCH v10 4/8] ethdev: rename link speed constants

2016-03-14 Thread Thomas Monjalon
From: Marc Sune The speed numbers ETH_LINK_SPEED_ are renamed ETH_SPEED_NUM_. The prefix ETH_LINK_SPEED_ is kept for AUTONEG and will be used for bit flags in next patch. Signed-off-by: Marc Sune --- app/test-pmd/cmdline.c| 10 +- app/test/virtual_pmd.c

[dpdk-dev] [PATCH v10 3/8] app/testpmd: move speed and duplex parsing in a function

2016-03-14 Thread Thomas Monjalon
From: Marc Sune The code for checking and parsing speed/duplex was duplicated. The new function is also checking the speed/duplex combination. Signed-off-by: Marc Sune --- app/test-pmd/cmdline.c | 99 -- 1 file changed, 47 insertions(+), 52 delet

[dpdk-dev] [PATCH v10 2/8] ethdev: use constants for link duplex

2016-03-14 Thread Thomas Monjalon
From: Marc Sune Some duplex values are replaced from 0 to half-duplex when link is down. Some drivers are still using their own constants for duplex modes. Signed-off-by: Marc Sune --- drivers/net/e1000/em_ethdev.c | 2 +- drivers/net/e1000/igb_ethdev.c | 2 +- drivers/net/ixgbe/ixgb

[dpdk-dev] [PATCH v10 1/8] ethdev: use constants for link state

2016-03-14 Thread Thomas Monjalon
Define and use ETH_LINK_UP and ETH_LINK_DOWN where appropriate. Signed-off-by: Marc Sune Signed-off-by: Thomas Monjalon --- app/test-pipeline/init.c | 2 +- app/test-pmd/testpmd.c | 2 +- app/test/test_pmd_perf.c

[dpdk-dev] [PATCH v10 0/8] ethdev: 100G and link speed API refactoring

2016-03-14 Thread Thomas Monjalon
Re-spin of the Marc's patchset. The first version was sent 10 months ago! There are still too few tests and reviews but it is now time to move forward with this rework. Some issues were remaining in v9 and were difficult to see because it was mainly one big patch. That's why I've split it in severa

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-14 Thread Jianbo Liu
When checking rx ring queue, it's possible that loop will break at the tail while there are packets still in the queue header. Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 68 +- 1 file changed, 38 insertions(+), 30 deletions(-) diff --g

[dpdk-dev] [PATCH] hash: fix memcmp function pointer in multi-process environment

2016-03-14 Thread Dhananjaya Eadala
Hi I looked at your info from gdb and source code. From source code, rte_hash_lookup_with_hash / __rte_hash_lookup_with_hash() function doesn't invoke rte_hash_reset() function. It may be possible that rte_hash_cmp_eq function pointer from one process is matching to address of rte_hash_reset (

[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 10:48:31AM +, Bruce Richardson wrote: > On Thu, Mar 10, 2016 at 03:50:54PM +0800, Yuanhan Liu wrote: > > On Thu, Mar 10, 2016 at 08:43:37AM +0100, David Marchand wrote: > > > On Thu, Mar 10, 2016 at 8:01 AM, Yuanhan Liu > > > wrote: > > > > Declare dst as type uint32_t

[dpdk-dev] [PATCH 0/3 v3] virtio: Tx performance improvements

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 10:56:27AM +, Bruce Richardson wrote: > On Fri, Mar 04, 2016 at 10:19:18AM -0800, Stephen Hemminger wrote: > > This patch series uses virtio negotiated features to allow for > > more packets to be queued to host even though the default QEMU/KVM > > virtio queue is very s

[dpdk-dev] [PATCH v6 3/4] ena: Amazon ENA communication layer for DPDK platform

2016-03-14 Thread Thomas Monjalon
> +#ifndef unlikely > +#define unlikely(c) __builtin_expect(!!(c), 0) > +#endif > +#ifndef likely > +#define likely(c) __builtin_expect(!!(c), 1) > +#endif Including lib/librte_eal/common/include/rte_branch_prediction.h should be enough. > +#define max_t(type, x, y) ({ \ > + t

[dpdk-dev] [PATCH v6 4/4] ena: DPDK polling-mode driver for Amazon Elastic Network Adapters (ENA)

2016-03-14 Thread Jan Medala
This is a PMD for the Amazon ethernet ENA family. The driver operates variety of ENA adapters through feature negotiation with the adapter and upgradable commands set. ENA driver handles PCI Physical and Virtual ENA functions. Signed-off-by: Evgeny Schemeilin Signed-off-by: Jan Medala Signed-off

[dpdk-dev] [PATCH v6 3/4] ena: Amazon ENA communication layer for DPDK platform

2016-03-14 Thread Jan Medala
Implementation of platform specific code for ENA communication layer. Signed-off-by: Evgeny Schemeilin Signed-off-by: Jan Medala Signed-off-by: Jakub Palider --- drivers/net/ena/base/ena_plat_dpdk.h | 233 +++ 1 file changed, 233 insertions(+) create mode 10064

[dpdk-dev] [PATCH v6 2/4] ena: Amazon ENA communication layer

2016-03-14 Thread Jan Medala
Low level common abstraction for ENA device communication. Signed-off-by: Netanel Belgazal Signed-off-by: Jan Medala Signed-off-by: Jakub Palider --- drivers/net/ena/base/ena_com.c | 2809 +++ drivers/net/ena/base/ena_com.h | 1052 +

[dpdk-dev] [PATCH v6 1/4] ena: Amazon ENA documentation

2016-03-14 Thread Jan Medala
Signed-off-by: Alexander Matushevsky Signed-off-by: Jan Medala Signed-off-by: Jakub Palider --- MAINTAINERS | 8 ++ doc/guides/nics/ena.rst | 251 +++ doc/guides/nics/index.rst| 1 + doc/guides/nics/overview.rst | 116 +++

[dpdk-dev] [PATCH v6 0/4] DPDK polling-mode driver for Amazon Elastic Network Adapters (ENA)

2016-03-14 Thread Jan Medala
v3: Additional features for Amazon ENA: * Low Latenycy Queue (LLQ) for Tx * RSS v4: * Improved doc * Improved style according to checkpatch script * Fixed build problems on: i686, clang, +shared, +debug v5: * Removed 'cvos' environment code from ena Makefile * Driver symbol version fixed to DPDK_16

[dpdk-dev] [PATCH v2 1/5] mem: add --single-file to create single mem-backed file

2016-03-14 Thread Traynor, Kevin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, March 14, 2016 2:45 PM > To: Traynor, Kevin > Cc: dev at dpdk.org; nakajima.yoshihiro at lab.ntt.co.jp; mst at redhat.com; > p.fedin at samsung.com; ann.zhuangyanying at huawei.com > Subject:

[dpdk-dev] [PATCH v3] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
Currently, default values of kickfd and callfd are -1. If the values are -1, current code guesses kickfd and callfd haven't been initialized yet. Then vhost library will guess the virtqueue isn't ready for processing. But callfd and kickfd will be set as -1 when "--enable-kvm" isn't specified in QE

[dpdk-dev] [PATCH 2/2] tools/setup.sh: Support built-in kernel modules

2016-03-14 Thread Jerin Jacob
probe the kernel module existence through /sys/module/ to make it work with both module and inbuilt kernel module Signed-off-by: Jerin Jacob --- tools/setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/setup.sh b/tools/setup.sh index b290b87..6097ab7 100755

[dpdk-dev] [PATCH 1/2] tools/setup.sh: remove 2MB huge page size hard-cording

2016-03-14 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- tools/setup.sh | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tools/setup.sh b/tools/setup.sh index faa5eee..b290b87 100755 --- a/tools/setup.sh +++ b/tools/setup.sh @@ -44,6 +44,8 @@ echo "--

[dpdk-dev] [PATCH 0/2] tools/setup.sh fixes

2016-03-14 Thread Jerin Jacob
- added support to work with systems other than 2MB page size - added support to work with built-in kernel modules Jerin Jacob (2): tools/setup.sh: remove 2MB huge page size hard-cording tools/setup.sh: Support built-in kernel modules tools/setup.sh | 24 +--- 1 file cha

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
On 2016/03/14 17:21, Yuanhan Liu wrote: > On Mon, Mar 14, 2016 at 04:54:00PM +0900, Tetsuya Mukawa wrote: >> On 2016/03/14 11:08, Yuanhan Liu wrote: >>> On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: On 2016/03/11 16:19, Yuanhan Liu wrote: > On Thu, Mar 10, 2016 at 04:06:0

[dpdk-dev] [PATCH v8 01/11] ethdev: add API to query supported packet types

2016-03-14 Thread Ferruh Yigit
On 3/14/2016 7:42 AM, Jianfeng Tan wrote: > Add a new API rte_eth_dev_get_supported_ptypes to query what packet types > can be filled by given already started device (or its pmd rx burst function > has already been decided). > > Signed-off-by: Jianfeng Tan > Acked-by: Konstantin Ananyev > Acked-

[dpdk-dev] [PATCH v3] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 05:53:32PM +0900, Tetsuya Mukawa wrote: > Currently, default values of kickfd and callfd are -1. > If the values are -1, current code guesses kickfd and callfd haven't > been initialized yet. Then vhost library will guess the virtqueue isn't > ready for processing. > But cal

[dpdk-dev] Patch "Increased number of next hops for LPM IPv4" break IP Pipeline application

2016-03-14 Thread Zhang, Roy Fan
Hi Michal, Your patch "Increased number of next hops for LPM IPv4" (http://dpdk.org/ml/archives/dev/2016-March/035269.html) is breaking the IP Pipeline application. Without this patch, the application runs successfully. The IP Pipeline failed on executing the following command: ./build/ip_pipe

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
On 2016/03/14 11:08, Yuanhan Liu wrote: > On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: >> On 2016/03/11 16:19, Yuanhan Liu wrote: >>> On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: Currently, default values of kickfd and callfd are -1. If the values are

[dpdk-dev] [PATCH v3 1/3] mk: clear up libm and librt linkage confusion

2016-03-14 Thread Ferruh Yigit
On 3/10/2016 1:15 PM, Panu Matilainen wrote: > There are two places that need -lm (test app and librte_sched) and > exactly one that needs -lrt (librte_sched). Add the relevant > DT_NEEDED entries to both, and eliminate the bogus discrepancy > between Linux and BSD EXECENV_LDLIBS wrt these libs. >

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 04:54:00PM +0900, Tetsuya Mukawa wrote: > On 2016/03/14 11:08, Yuanhan Liu wrote: > > On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: > >> On 2016/03/11 16:19, Yuanhan Liu wrote: > >>> On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: > Cur

[dpdk-dev] [PATCH v2 1/5] mem: add --single-file to create single mem-backed file

2016-03-14 Thread Thomas Monjalon
2016-03-14 13:53, Traynor, Kevin: > From: Thomas Monjalon > > 2016-03-08 17:04, Yuanhan Liu: > > > On Tue, Mar 08, 2016 at 10:49:30AM +0200, Panu Matilainen wrote: > > > > On 03/07/2016 03:13 PM, Yuanhan Liu wrote: > > > > Note that SINGLE_FILE_SEGMENTS is a nasty hack that only the IVSHMEM > > con

[dpdk-dev] mailing list configuration

2016-03-14 Thread Yuanhan Liu
On Sat, Mar 12, 2016 at 10:37:46AM -0800, Thomas Monjalon wrote: > Hi all, > > Please find an information notice about mailman running this mailing list. > > You can change your settings at this URL: > http://dpdk.org/ml/options/dev/ > > There is an option "nodupes": > " > Avoid duplicate

[dpdk-dev] [PATCH v8 11/11] vmxnet3: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index a5c9ba5..f2b6b92

[dpdk-dev] [PATCH v8 10/11] nfp: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/nfp/nfp_net.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 573b6bc..163cac8 100644 --- a/drivers/net/nfp/nf

[dpdk-dev] [PATCH v8 09/11] mlx5: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5.c| 1 + drivers/net/mlx5/mlx5.h| 1 + drivers/net/mlx5/mlx5_ethdev.c | 20 drivers/net/mlx5/mlx5_rxtx.c | 2 ++ 4 files changed, 24 insertions(

[dpdk-dev] [PATCH v8 08/11] mlx4: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 67025c7..61ecf08 100644 --- a/drivers/net/mlx4/mlx4.

[dpdk-dev] [PATCH v8 07/11] ixgbe: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/ixgbe/ixgbe_ethdev.c | 38 ++ drivers/net/ixgbe/ixgbe_ethdev.h | 3 +++ drivers/net/ixgbe/ixgbe_rxtx.c | 4 +++- 3 files changed, 44 insertions(+), 1 delet

[dpdk-dev] [PATCH v8 06/11] i40e: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 46 ++- drivers/net/i40e/i40e_rxtx.h | 1 + 4

[dpdk-dev] [PATCH v8 05/11] fm10k: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/fm10k/fm10k_ethdev.c | 50 ++ drivers/net/fm10k/fm10k_rxtx.c | 3 +++ drivers/net/fm10k/fm10k_rxtx_vec.c | 3 +++ 3 files changed, 56 insertions(+) di

[dpdk-dev] [PATCH v8 04/11] enic: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/enic/enic_ethdev.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index 6f2ada5..bab0f7d 100644 --- a/drivers/

[dpdk-dev] [PATCH v8 03/11] e1000: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/e1000/igb_ethdev.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index f889876..413c794 10064

[dpdk-dev] [PATCH v8 02/11] cxgbe: add dev_supported_ptypes_get implementation

2016-03-14 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- drivers/net/cxgbe/cxgbe_ethdev.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 8c6dd59..1ee80b0 100644 --- a/d

[dpdk-dev] [PATCH v8 01/11] ethdev: add API to query supported packet types

2016-03-14 Thread Jianfeng Tan
Add a new API rte_eth_dev_get_supported_ptypes to query what packet types can be filled by given already started device (or its pmd rx burst function has already been decided). Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Acked-by: Adrien Mazarguil --- lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v8 00/11] Add API to get supported packet types

2016-03-14 Thread Jianfeng Tan
To achieve this, a new function pointer, dev_supported_ptypes_get, is added into struct eth_dev_ops. For those devices who do not implement it, it means it does not support any ptypes. v8: - Rebased on dpdk-next-net/rel_16_04 branch. - Rename ptypes_info -> supported_ptypes. - Abandon info a

[dpdk-dev] [PATCH] app/test/test_table_acl: fix incorrect IP

2016-03-14 Thread Betts, Ian
Date: Mon, 14 Mar 2016 12:22:01 + From: Fan Zhang To: dev at dpdk.org Subject: [dpdk-dev] [PATCH] app/test/test_table_acl: fix incorrect IP header Message-ID: <1457958122-20136-1-git-send-email-roy.fan.zhang at intel.com> This patch fixes the incorrect IP header in ACL table t

[dpdk-dev] [PATCH v4 3/8] vhost: refactor virtio_dev_merge_rx

2016-03-14 Thread Yuanhan Liu
Current virtio_dev_merge_rx() implementation just looks like the old rte_vhost_dequeue_burst(), full of twisted logic, that you can see same code block in quite many different places. However, the logic of virtio_dev_merge_rx() is quite similar to virtio_dev_rx(). The big difference is that the m

[dpdk-dev] [PATCH v3 0/2] slow data path communication between DPDK port and Linux

2016-03-14 Thread Ferruh Yigit
On 3/9/2016 11:17 AM, Ferruh Yigit wrote: > This patch sent to keep record of latest status of the work. > > > This is slow data path communication implementation based on existing KNI. > > Difference is: librte_kni converted into a PMD, kdp kernel module is almost > same except all control path

[dpdk-dev] [PATCH v5 0/4] Use common Linux tools to control DPDK ports

2016-03-14 Thread Ferruh Yigit
On 3/9/2016 11:41 AM, Ferruh Yigit wrote: > This patch sent to keep record of latest status of the work. > > > This work is to make DPDK ports more visible and to enable using common > Linux tools to configure DPDK ports. > > Patch is based on KNI but contains only control functionality of it, >

[dpdk-dev] [PATCH v3 3/8] vhost: refactor virtio_dev_merge_rx

2016-03-14 Thread Yuanhan Liu
On Fri, Mar 11, 2016 at 05:18:54PM +0100, Thomas Monjalon wrote: > This patch does not compile: > lib/librte_vhost/vhost_rxtx.c:386:5: error: ?dev? undeclared Oops, I acutally did the basic compile test on every commit and every time I did a rebase. I had a quick look, it turned out that it's a bu

[dpdk-dev] [PATCH 0/3] sched: patches for 2.2

2016-03-14 Thread Dumitrescu, Cristian
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, March 13, 2016 11:09 PM > To: Dumitrescu, Cristian ; Stephen > Hemminger > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] sched: patches for 2.2 > > 2016-03-13 22:47, Dumitrescu

[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-14 Thread Bruce Richardson
On Mon, Mar 14, 2016 at 08:44:32PM +0800, Yuanhan Liu wrote: > On Mon, Mar 14, 2016 at 10:48:31AM +, Bruce Richardson wrote: > > On Thu, Mar 10, 2016 at 03:50:54PM +0800, Yuanhan Liu wrote: > > > On Thu, Mar 10, 2016 at 08:43:37AM +0100, David Marchand wrote: > > > > On Thu, Mar 10, 2016 at 8:0

[dpdk-dev] [PATCH v2 1/5] mem: add --single-file to create single mem-backed file

2016-03-14 Thread Traynor, Kevin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, March 8, 2016 10:31 AM > To: dev at dpdk.org > Cc: nakajima.yoshihiro at lab.ntt.co.jp; mst at redhat.com; p.fedin at > samsung.com; > ann.zhuangyanying at huawei.com > Subject:

[dpdk-dev] [PATCH v5] examples/l2fwd-cat: PQoS CAT and CDP, example of libpqos usage

2016-03-14 Thread Wojciech Andralojc
This patch implements PQoS as a sample application. PQoS allows management of the CPUs last level cache, which can be useful for DPDK to ensure quality of service. The sample app links against the existing 01.org PQoS library (https://github.com/01org/intel-cmt-cat). White paper demonstrating exam

[dpdk-dev] [PATCH] doc: update release notes for ip_pipeline app

2016-03-14 Thread Jasvinder Singh
This patch updates the release notes with the features that have been added to ip_pipeline application. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- doc/guides/rel_notes/release_16_04.rst | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/guides/rel_notes

[dpdk-dev] [PATCH v5 0/4] Use common Linux tools to control DPDK ports

2016-03-14 Thread Jay Rolette
Is there some technical reason or is it just the push-back you are getting from some of the maintainers? I chimed in on one of the other threads already, but I'm extremely disappointed that usability and serviceability improvements to existing DPDK capabilities (KNI) are getting blocked like this.

[dpdk-dev] [PATCH] hash: fix memcmp function pointer in multi-process environment

2016-03-14 Thread 张伟
BTW, the following is my backtrace when the system crashes. Program received signal SIGSEGV, Segmentation fault. 0x004883ab in rte_hash_reset (h=0x0) at /home/zhangwei1984/timopenNetVM/dpdk-2.2.0/lib/librte_hash/rte_cuckoo_hash.c:444 444while (rte_ring_dequeue(h->free_slots, &ptr)

[dpdk-dev] [PATCH] examples/ip_pipeline: fix configuration parser

2016-03-14 Thread Fan Zhang
Fixes: 377cd98e ("example/ip_pipeline: add link identification") Signed-off-by: Fan Zhang Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/config_parse.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/examples/ip_pipeline/config_parse.c b/examples/ip_pipeline/config_parse.c in

[dpdk-dev] [PATCH] app/test/test_table_acl: fix incorrect IP header

2016-03-14 Thread Fan Zhang
This patch fixes the incorrect IP header in ACL table test. Signed-off-by: Fan Zhang --- app/test/test_table_acl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test/test_table_acl.c b/app/test/test_table_acl.c index 38e3a8e..2fc5f24 100644 --- a/app/test/test_table_

[dpdk-dev] [PATCH v5 1/2] i40evf: allocate virtchnl cmd buffer for each vf

2016-03-14 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 11:41:10AM +0800, Jingjing Wu wrote: > Currently, i40evf PMD uses a global static buffer to send virtchnl > command to host driver. It is shared by multi VFs. > This patch changed to allocate virtchnl cmd buffer for each VF. > > Signed-off-by: Jingjing Wu > Acked-by: Helin

[dpdk-dev] [PATCH v11 2/2] vhost: Add VHOST PMD

2016-03-14 Thread Bruce Richardson
On Mon, Mar 07, 2016 at 11:07:14AM +0900, Tetsuya Mukawa wrote: > The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. It means librte_vhost is also needed to compile the PMD. > The vhost messages will be handled only when a port is started. So start > a port f

[dpdk-dev] [PATCH v3] ixgbe: fix ixgbevf RX/TX function assignment

2016-03-14 Thread Zhe Tao
For the secondary process of DPDK to initialize ixgbevf, it will always use the simple RX function or LRO RX function, and this behavior is not the same RX/TX function selection logic as it is for the primary process, so use the ixgbe_set_tx_function and ixgbe_set_rx_function to select the RX/TX fu

[dpdk-dev] [PATCH 0/3 v3] virtio: Tx performance improvements

2016-03-14 Thread Bruce Richardson
On Fri, Mar 04, 2016 at 10:19:18AM -0800, Stephen Hemminger wrote: > This patch series uses virtio negotiated features to allow for > more packets to be queued to host even though the default QEMU/KVM > virtio queue is very small 256 elements. > > Stephen Hemminger (3): > virtio: use indirect ri

[dpdk-dev] Huge pages to be allocated based on number of mbufs

2016-03-14 Thread Saurabh Mishra
Hi, We are planning to support virtio, vmxnet3, ixgbe, i40e, bxn2x and SR-IOV on some of them with DPDK. We have seen that even if we give correct number of mbufs given the number hugepages reserved, rte_eth_tx_queue_setup() may still fail with no enough memory (I saw this on i40evf but worked on

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
On 2016/03/11 16:19, Yuanhan Liu wrote: > On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: >> Currently, default values of kickfd and callfd are -1. >> If the values are -1, current code guesses kickfd and callfd haven't >> been initialized yet. And vhost library will guess the virtq

[dpdk-dev] [PATCH] nfp: fix tx queue reset

2016-03-14 Thread Bruce Richardson
On Mon, Mar 14, 2016 at 10:39:04AM +, Alejandro Lucero wrote: > When using start-stop functionality the per queue fields need to > be properly reset. > > Fixes: b812daadad0d (\"nfp: add Rx and Tx\") > > Signed-off-by: Alejandro Lucero > --- Applied to dpdk-next-net/rel_16_04 /Bruce

[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-14 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 03:50:54PM +0800, Yuanhan Liu wrote: > On Thu, Mar 10, 2016 at 08:43:37AM +0100, David Marchand wrote: > > On Thu, Mar 10, 2016 at 8:01 AM, Yuanhan Liu > > wrote: > > > Declare dst as type uint32_t instead of uint64_t, otherwise, we will get > > > a random upper 32 bit feat

[dpdk-dev] [PATCH v7 01/11] ethdev: add API to query packet type filling info

2016-03-14 Thread Thomas Monjalon
2016-03-10 03:31, Jianfeng Tan: > Add a new API rte_eth_dev_get_ptype_info to query whether/what packet > type can be filled by given already started device or its pmd rx burst > function has already been decided). [...] > /** > + * Retrieve the packet type information of an Ethernet device. > + *

[dpdk-dev] [PATCH] nfp: fix tx queue reset

2016-03-14 Thread Alejandro Lucero
When using start-stop functionality the per queue fields need to be properly reset. Fixes: b812daadad0d (\"nfp: add Rx and Tx\") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_n

[dpdk-dev] [PATCH] ethdev: don't count missed packets in erroneous packets counter

2016-03-14 Thread Igor Ryzhov
Ping. CCing to maintainers of affected drivers. > 10 ? 2016 ?., ? 16:03, Igor Ryzhov ???(?): > > Comment for "ierrors" counter says that it counts erroneous received packets. > But for some reason "imissed" counter is added to "ierrors" counter in most > drivers. It is a mistake, beca

[dpdk-dev] [PATCH] hash: fix memcmp function pointer in multi-process environment

2016-03-14 Thread 张伟
I met a problem which I used the DPDK hash table for multi processes. One started as primary process and the other as secondary process. I based on the client and server multiprocess example. My aim is that server creates a hash table, then share it to the client. The client will read and writ

[dpdk-dev] [PATCH v3 1/1] drivers/net/i40e: add ethdev functions

2016-03-14 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 12:25:27PM +, Mcnamara, John wrote: > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > > Sent: Wednesday, March 9, 2016 1:29 PM > > To: Zhang, Helin > > Cc: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH v3 1/1] driv

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: > On 2016/03/11 16:19, Yuanhan Liu wrote: > > On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: > >> Currently, default values of kickfd and callfd are -1. > >> If the values are -1, current code guesses kickfd and callfd

[dpdk-dev] [PATCH v7 01/11] ethdev: add API to query packet type filling info

2016-03-14 Thread Bruce Richardson
On Mon, Mar 14, 2016 at 10:44:30AM +0100, Thomas Monjalon wrote: > 2016-03-10 03:31, Jianfeng Tan: > > Add a new API rte_eth_dev_get_ptype_info to query whether/what packet > > type can be filled by given already started device or its pmd rx burst > > function has already been decided). > [...] > >

[dpdk-dev] dpdk hash lookup function crashed (segment fault)

2016-03-14 Thread Kyle Larose
Hello, On Sun, Mar 13, 2016 at 10:38 AM, ?? wrote: > Hi all, > When I use the dpdk lookup function, I met the segment fault problem. Can > anybody help to look at why this happens. I will put the aim what I want to > do and the related piece of code, and my debug message, > > > This problem is

[dpdk-dev] [PATCH] i40e: fix using memory after free issue

2016-03-14 Thread Jiangu Zhao
The old code still uses entry in the next loop of LIST_FOREACH after free() in i40e_res_pool_destroy(). Change to a safe way to free entry, which is similar with LIST_FOREACH_SAFE in FreeBSD. Signed-off-by: Jiangu Zhao --- drivers/net/i40e/i40e_ethdev.c | 10 +++--- 1 file changed, 7 inser

[dpdk-dev] [PATCH v8 0/5] cryptodev API changes

2016-03-14 Thread Cao, Min
Tested-by: Min Cao - Tested Commit: 4c387fcdf7776d3bb9f47789580a57bd18d4dbf3 - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc (GCC) 4.8.3 - CPU: Intel(R) Xeon(R) CPU E5-2658 v3 @ 2.20GHz - NIC: Niantic - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 23 cases, 23 passe

[dpdk-dev] [PATCH v2] cryptodev: add capabilities discovery mechanism

2016-03-14 Thread Cao, Min
Tested-by: Min Cao - Tested Commit: 94b0ad8e0aa556230183f4c4d06b68bfd145dce3 - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc (GCC) 4.8.3 - CPU: Intel(R) Xeon(R) CPU E5-2658 v3 @ 2.20GHz - NIC: Niantic - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 56 cases, 56 passe

[dpdk-dev] [PATCH] ethdev: don't count missed packets in erroneous packets counter

2016-03-14 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Igor Ryzhov [mailto:iryzhov at nfware.com] > Sent: Monday, March 14, 2016 3:31 PM > To: ? ? > Cc: dev at dpdk.org; Rahul Lakkireddy; Lu, Wenzhuo; Zhang, Helin; Ananyev, > Konstantin > Subject: Re: [dpdk-dev] [PATCH] ethdev: don't count missed packe

[dpdk-dev] [PATCH v3] cryptodev: add capabilities discovery mechanism

2016-03-14 Thread Cao, Min
Tested-by: Min Cao - Tested Commit: 94b0ad8e0aa556230183f4c4d06b68bfd145dce3 - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc (GCC) 4.8.3 - CPU: Intel(R) Xeon(R) CPU E5-2658 v3 @ 2.20GHz - NIC: Niantic - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 56 cases, 56 passe

[dpdk-dev] [PATCH v4] cryptodev: add capabilities discovery mechanism

2016-03-14 Thread Cao, Min
Tested-by: Min Cao - Tested Commit: 94b0ad8e0aa556230183f4c4d06b68bfd145dce3 - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc (GCC) 4.8.3 - CPU: Intel(R) Xeon(R) CPU E5-2658 v3 @ 2.20GHz - NIC: Niantic - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 56 cases, 56 passe

[dpdk-dev] dev Digest, Vol 83, Issue 176

2016-03-14 Thread we...@techsure.com.cn
?? 1 2?? wenhb at techsure.com.cn From: dev-request Date: 2016-03-13 23:17 To: dev Subject: dev Digest, Vol 83, Issue 176 Send dev mailing list submissions to dev at dpdk.org To subscribe or unsubscribe via the World Wide Web, visit http://dpdk.org/ml/listinfo/de

[dpdk-dev] [PATCH 0/3] sched: patches for 2.2

2016-03-14 Thread Thomas Monjalon
2016-03-13 22:47, Dumitrescu, Cristian: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-03-08 07:49, Dumitrescu, Cristian: > > > Regarding Stephen's patches, I think there is a pending issue regarding > > > the > > legal side of the Copyright, which is attributed to Intel, a