[dpdk-dev] [PATCH] doc: introduce networking driver matrix

2016-01-26 Thread Thomas Monjalon
In order to better compare the drivers and check what is missing for a common baseline, we need to fill a matrix. A CSS trick is used to fit the HTML page. The PDF output needs some LaTeX wizardry. Signed-off-by: Thomas Monjalon --- doc/guides/nics/index.rst| 1 + doc/guides/nics/overview

[dpdk-dev] [PATCH v6 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode

2016-01-26 Thread Santosh Shukla
On Tue, Jan 26, 2016 at 7:58 PM, Thomas Monjalon wrote: > 2016-01-26 19:35, Santosh Shukla: >> On Tue, Jan 26, 2016 at 6:30 PM, Thomas Monjalon >> wrote: >> > 2016-01-26 15:56, Santosh Shukla: >> >> In my observation, currently virtio work for vfio-noiommu, that's why >> >> said drv->kdrv need to

[dpdk-dev] [PATCH 2.3] tools/dpdk_nic_bind.py: Verbosely warn the user on bind

2016-01-26 Thread David Marchand
On Tue, Jan 26, 2016 at 9:14 PM, Thomas Monjalon wrote: > 2015-12-11 11:20, Aaron Conole: >> DPDK ports are only detected during the EAL initialization. After that, any >> new DPDK ports which are bound will not be visible to the application. >> >> The dpdk_nic_bind.py can be a bit more helpful to

[dpdk-dev] [PATCH 2.3] tools/dpdk_nic_bind.py: Verbosely warn the user on bind

2016-01-26 Thread Thomas Monjalon
2015-12-11 11:20, Aaron Conole: > DPDK ports are only detected during the EAL initialization. After that, any > new DPDK ports which are bound will not be visible to the application. > > The dpdk_nic_bind.py can be a bit more helpful to let users know that DPDK > enabled applications will not find

[dpdk-dev] [PATCH v6 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode

2016-01-26 Thread Santosh Shukla
On Tue, Jan 26, 2016 at 6:30 PM, Thomas Monjalon wrote: > 2016-01-26 15:56, Santosh Shukla: >> On Mon, Jan 25, 2016 at 8:59 PM, Thomas Monjalon >> wrote: >> > 2016-01-21 22:47, Santosh Shukla: >> >> On Thu, Jan 21, 2016 at 8:16 PM, Thomas Monjalon >> >> wrote: >> >> > 2016-01-21 17:34, Santosh S

[dpdk-dev] bnx2x driver and 57800 versus 57810

2016-01-26 Thread Chas Williams
I have to practically identical systems, same hypervisor on each (Centos 7.x). ?In one, I have a 57800 card which works fine with DPDK with SRIOV. ?In the other, I have a 57810 card which doesn't work with SRIOV. For the 57810 I have tracked this down to the status block in the VF failing to be up

[dpdk-dev] [PATCH 5/5] mempool: allow rte_pktmbuf_pool_create switch between memool handlers

2016-01-26 Thread David Hunt
if the user wants to have rte_pktmbuf_pool_create() use an external mempool handler, they simply define MEMPOOL_HANDLER_NAME to be the name of the mempool handler they wish to use. May move this to config Signed-off-by: David Hunt --- lib/librte_mbuf/rte_mbuf.c | 11 +++ 1 file changed,

[dpdk-dev] [PATCH 4/5] mempool: add autotest for external mempool custom example

2016-01-26 Thread David Hunt
Signed-off-by: David Hunt --- app/test/Makefile | 1 + app/test/test_ext_mempool.c | 474 2 files changed, 475 insertions(+) create mode 100644 app/test/test_ext_mempool.c diff --git a/app/test/Makefile b/app/test/Makefile index ec33e1a..

[dpdk-dev] [PATCH 3/5] mempool: add custom external mempool handler example

2016-01-26 Thread David Hunt
adds a simple ring-based mempool handler using mallocs for each object Signed-off-by: David Hunt --- lib/librte_mempool/Makefile | 1 + lib/librte_mempool/custom_mempool.c | 160 2 files changed, 161 insertions(+) create mode 100644 lib/librte_memp

[dpdk-dev] [PATCH 2/5] memool: add stack (lifo) based external mempool handler

2016-01-26 Thread David Hunt
adds a simple stack based mempool handler Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool/Makefile| 1 + lib/librte_mempool/rte_mempool_stack.c | 167 + 3 files changed, 168 insertions(+), 1 deletion(-

[dpdk-dev] [PATCH 1/5] mempool: add external mempool manager support

2016-01-26 Thread David Hunt
Adds the new rte_mempool_create_ext api and callback mechanism for external mempool handlers Modifies the existing rte_mempool_create to set up the handler_idx to the relevant mempool handler based on the handler name: ring_sp_sc ring_mp_mc ring_sp_mc ring_mp_sc Si

[dpdk-dev] [PATCH 0/5] add external mempool manager

2016-01-26 Thread David Hunt
Hi all on the list. Here's a proposed patch for an external mempool manager The External Mempool Manager is an extension to the mempool API that allows users to add and use an external mempool manager, which allows external memory subsystems such as external hardware memory management systems and

[dpdk-dev] [PATCH V1 1/1] jobstats: added function abort for job

2016-01-26 Thread Marcin Kerlin
This patch adds new function rte_jobstats_abort. It marks *job* as finished and time of this work will be add to management time instead of execution time. This function should be used instead of rte_jobstats_finish if condition occure, condition is defined by the application for example when rece

[dpdk-dev] [PATCH v2 1/2] ethdev: remove useless null checks

2016-01-26 Thread Jan Viktorin
What about the RTE_VERIFY? I think, it's more appropriate here. Otherwise, feel free to add: Reviewed-by: Jan Viktorin On Fri, 22 Jan 2016 15:06:57 +0100 David Marchand wrote: > We are in static functions and those passed arguments can't be NULL. > > Signed-off-by: David Marchand > --- > li

[dpdk-dev] [PATCH v2 2/2] ethdev: move code to common place in hotplug

2016-01-26 Thread Jan Viktorin
On Fri, 22 Jan 2016 15:06:58 +0100 David Marchand wrote: > Move these error logs and checks on detach capabilities in a common place. > > Signed-off-by: David Marchand Reviewed-by: Jan Viktorin

[dpdk-dev] [PATCH v6 1/2] tools: Add support for handling built-in kernel modules

2016-01-26 Thread Thomas Monjalon
2016-01-20 10:48, krytarowski at caviumnetworks.com: > --- a/tools/dpdk_nic_bind.py > +++ b/tools/dpdk_nic_bind.py > -for line in loaded_mods: > +try: > +# Get list of syfs modules, some of them might be builtin and merge > with mods Please could you explain this comment? Is it re

[dpdk-dev] [PATCH v5 1/2] tools: Add support for handling built-in kernel modules

2016-01-26 Thread Thomas Monjalon
2016-01-19 17:35, Kamil Rytarowski: > > W dniu 18.01.2016 o 15:32, Thomas Monjalon pisze: > > Hi Kamil, > > > > 2015-12-09 14:19, Kamil Rytarowski: > >> Currently dpdk_nic_bind.py detects Linux kernel modules via reading > >> /proc/modules. Built-in ones aren't listed there and therefore they are

[dpdk-dev] [PATCH v6 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode

2016-01-26 Thread Santosh Shukla
On Mon, Jan 25, 2016 at 8:59 PM, Thomas Monjalon wrote: > 2016-01-21 22:47, Santosh Shukla: >> On Thu, Jan 21, 2016 at 8:16 PM, Thomas Monjalon >> wrote: >> > 2016-01-21 17:34, Santosh Shukla: >> >> On Thu, Jan 21, 2016 at 4:58 PM, Thomas Monjalon >> >> wrote: >> >> > 2016-01-21 16:43, Santosh S

[dpdk-dev] [PATCH v6 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode

2016-01-26 Thread Thomas Monjalon
2016-01-26 19:35, Santosh Shukla: > On Tue, Jan 26, 2016 at 6:30 PM, Thomas Monjalon > wrote: > > 2016-01-26 15:56, Santosh Shukla: > >> In my observation, currently virtio work for vfio-noiommu, that's why > >> said drv->kdrv need to know vfio mode. > > > > It is your observation. It may change i

[dpdk-dev] [PATCH 12/12] testpmd: extend commands for fdir's vlan input set

2016-01-26 Thread Jingjing Wu
This patch extended commands for filter's input set changing. It added vlan as filter's input fields. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 6 +++--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff

[dpdk-dev] [PATCH 11/12] i40e: extend flow director to filter by vlan id

2016-01-26 Thread Jingjing Wu
This patch extended flow director to select vlan id as filter's input set and program the filter rule with vlan id. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/release_2_3.rst | 1 + drivers/net/i40e/i40e_ethdev.c | 11 +++ drivers/net/i40e/i40e_fdir.c | 9 +++

[dpdk-dev] [PATCH 10/12] i40e: fix VLAN bitmasks for hash/fdir input sets for tunnels

2016-01-26 Thread Jingjing Wu
From: Andrey Chilikin This patch adds missing VLAN bitmask for inner frame in case of tunneling and fixes VLAN tags bitmasks for single or outer frame in case of tunneling. Signed-off-by: Andrey Chilikin Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 12 +++- 1 file c

[dpdk-dev] [PATCH 09/12] testpmd: extend commands for fdir's tunnel id input set

2016-01-26 Thread Jingjing Wu
This patch extended commands for filter's input set changing. It added GRE/Vxlan Tunnel as filter's input fields. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 27 +-- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 22 --

[dpdk-dev] [PATCH 08/12] i40e: extend flow director to filter by tunnel ID

2016-01-26 Thread Jingjing Wu
This patch extended flow director to select Vxlan/GRE tunnel ID as filter's input set and program the filter rule with the defined tunnel type. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 11 drivers/net/i40e/i40e_fdir.c | 125 ++---

[dpdk-dev] [PATCH 07/12] librte_ether: extend rte_eth_fdir_flow to support tunnel format

2016-01-26 Thread Jingjing Wu
This patch changed rte_eth_fdir_flow from union to struct to support more packets formats, for example, Vxlan and GRE tunnel packets with IP inner frame. This patch also add new RTE_FDIR_TUNNEL_TYPE_GRE enum. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/release_2_3.rst | 4 lib/lib

[dpdk-dev] [PATCH 06/12] testpmd: extend commands for filter's input set changing

2016-01-26 Thread Jingjing Wu
This patch extended commands for filter's input set changing. It added tos, protocol and ttl as filter's input fields, and remove the words selection from flex payloads for flow director. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 100 ++-

[dpdk-dev] [PATCH 05/12] i40e: extend flow director to filter by more IP Header fields

2016-01-26 Thread Jingjing Wu
This patch extended flow director to select more IP Header fields as filter input set. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 69 ++ drivers/net/i40e/i40e_fdir.c | 26 +++- 2 files changed, 75 insertions(+), 20 deleti

[dpdk-dev] [PATCH 04/12] i40e: restore default setting on input set of filters

2016-01-26 Thread Jingjing Wu
This patch added a new function to set the input set to default when initialization. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 56 ++ 1 file changed, 56 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40

[dpdk-dev] [PATCH 03/12] i40e: remove flex payload from INPUT_SET_SELECT operation

2016-01-26 Thread Jingjing Wu
In this patch, flex payload is removed from valid fdir input set values. It is because all flex payload configuration can be set in struct rte_fdir_conf during device configure phase. And it is a more flexible configuration including flexpayload's selection, input set selection by word and mask set

[dpdk-dev] [PATCH 02/12] i40e: split function for input set change of hash and fdir

2016-01-26 Thread Jingjing Wu
This patch split function for input set changing of hash and fdir to avoid multiple check on different situation. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 233 + drivers/net/i40e/i40e_ethdev.h | 11 +- drivers/net/i40e/i40e_fdir.c

[dpdk-dev] [PATCH 01/12] ethdev: extend flow director to support input set selection

2016-01-26 Thread Jingjing Wu
This patch added RTE_ETH_INPUT_SET_L3_IP4_TTL, RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field type and extended struct rte_eth_ipv4_flow and rte_eth_ipv6_flow to support filtering by tos, protocol and ttl. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 8 1 file chang

[dpdk-dev] [PATCH 00/12] extend flow director's fields in i40e driver

2016-01-26 Thread Jingjing Wu
This patch set extends flow director to support filtering by additional fields below in i40e driver: - TOS, Protocol and TTL in IP header - Tunnel id if NVGRE/GRE/VxLAN packets - single vlan or inner vlan Jingjing Wu (12): ethdev: extend flow director to support input set selection i40e: sp

[dpdk-dev] [PATCH 2.3] tools/dpdk_nic_bind.py: Verbosely warn the user on bind

2016-01-26 Thread Aaron Conole
Ping... This patch has been sitting^Hrotting for a bit over a month. > DPDK ports are only detected during the EAL initialization. After that, any > new DPDK ports which are bound will not be visible to the application. > > The dpdk_nic_bind.py can be a bit more helpful to let users know that DPDK

[dpdk-dev] [PATCH 12/12] testpmd: extend commands for fdir's vlan input set

2016-01-26 Thread Jingjing Wu
This patch extended commands for filter's input set changing. It added vlan as filter's input fields. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 6 +++--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff

[dpdk-dev] [PATCH 11/12] i40e: extend flow director to filter by vlan id

2016-01-26 Thread Jingjing Wu
This patch extended flow director to select vlan id as filter's input set and program the filter rule with vlan id. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/release_2_3.rst | 1 + drivers/net/i40e/i40e_ethdev.c | 11 +++ drivers/net/i40e/i40e_fdir.c | 9 +++

[dpdk-dev] [PATCH 10/12] i40e: fix VLAN bitmasks for hash/fdir input sets for tunnels

2016-01-26 Thread Jingjing Wu
From: Andrey Chilikin This patch adds missing VLAN bitmask for inner frame in case of tunneling and fixes VLAN tags bitmasks for single or outer frame in case of tunneling. Signed-off-by: Andrey Chilikin Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 12 +++- 1 file c

[dpdk-dev] [PATCH 09/12] testpmd: extend commands for fdir's tunnel id input set

2016-01-26 Thread Jingjing Wu
This patch extended commands for filter's input set changing. It added GRE/Vxlan Tunnel as filter's input fields. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 27 +-- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 22 --

[dpdk-dev] [PATCH 08/12] i40e: extend flow director to filter by tunnel ID

2016-01-26 Thread Jingjing Wu
This patch extended flow director to select Vxlan/GRE tunnel ID as filter's input set and program the filter rule with the defined tunnel type. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 11 drivers/net/i40e/i40e_fdir.c | 125 ++---

[dpdk-dev] [PATCH 07/12] librte_ether: extend rte_eth_fdir_flow to support tunnel format

2016-01-26 Thread Jingjing Wu
This patch changed rte_eth_fdir_flow from union to struct to support more packets formats, for example, Vxlan and GRE tunnel packets with IP inner frame. This patch also add new RTE_FDIR_TUNNEL_TYPE_GRE enum. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/release_2_3.rst | 4 lib/lib

[dpdk-dev] [PATCH 06/12] testpmd: extend commands for filter's input set changing

2016-01-26 Thread Jingjing Wu
This patch extended commands for filter's input set changing. It added tos, protocol and ttl as filter's input fields, and remove the words selection from flex payloads for flow director. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 100 ++-

[dpdk-dev] [PATCH 05/12] i40e: extend flow director to filter by more IP Header fields

2016-01-26 Thread Jingjing Wu
This patch extended flow director to select more IP Header fields as filter input set. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 69 ++ drivers/net/i40e/i40e_fdir.c | 26 +++- 2 files changed, 75 insertions(+), 20 deleti

[dpdk-dev] [PATCH 04/12] i40e: restore default setting on input set of filters

2016-01-26 Thread Jingjing Wu
This patch added a new function to set the input set to default when initialization. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 56 ++ 1 file changed, 56 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40

[dpdk-dev] [PATCH 03/12] i40e: remove flex payload from INPUT_SET_SELECT operation

2016-01-26 Thread Jingjing Wu
In this patch, flex payload is removed from valid fdir input set values. It is because all flex payload configuration can be set in struct rte_fdir_conf during device configure phase. And it is a more flexible configuration including flexpayload's selection, input set selection by word and mask set

[dpdk-dev] [PATCH 02/12] i40e: split function for input set change of hash and fdir

2016-01-26 Thread Jingjing Wu
This patch splited function for input set changing of hash and fdir to avoid multiple check on different situation. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 233 + drivers/net/i40e/i40e_ethdev.h | 11 +- drivers/net/i40e/i40e_fdir.c

[dpdk-dev] [PATCH 01/12] ethdev: extend flow director to support input set selection

2016-01-26 Thread Jingjing Wu
This patch added RTE_ETH_INPUT_SET_L3_IP4_TTL, RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field type and extended struct rte_eth_ipv4_flow and rte_eth_ipv6_flow to support filtering by tos, protocol and ttl. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 8 1 file chang

[dpdk-dev] [PATCH 00/12] extend flow director's fields in i40e driver

2016-01-26 Thread Jingjing Wu
This patch set extends flow director to support filtering by additional fields below in i40e driver: - TOS, Protocol and TTL in IP header - Tunnel id if NVGRE/GRE/VxLAN packets - single vlan or inner vlan Jingjing Wu (12): ethdev: extend flow director to support input set selection i40e: sp

[dpdk-dev] [PATCH 0/4] virtio support for container

2016-01-26 Thread Tan, Jianfeng
Hi Michael, On 1/26/2016 2:02 PM, Qiu, Michael wrote: > On 1/11/2016 2:43 AM, Tan, Jianfeng wrote: ... >> >> f. Used with vhost-net >> $: modprobe vhost >> $: modprobe vhost-net >> $: docker run -i -t --privileged \ >> -v /dev/vhost-net:/dev/vhost-net \ >> -v /dev/net/tun:/dev/net/tun \

[dpdk-dev] rte_mbuf size for jumbo frame

2016-01-26 Thread Polehn, Mike A
Jumbo frames are generally handled by link lists (but called something else) of mbufs. Enabling jumbo frames for the device driver should enable the right portion of the driver which handles the linked lists. Don't make the mbufs huge. Mike -Original Message- From: dev [mailto:dev-bou

[dpdk-dev] [PATCH v6 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode

2016-01-26 Thread Thomas Monjalon
2016-01-26 15:56, Santosh Shukla: > On Mon, Jan 25, 2016 at 8:59 PM, Thomas Monjalon > wrote: > > 2016-01-21 22:47, Santosh Shukla: > >> On Thu, Jan 21, 2016 at 8:16 PM, Thomas Monjalon > >> wrote: > >> > 2016-01-21 17:34, Santosh Shukla: > >> >> On Thu, Jan 21, 2016 at 4:58 PM, Thomas Monjalon >

[dpdk-dev] DPDK mbuf pool in SR-IOV env and one RX/TX queue

2016-01-26 Thread Bruce Richardson
On Mon, Jan 25, 2016 at 04:15:28PM -0800, Saurabh Mishra wrote: > Hi Bruce -- > > >The sharing of the mbuf pool is not an issue, but sharing of rx/tx queues > is. > >The ethdev queues are not multi-thread safe, so to share a queue between > processes > >or threads, you need to put in locks or othe

[dpdk-dev] [PATCH 15/16] fm10k: use default mailbox message handler for pf

2016-01-26 Thread Bruce Richardson
On Mon, Jan 25, 2016 at 02:31:05AM +, Wang, Xiao W wrote: > Hi Bruce, > > > -Original Message- > > From: Richardson, Bruce > > Sent: Saturday, January 23, 2016 5:32 AM > > To: Wang, Xiao W > > Cc: Chen, Jing D ; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 15/16] fm10k: use defa

[dpdk-dev] [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment

2016-01-26 Thread Tetsuya Mukawa
On 2016/01/25 19:29, Xie, Huawei wrote: > On 1/21/2016 7:09 PM, Tetsuya Mukawa wrote: >> +#define PCI_CONFIG_ADDR(_bus, _device, _function, _offset) ( \ >> +(1 << 31) | ((_bus) & 0xff) << 16 | ((_device) & 0x1f) << 11 | \ >> +((_function) & 0xf) << 8 | ((_offset) & 0xfc)) > (_function) & 0x

[dpdk-dev] [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment

2016-01-26 Thread Tetsuya Mukawa
On 2016/01/25 19:17, Xie, Huawei wrote: > On 1/21/2016 7:09 PM, Tetsuya Mukawa wrote: >> +static void >> +qtest_handle_one_message(struct qtest_session *s, char *buf) >> +{ >> +int ret; >> + >> +if (strncmp(buf, interrupt_message, strlen(interrupt_message)) == 0) { >> +if (rte_a

[dpdk-dev] [RFC PATCH 5/5] virtio: Extend virtio-net PMD to support container environment

2016-01-26 Thread Tetsuya Mukawa
On 2016/01/25 19:15, Xie, Huawei wrote: > On 1/22/2016 6:38 PM, Tetsuya Mukawa wrote: >> On 2016/01/22 17:14, Xie, Huawei wrote: >>> On 1/21/2016 7:09 PM, Tetsuya Mukawa wrote: virtio: Extend virtio-net PMD to support container environment The patch adds a new virtio-net PMD configur

[dpdk-dev] rte_mbuf size for jumbo frame

2016-01-26 Thread Lawrence MacIntyre
Saurabh: It sounds like you benchmarked Apache using Jumbo Packets, but not the DPDK app using large mbufs. Those are two entirely different issues. You should be able to write your packet inspection routines to work with the mbuf chains, rather than copying them into a larger buffer (although

[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

2016-01-26 Thread Van Haaren, Harry
> From: Qiu, Michael > > Whatever work the secondary was performing (in its own address space) > > won't be directly changed by the primary being killed, because the > > shared config and hugepages stay (EAL "cleans up" when the primary > > is re-launched, not on quit). > > OK, when primary quit

[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

2016-01-26 Thread Bruce Richardson
On Mon, Jan 25, 2016 at 11:44:59AM +, Van Haaren, Harry wrote: > > From: Richardson, Bruce > > The details of what the config file is should largely be hidden from the > > user > > IMHO. > > Agreed, however hiding it totally removes the flexibility of waiting for a > primary > that is starti

[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

2016-01-26 Thread Qiu, Michael
On 1/26/2016 5:04 PM, Van Haaren, Harry wrote: >> From: Qiu, Michael >> On 1/25/2016 7:51 PM, Van Haaren, Harry wrote: >>> Not really, the secondary process will need some CPU, >>> however it can sleep so it doesn't have to use 100% of it. >>> It shouldn't be run on a core that is used by the prima

[dpdk-dev] DPDK Community Call - Linux Foundation

2016-01-26 Thread Dave Neary
Hi Tim, On 01/22/2016 07:19 PM, O'Driscoll, Tim wrote: > At the community call we held on governance in December, we agreed that a few > of us would work with the Linux Foundation on a proposal for a light-weight > governance of DPDK. This would include things like management of DPDK events, >

[dpdk-dev] [PATCH v6 1/2] tools: Add support for handling built-in kernel modules

2016-01-26 Thread Kamil Rytarowski
ping? W dniu 20.01.2016 o 10:48, krytarowski at caviumnetworks.com pisze: > From: Kamil Rytarowski > > Currently dpdk_nic_bind.py detects Linux kernel modules via reading > /proc/modules. Built-in ones aren't listed there and therefore they are not > being found by the script. > > Add support for

[dpdk-dev] [PATCH 1/5] vhost: refactor rte_vhost_dequeue_burst

2016-01-26 Thread Xie, Huawei
On 12/3/2015 2:03 PM, Yuanhan Liu wrote: > Signed-off-by: Yuanhan Liu > --- > lib/librte_vhost/vhost_rxtx.c | 287 > +- > 1 file changed, 113 insertions(+), 174 deletions(-) Prefer to unroll copy_mbuf_to_desc and your COPY macro. It prevents us processing

[dpdk-dev] [RFC] eal: add cgroup-aware resource self discovery

2016-01-26 Thread Tan, Jianfeng
Hi Neil, On 1/25/2016 9:46 PM, Neil Horman wrote: > On Mon, Jan 25, 2016 at 02:49:53AM +0800, Jianfeng Tan wrote: ... >> -- >> 2.1.4 >> >> > > This doesn't make a whole lot of sense, for several reasons: > > 1) Applications, as a general rule shouldn't be interrogating the cgroups > interface at

[dpdk-dev] rte_mbuf size for jumbo frame

2016-01-26 Thread Lawrence MacIntyre
Saurabh: Raising the mbuf size will make the packet handling for large packets slightly more efficient, but it will use much more memory unless the great majority of the packets you are handling are of the jumbo size. Using more memory has its own costs. In order to evaluate this design choice

[dpdk-dev] [RFC] eal: add cgroup-aware resource self discovery

2016-01-26 Thread Neil Horman
On Tue, Jan 26, 2016 at 10:22:18AM +0800, Tan, Jianfeng wrote: > > Hi Neil, > > On 1/25/2016 9:46 PM, Neil Horman wrote: > >On Mon, Jan 25, 2016 at 02:49:53AM +0800, Jianfeng Tan wrote: > ... > >>-- > >>2.1.4 > >> > >> > > > >This doesn't make a whole lot of sense, for several reasons: > > > >1)

[dpdk-dev] rte_mbuf size for jumbo frame

2016-01-26 Thread Saurabh Mishra
Hi Lawrence -- >It sounds like you benchmarked Apache using Jumbo Packets, but not the DPDK app using large mbufs. >Those are two entirely different issues. I meant I ran Apache benchmark between two guest VMs through our data-processing VM which is using DPDK. I saw 3x better performance with 1

[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

2016-01-26 Thread Van Haaren, Harry
> From: Qiu, Michael > On 1/25/2016 7:51 PM, Van Haaren, Harry wrote: > > Not really, the secondary process will need some CPU, > > however it can sleep so it doesn't have to use 100% of it. > > It shouldn't be run on a core that is used by the primary > > for packet-forwarding though - that will i

[dpdk-dev] rte_mbuf size for jumbo frame

2016-01-26 Thread Masaru OKI
Hi, 1. Take care of unit size of mempool for mbuf. 2. Call rte_eth_dev_set_mtu() for each interface. Note that some PMDs does not supported change MTU. On 2016/01/26 6:02, Saurabh Mishra wrote: > Hi, > > We wanted to use 10400 bytes size of each rte_mbuf to enable Jumbo frames. > Do you guys

[dpdk-dev] rte_mbuf size for jumbo frame

2016-01-26 Thread Saurabh Mishra
Hi, Since we do full content inspection, we will end up coalescing mbuf chains into one before inspecting the packet which would require allocating another buffer of larger size. I am inclined towards larger size mbuf for this reason. I have benchmarked a bit using apache benchmark and we see 3x

[dpdk-dev] [PATCH 0/4] virtio support for container

2016-01-26 Thread Qiu, Michael
On 1/11/2016 2:43 AM, Tan, Jianfeng wrote: > This patchset is to provide high performance networking interface (virtio) > for container-based DPDK applications. The way of starting DPDK apps in > containers with ownership of NIC devices exclusively is beyond the scope. > The basic idea here is to p

[dpdk-dev] [PATCH 0/3] fm10k: enable FTAG based forwarding

2016-01-26 Thread Liu, Yong
Tested-by: Yong Liu - Tested Commit: a38e5ec15e3fe615b94f3cc5edca5974dab325ab - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc version 4.8.3 20140911 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Device RedrockCanyou [8086:15a4] - Default x86_64-native-linuxapp-gcc co

[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

2016-01-26 Thread Qiu, Michael
On 1/25/2016 7:51 PM, Van Haaren, Harry wrote: >> From: Qiu, Michael >> Subject: Re: [dpdk-dev] [PATCH] eal: add function to check if primary proc >> alive >> >> So secondary will waste a whole lcore to do such polling? > Not really, the secondary process will need some CPU, > however it can sleep

[dpdk-dev] [PATCH 2/4] i40e: split function for input set change of hash and fdir

2016-01-26 Thread Wu, Jingjing
> > > > Thanks for your comments. You are correct, I removed the > > I40E_INSET_FLEX_PAYLOAD from valid fdir input set values, and this is > > one reason why I splited function for input set change of hash and and > > it is because all flex payload configuration can be set in struct > > rte_fdir_c

[dpdk-dev] [PATCH 1/3] i40e: enable extended tag

2016-01-26 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, January 25, 2016 5:17 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/3] i40e: enable extended tag > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6win