[dpdk-dev] [PATCH 00/15] migrate flow director in ixgbe driver to new API

2015-02-21 Thread Thomas Monjalon
> > The patch set uses new filter_ctrl API to replace old flow director filter > > APIs. > > It uses new functions and structure to replace old ones in ixgbe driver, > > updates > > commands to replace old ones in testpmd, and removes the old APIs > > > > Jingjing Wu (15): > > ixgbe: migrate

[dpdk-dev] Appropriate DPDK data structures for TCP sockets

2015-02-21 Thread Matthew Hall
Hello fellow stack hackers :) , I'm working on a simple server-side implementation of TCP on DPDK. For this to work I need a good data structure to store some sockets. The lookup key is like this: struct ss_flow_key_s { uint8_t sip[IPV6_ALEN]; uint8_t dip[IPV6_ALEN]; uint16_t

[dpdk-dev] [PATCH] Make -Werror optional

2015-02-21 Thread Neil Horman
On Fri, Feb 20, 2015 at 05:55:21PM -0800, Stephen Hemminger wrote: > On Thu, 12 Feb 2015 16:54:44 +0200 > Panu Matilainen wrote: > > > On 02/12/2015 04:38 PM, Stephen Hemminger wrote: > > > On Thu, 12 Feb 2015 13:13:22 +0200 > > > Panu Matilainen wrote: > > > > > >> This adds new

[dpdk-dev] [PATCH v10 13/14] eal/pci: Add rte_eal_dev_attach/detach() functions

2015-02-21 Thread Maxime Leroy
Hi Tetsuya, On Sat, Feb 21, 2015 at 4:49 AM, Tetsuya Mukawa wrote: > On 2015/02/21 0:20, Maxime Leroy wrote: [...] >> Why you want to add devargs in the devargs_list, if there are no needs >> to store this information ? > > In eal initialization code, virtual device names stored in devargs are >

[dpdk-dev] [PATCH v10 13/14] eal/pci: Add rte_eal_dev_attach/detach() functions

2015-02-21 Thread Tetsuya Mukawa
On 2015/02/21 0:20, Maxime Leroy wrote: > Hi Tetsuya, > > Thanks for your comment. > > On Fri, Feb 20, 2015 at 11:32 AM, Tetsuya Mukawa wrote: >> On 2015/02/20 19:14, Maxime Leroy wrote: >>> Hi Tetsuya, > [...] >> Hi Maxime, >> >> I appreciate for your comment. >> >> When rte_eal_init() is

[dpdk-dev] [PATCH v2] mk: Only default to -Werror when building from git checkout

2015-02-21 Thread Thomas Monjalon
2015-02-20 18:15, Stephen Hemminger: > On Fri, 20 Feb 2015 13:15:38 +0100 > Thomas Monjalon wrote: > > > 2015-02-12 17:18, Panu Matilainen: > > > Add RTE_DEVEL_BUILD make-variable which can be used to do things > > > differently when doing development vs building a release, > > > autodetected

[dpdk-dev] [PATCH] RTE_PIPELINE_ACTION_PORT_META fix for non-default entries

2015-02-21 Thread Ildar Mustafin
Signed-off-by: Ildar Mustafin --- lib/librte_pipeline/rte_pipeline.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_pipeline/rte_pipeline.c b/lib/librte_pipeline/rte_pipeline.c index ac7e887..36d92c9 100644 --- a/lib/librte_pipeline/rte_pipeline.c +++

[dpdk-dev] [PATCH v4 4/5] eal: add per rx queue interrupt handling based on VFIO

2015-02-21 Thread Jun Xiao
On 02/19, Zhou Danny wrote: > v4 changes: > - Adjust position of new-added structure fields > > v3 changes: > - Fix review comments > > v2 changes: > - Fix compilation issue for a missed header file > - Bug fix: free unreleased resources on the exception path before return > - Consolidate coding

[dpdk-dev] [PATCH v2 4/4] doc: add librte_pmd_mlx4 documentation

2015-02-21 Thread Adrien Mazarguil
This documentation covers implementation details, features and limitations, configuration, prerequisites and provides a usage example. Signed-off-by: Adrien Mazarguil --- doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/mlx4_poll_mode_drv.rst | 327

[dpdk-dev] [PATCH v2 3/4] maintainers: claim responsibility for mlx4 PMD

2015-02-21 Thread Adrien Mazarguil
Signed-off-by: Adrien Mazarguil --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6d59..b4328d6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -217,6 +217,10 @@ Intel fm10k M: Jing Chen F: lib/librte_pmd_fm10k/ +Mellanox mlx4 +M: Adrien

[dpdk-dev] [PATCH v2 2/4] mlx4: new poll mode driver

2015-02-21 Thread Adrien Mazarguil
This PMD manages all variants of Mellanox ConnectX-3 (EN 40, EN 10, Pro EN 40) as well as their virtual functions in SR-IOV context through IB Verbs (libibverbs) and the dedicated user-space driver (libmlx4). It is disabled by default due to dependencies on these libraries and only supports Linux

[dpdk-dev] [PATCH v2 1/4] scripts: add auto-config-h.sh

2015-02-21 Thread Adrien Mazarguil
This script looks for types, macros and functions in header files using compilation options found in the environment (CC, CFLAGS, CPPFLAGS) to define feature macros in a generated header. Useful in combination with external headers that do not provide such macros. Signed-off-by: Adrien Mazarguil

[dpdk-dev] [PATCH v2 0/4] Mellanox ConnectX-3 PMD

2015-02-21 Thread Adrien Mazarguil
This PMD adds support for Mellanox ConnectX-3-based adapters through the verbs framework. It relies on external libraries (libibverbs and user space driver libmlx4) and kernel support to do so. While these libraries and kernel modules are available on OpenFabrics Alliance's website [1] and

[dpdk-dev] [PATCH v3 5/5] doc: commands changed in testpmd_funcs for flex filter

2015-02-21 Thread Pablo de Lara
From: Jingjing Wu document of new command: - flex_filter (port_id) (add|del) len (len_value) bytes (bytes_value) mask (mask_value) priority (prio_value) queue (queue_id) Signed-off-by: Jingjing Wu Signed-off-by: Pablo de Lara ---

[dpdk-dev] [PATCH v3 4/5] ethdev: remove old APIs and structures of flex filter

2015-02-21 Thread Pablo de Lara
From: Jingjing Wu Structure rte_flex_filter is removed. Following APIs are removed: - rte_eth_dev_add_flex_filter - rte_eth_dev_remove_flex_filter - rte_eth_dev_get_flex_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 51

[dpdk-dev] [PATCH v3 2/5] e1000: new functions replace old ones for flex filter

2015-02-21 Thread Pablo de Lara
From: Jingjing Wu This patch defines new functions dealing with flex filter. It removes old functions of flex filter in igb driver. Syn filter is dealt with through entrance eth_igb_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 27

[dpdk-dev] [PATCH v3 1/5] ethdev: define flex filter type and its structure

2015-02-21 Thread Pablo de Lara
From: Jingjing Wu This patch defines flex filter type RTE_ETH_FILTER_FLEXIBLE and its structure rte_eth_flex_filter. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff

[dpdk-dev] [PATCH v3 0/5] Integrate flex filter in igb driver to new API

2015-02-21 Thread Pablo de Lara
The patch set uses new filter_ctrl API to replace old flex filter APIs. It uses new functions and structure to replace old ones in igb driver, new commands to replace old ones in testpmd, and removes the old APIs. v3 changes: - fix testpmd documentation v2 changes: - split one patch to patch

[dpdk-dev] [PATCH] RTE_PIPELINE_ACTION_PORT_META fix for non-default entries

2015-02-21 Thread Ildar Mustafin
--- lib/librte_pipeline/rte_pipeline.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_pipeline/rte_pipeline.c b/lib/librte_pipeline/rte_pipeline.c index ac7e887..36d92c9 100644 --- a/lib/librte_pipeline/rte_pipeline.c +++ b/lib/librte_pipeline/rte_pipeline.c @@ -999,6 +999,7