[dpdk-dev] [PATCH] apps: Added default target in netmap_compat app Makefile

2014-10-01 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- examples/netmap_compat/Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/examples/netmap_compat/Makefile b/examples/netmap_compat/Makefile index d398e5f..52d8086 100644 --- a/examples/netmap_compat/Makefile +++ b/examples/netmap_c

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Hiroshi Shimamoto
> Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > recv/xmit > > On Wed, Oct 01, 2014 at 09:12:44AM +, Hiroshi Shimamoto wrote: > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > > recv/xmit > > > > > > On Tue, Sep 30, 2014 at 11:52:00PM +0

[dpdk-dev] [PATCH] pmd: Fixed compilation error due to old RTE_DRV_LOG when bypass=y

2014-10-01 Thread Pablo de Lara
RTE_DRV_LOG macro has changed, so now it requires at least 2 arguments, which have been added in ixgbe_bypass, specifying log type, to fix compilation error Signed-off-by: Pablo de Lara --- lib/librte_pmd_ixgbe/ixgbe_82599_bypass.c | 10 +- lib/librte_pmd_ixgbe/ixgbe_bypass.c |

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Neil Horman
On Thu, Oct 02, 2014 at 02:07:09AM +, Hiroshi Shimamoto wrote: > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > recv/xmit > > > > On Wed, Oct 01, 2014 at 11:33:23PM +, Hiroshi Shimamoto wrote: > > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add bran

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 11:33:23PM +, Hiroshi Shimamoto wrote: > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > recv/xmit > > > > On Wed, Oct 01, 2014 at 09:12:44AM +, Hiroshi Shimamoto wrote: > > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add bran

[dpdk-dev] [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled

2014-10-01 Thread Matthew Hall
On Thu, Oct 02, 2014 at 10:43:52AM +0900, Tetsuya Mukawa wrote: > I haven't known the options. Thanks. > Anyway, I understand I shouldn't change link order, but should check why > '--start-group/--end-group' doesn't work on my environment. > I will describe more in the email for Thomas. > > Regard

[dpdk-dev] RFC on changing cmdline_set_prompt()

2014-10-01 Thread Wiles, Roger Keith
I was needing cmdline_set_prompt(struct cmdline * cl, const char * prompt) to be more dynamic with the prompt. What I would like to be able to do is change the prompt on the fly in my Pktgen-DPDK application. The reason is I have added some limited ANSI color support and would like to remove t

[dpdk-dev] [PATCH v3] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.

2014-10-01 Thread Wiles, Roger Keith
When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang compiler an error occurs, because ifdefed code now includes GCC pragmas. GCC 4.4 is when push_options and pop_options pragma show up. Rework to include Thomas?s suggestion to drop push/pop pragma directives for ignore/error directiv

[dpdk-dev] [PATCH 4/4] docs: Add ABI documentation

2014-10-01 Thread Sergio Gonzalez Monroy
Acked-by: Sergio Gonzalez Monroy On Mon, Sep 15, 2014 at 03:23:51PM -0400, Neil Horman wrote: > Adding a document describing rudimentary ABI policy and adding notice space > for > any deprecation announcements > > Signed-off-by: Neil Horman > CC: Thomas Monjalon > CC: "Richardson, Bruce" > -

[dpdk-dev] [PATCH v2] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.

2014-10-01 Thread Wiles, Roger Keith
Thomas, I will submit a v3 patch in a few minutes. On Oct 1, 2014, at 9:57 AM, Wiles, Roger Keith wrote: > Hi Thomas, > > Changing the macros to: > > #ifdef RTE_LIBRTE_MEMPOOL_DEBUG > #ifndef __INTEL_COMPILER > #pragma GCC diagnostic ignored "-Wcast-qual" > #endif > . > . > #ifndef __INTEL_CO

[dpdk-dev] [PATCH v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 12:01:10PM -0400, Neil Horman wrote: > On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > > > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > > > > 2014-09-28 08:27, Neil Hor

[dpdk-dev] [PATCH v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > > 2014-09-28 08:27, Neil Horman: > > > On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger Keith wrote: > > > > Check the FILE *f and rte_mempool *mp pointers for NUL

[dpdk-dev] [PATCH v3] distributor_app: new sample app

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 10:56:20AM -0400, Neil Horman wrote: > On Wed, Oct 01, 2014 at 02:47:00PM +, Pattan, Reshma wrote: > > > > > > > -Original Message- > > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > > Sent: Tuesday, September 30, 2014 2:40 PM > > > To: Richardson, B

[dpdk-dev] IVSHMEM documentation

2014-10-01 Thread Gray, Mark D
> > Hi, > > I want to run dpdk l2fwd-ivshmem application. I could not find any > documentation on it. While digging the forum I found that I need to have > memnic-pmd installed(http://dpdk.org/doc/memnic-pmd) . But I am not > sure where do I download memnic-pmd. I am using dpdk-1.7.1 > > Can any

[dpdk-dev] [PATCH v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-10-01 Thread Wiles, Roger Keith
On Oct 1, 2014, at 10:43 AM, Bruce Richardson wrote: > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: >> On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: >>> 2014-09-28 08:27, Neil Horman: On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger Keith wrote: >>>

[dpdk-dev] [PATCH v4] distributor_app: gracefull shutdown of tx/rx threads on SIGINT

2014-10-01 Thread Thomas Monjalon
> *Handled gracefull shutdown of rx and tx threads upon SIGINT. > *Gracefull shutdown of worker threads will be handled in >future enhancements. > > Signed-off-by: Reshma Pattan You have sent a patch which depends of the previous one, right? It's OK but for next time, p

[dpdk-dev] [PATCH v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-10-01 Thread Thomas Monjalon
2014-09-28 08:27, Neil Horman: > On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger Keith wrote: > > Check the FILE *f and rte_mempool *mp pointers for NULL and > > return plus print out a message if RTE_LIBRTE_MEMPOOL_DEBUG is enabled. > > > > Signed-off-by: Keith Wiles > > I'm fine with th

[dpdk-dev] [PATCH v5] distributor_app: new sample app

2014-10-01 Thread reshmapa
From: Reshma Pattan A new sample app that shows the usage of the distributor library. This app works as follows: * An RX thread runs which pulls packets from each ethernet port in turn and passes those packets to worker using a distributor component. * The workers take the packets in turn, and

[dpdk-dev] [PATCH v3] alarms: Change alarm cancel function to be thread-safe

2014-10-01 Thread Pawel Wodkowski
v3: Set rte_errno inside rte_alarm_cancel() to inform caller about canceling result. v2: Eliminate a race between rte_alarm_set() used in context of executing callback function and other threads that use rte_alarm_cancel(). Signed-off-by: Pawel Wodkowski --- lib/librte_eal/common/include/rt

[dpdk-dev] [PATCH] i40e: fix i40e_reset_tx_queue cmd_type_offset_bsz init

2014-10-01 Thread Jim Harris
Fix the descriptor initialization loop, so that it initializes the i40e_tx_desc::cmd_type_offset_bsz for the correct index into the tx_ring array. Previously it would use the index once to initialize the txd local variable, then again when setting cmd_type_offset_bsz. Signed-off-by: Jim Harris -

[dpdk-dev] [PATCH 0/4] Add DSO symbol versioning to support backwards compatibility

2014-10-01 Thread Neil Horman
On Fri, Sep 26, 2014 at 10:45:49AM -0400, Neil Horman wrote: > On Fri, Sep 26, 2014 at 12:41:33PM +0200, Thomas Monjalon wrote: > > Hi Neil, > > > > 2014-09-24 14:19, Neil Horman: > > > Ping Thomas. I know you're busy, but I would like this to not fall off > > > anyones > > > radar. You alluded

[dpdk-dev] [PATCH v2] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.

2014-10-01 Thread Thomas Monjalon
2014-09-28 05:30, Wiles, Roger Keith: > When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang > compiler an error occurs, because ifdefed code now includes GCC pragmas. > > GCC 4.4 is when push_options and pop_options pragma show up. > > Signed-off-by: Keith Wiles [...] > -#ifndef __IN

[dpdk-dev] [PATCH v2] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.

2014-10-01 Thread Wiles, Roger Keith
Hi Thomas, Changing the macros to: #ifdef RTE_LIBRTE_MEMPOOL_DEBUG #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wcast-qual" #endif . . #ifndef __INTEL_COMPILER #pragma GCC diagnostic error "-Wcast-qual" #endif Works and is a good solution. I normally do not like negative ?ifndef?

[dpdk-dev] [PATCH v3] distributor_app: new sample app

2014-10-01 Thread Pattan, Reshma
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Tuesday, September 30, 2014 2:40 PM > To: Richardson, Bruce > Cc: Pattan, Reshma; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] distributor_app: new sample app > > On Tue, Sep 30, 2014 at 01:18:28PM

[dpdk-dev] [PATCH v4] distributor_app: gracefull shutdown of tx/rx threads on SIGINT

2014-10-01 Thread reshmapa
From: Reshma Pattan *Handled gracefull shutdown of rx and tx threads upon SIGINT. *Gracefull shutdown of worker threads will be handled in future enhancements. Signed-off-by: Reshma Pattan --- examples/distributor_app/main.c | 12 ++-- 1 files changed

[dpdk-dev] [PATCH v2] librte_pmd_null: Add null PMD

2014-10-01 Thread muk...@igel.co.jp
From: Tetsuya Mukawa 'null PMD' is a driver of the virtual device particulary designed to measure performance of DPDK PMDs. When an application call rx, null PMD just allocates mbufs and returns those. Also tx, the PMD just frees mbufs. The PMD has following options. - size: specify packe size a

[dpdk-dev] [PATCH v2] PMD for performance measurement

2014-10-01 Thread muk...@igel.co.jp
From: Tetsuya Mukawa Hi, Here are patches to add the new PMD like '/dev/null'. This PMD is a driver for virtual device. When an application call rx, it just allocates mbufs and returns those. Also tx, it just frees mbufs. Main purpose of the PMD is measuring rough throughputs of a VDEV PMD. To

[dpdk-dev] [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled

2014-10-01 Thread Thomas Monjalon
2014-10-01 06:50, Neil Horman: > On Wed, Oct 01, 2014 at 01:27:03PM +0900, mukawa at igel.co.jp wrote: > > When CONFIG_RTE_BUILD_SHARED_LIB is enabled, linking errors occured > > while compiling. It seems those errors are caused by wrong link order > > of some libraries. The patch fixes it like fol

[dpdk-dev] [PATCH] virtio: Fix vring entry number issue

2014-10-01 Thread Olivier MATZ
Hello, On 09/04/2014 08:34 AM, Ouyang Changchun wrote: > Fix one issue in virtio TX: it needs one more vring entry to hold > the virtio header when transmitting packets, it is used later to > determine whether to free more entries from used vring. > > Signed-off-by: Changchun Ouyang > Reviewed-by

[dpdk-dev] [PATCH v4] distributor_app: gracefull shutdown of tx/rx threads on SIGINT

2014-10-01 Thread Pattan, Reshma
Self-NAK. Reason: Incomplete patch. Will send updated next version soon. -Original Message- From: Pattan, Reshma Sent: Wednesday, October 1, 2014 2:34 PM To: dev at dpdk.org Cc: Pattan, Reshma Subject: [PATCH v4] distributor_app: gracefull shutdown of tx/rx threads on SIGINT From: Resh

[dpdk-dev] [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled

2014-10-01 Thread muk...@igel.co.jp
From: Tetsuya Mukawa When CONFIG_RTE_BUILD_SHARED_LIB is enabled, linking errors occured while compiling. It seems those errors are caused by wrong link order of some libraries. The patch fixes it like following. 1. librte_eal 2. librte_malloc 3. librte_mempool 4. librte_ring 5. librte_pmd_bond

[dpdk-dev] [PATCH 1/4 v4] compat: Add infrastructure to support symbol versioning

2014-10-01 Thread Sergio Gonzalez Monroy
Acked-by: Sergio Gonzalez Monroy On Tue, Sep 30, 2014 at 11:18:00AM -0400, Neil Horman wrote: > Add initial pass header files to support symbol versioning. > > --- > Change notes > v2) > * Fixed ifdef in rte_compat.h to test for RTE_BUILD_SHARED_LIB instead of the > non-existant RTE_SYMBOL_VERSI

[dpdk-dev] [PATCH 3/4] Add library version extenstion

2014-10-01 Thread Sergio Gonzalez Monroy
Acked-by: Sergio Gonzalez Monroy On Mon, Sep 15, 2014 at 03:23:50PM -0400, Neil Horman wrote: > To differentiate libraries that break ABI, we add a library version number > suffix to the library, which must be incremented when a given libraries ABI is > broken. This patch enforces that addition,

[dpdk-dev] [PATCH 2/4] Provide initial versioning for all DPDK libraries

2014-10-01 Thread Sergio Gonzalez Monroy
On Mon, Sep 15, 2014 at 03:23:49PM -0400, Neil Horman wrote: > Add linker version script files to each DPDK library to put a stake in the > ground from which we can start cleaning up API's > > Signed-off-by: Neil Horman > CC: Thomas Monjalon > CC: "Richardson, Bruce" > --- > lib/librte_acl/Mak

[dpdk-dev] Huge Pages.

2014-10-01 Thread Alex Markuze
Hi, How well does DPDK play with other applications using huge pages? Looking at eal_init/eal_hugepage_info_init it seems that DPDK will try to grab All available huge pages. Is there an existing way to limit the number of huge pages taken ? My goal is to be able to run several applications each w

[dpdk-dev] [PATCH v3] distributor_app: new sample app

2014-10-01 Thread Neil Horman
> > > > > > 1)I had sent v5 patch which handles graceful shutdown of rx and tx > > > threads upon SIGINT > > I see it and will take a look shortly, thanks. > > > > > 2)Worker thread graceful shutdown was not handled as of now as it needs > > > some change in lcore_worker logic , which will be d

[dpdk-dev] [PATCH v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > > > 2014-09-28 08:27, Neil Horman: > > > > On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger K

[dpdk-dev] [PATCH] virtio: fix crash if VIRTIO_NET_F_CTRL_VQ is not negotiated

2014-10-01 Thread Thomas Monjalon
2014-09-29 18:09, Damjan Marion: > On 17 Sep 2014, at 09:32, Olivier MATZ wrote: > > On 09/12/2014 12:25 AM, damarion at cisco.com wrote: > > > If VIRTIO_NET_F_CTRL_VQ is not negotiated hw->cvq will be NULL > > > > > > Signed-off-by: Damjan Marion > > > --- > > > lib/librte_pmd_virtio/virtio_rx

[dpdk-dev] [PATCH 1/4 v4] compat: Add infrastructure to support symbol versioning

2014-10-01 Thread Sergio Gonzalez Monroy
On Tue, Sep 30, 2014 at 11:18:00AM -0400, Neil Horman wrote: > Add initial pass header files to support symbol versioning. > > --- > Change notes > v2) > * Fixed ifdef in rte_compat.h to test for RTE_BUILD_SHARED_LIB instead of the > non-existant RTE_SYMBOL_VERSIONING > > * Fixed VERSION_SYMBOL m

[dpdk-dev] [PATCH v3] alarms: Change alarm cancel function to be thread-safe

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 03:20:22PM +0100, Pawel Wodkowski wrote: > v3: > Set rte_errno inside rte_alarm_cancel() to inform caller about canceling > result. > > v2: > Eliminate a race between rte_alarm_set() used in context of executing callback > function and other threads that use rte_

[dpdk-dev] [PATCH v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > 2014-09-28 08:27, Neil Horman: > > On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger Keith wrote: > > > Check the FILE *f and rte_mempool *mp pointers for NULL and > > > return plus print out a message if RTE_LIBRTE_MEMPOOL_DEB

[dpdk-dev] [PATCH v3] distributor_app: new sample app

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 02:47:00PM +, Pattan, Reshma wrote: > > > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Tuesday, September 30, 2014 2:40 PM > > To: Richardson, Bruce > > Cc: Pattan, Reshma; dev at dpdk.org > > Subject: Re: [dpdk-dev] [P

[dpdk-dev] [PATCH v3 3/3] app: Used default RX/TX configuration got from dev info in apps

2014-10-01 Thread Pablo de Lara
For apps that were using default rte_eth_rxconf and rte_eth_txconf structures, these have been removed and now they are obtained by calling rte_eth_dev_info_get, just before setting up RX/TX queues. Signed-off-by: Pablo de Lara --- examples/dpdk_qat/main.c | 44 ++

[dpdk-dev] [PATCH v3 2/3] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-01 Thread Pablo de Lara
Many sample apps use duplicated code to set rte_eth_txconf and rte_eth_rxconf structures. This patch allows the user to get a default optimal RX/TX configuration through rte_eth_dev_info get, and still any parameters may be tweaked as wished, before setting up queues. Besides, if a NULL pointer i

[dpdk-dev] [PATCH v3 1/3] ether: Reset whole dev info structure

2014-10-01 Thread Pablo de Lara
To guarantee that RX/TX configuration structures are reseted before modifying them, plus the other dev info fields, dev info structure is zeroed beforehand. Signed-off-by: Pablo de Lara --- lib/librte_ether/rte_ethdev.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [PATCH v3 0/3] Get default RX/TX configuration

2014-10-01 Thread Pablo de Lara
These patches modified the dev info structure to include optimal values for the RX/TX configuration structures (rte_eth_rxconf and rte_eth_txconf), so users can get these configurations and modify or use them directly, to set up RX/TX queues. Besides, most of the apps that were modifying little or

[dpdk-dev] [PATCH v2 1/2] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-01 Thread David Marchand
Hello Pablo, I agree with Bruce comments. I have a single comment: I would have preferred to have a separate patch for the memset() on dev_info (could be the first patch of this patchset). All the more so as it is not detailed in the commit log. Thanks. -- David Marchand On Wed, Oct 1, 2014

[dpdk-dev] [PATCH 2/4] Provide initial versioning for all DPDK libraries

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 12:25:52PM +0100, Sergio Gonzalez Monroy wrote: > On Mon, Sep 15, 2014 at 03:23:49PM -0400, Neil Horman wrote: > > Add linker version script files to each DPDK library to put a stake in the > > ground from which we can start cleaning up API's > > > > Signed-off-by: Neil Hor

[dpdk-dev] [PATCH 1/2] librte_pmd_null: Add null PMD

2014-10-01 Thread Tetsuya Mukawa
(2014/09/30 22:05), Thomas Monjalon wrote: > 2014-09-30 18:56, mukawa at igel.co.jp: >> --- /dev/null >> +++ b/lib/librte_pmd_null/Makefile >> @@ -0,0 +1,58 @@ >> +# BSD LICENSE >> +# >> +# Copyright (C) 2014 Nippon Telegraph and Telephone Corporation. >> +# All rights reserved. >> +# >> +#

[dpdk-dev] [PATCH 2/2] librte_pmd_null: Enable librte_pmd_null

2014-10-01 Thread Tetsuya Mukawa
(2014/09/30 20:23), Neil Horman wrote: > On Tue, Sep 30, 2014 at 06:56:10PM +0900, mukawa at igel.co.jp wrote: >> From: Tetsuya Mukawa >> >> Signed-off-by: Tetsuya Mukawa >> --- >> mk/rte.app.mk | 4 >> 1 file changed, 4 insertions(+) >> >> diff --git a/mk/rte.app.mk b/mk/rte.app.mk >> inde

[dpdk-dev] Huge Pages.

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 12:21:05PM +0300, Alex Markuze wrote: > Hi, > How well does DPDK play with other applications using huge pages? > Looking at eal_init/eal_hugepage_info_init it seems that DPDK will try to > grab All available huge pages. > > Is there an existing way to limit the number of h

[dpdk-dev] [PATCH v3 0/3] Get default RX/TX configuration

2014-10-01 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, October 01, 2014 10:49 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH v3 0/3] Get default RX/TX configuration > > These patches modified the dev info structure to include optimal values > for th

[dpdk-dev] [PATCH RFC] mbuf: Adjust TX flags to start at bit 32

2014-10-01 Thread Bruce Richardson
On Tue, Sep 30, 2014 at 01:06:32PM -0400, Neil Horman wrote: > On Tue, Sep 30, 2014 at 04:26:02PM +0100, Bruce Richardson wrote: > > This patch takes the existing TX flags defined for the mbuf and shifts > > each uniquely defined one left so that additional RX flags can be > > defined without havin

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Bruce Richardson
On Tue, Sep 30, 2014 at 11:52:00PM +, Hiroshi Shimamoto wrote: > Hi, > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > recv/xmit > > > > On Tue, Sep 30, 2014 at 11:14:40AM +, Hiroshi Shimamoto wrote: > > > From: Hiroshi Shimamoto > > > > > > To reduce instr

[dpdk-dev] [PATCH v2 1/2] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 09:00:57AM +0100, Pablo de Lara wrote: > Many sample apps use duplicated code to set rte_eth_txconf and rte_eth_rxconf > structures. This patch allows the user to get a default optimal RX/TX > configuration > through rte_eth_dev_info get, and still any parameters may be twe

[dpdk-dev] [PATCH v2 1/2] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 09:00:57AM +0100, Pablo de Lara wrote: > Many sample apps use duplicated code to set rte_eth_txconf and rte_eth_rxconf > structures. This patch allows the user to get a default optimal RX/TX > configuration > through rte_eth_dev_info get, and still any parameters may be twe

[dpdk-dev] Huge Pages.

2014-10-01 Thread Choi, Sy Jong
Hi Alex, There option in EAL when you starts DPDK where by configure the amount of memory consume by DPDK. ? -m MB Memory to allocate. See also --socket-mem. ? --socket-mem Set the memory to allocate on specific sockets (use comma separated values). Regards, Choi, Sy Jong Platf

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Hiroshi Shimamoto
> Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > recv/xmit > > On Tue, Sep 30, 2014 at 11:52:00PM +, Hiroshi Shimamoto wrote: > > Hi, > > > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > > recv/xmit > > > > > > On Tue, Sep 30, 2014 at 1

[dpdk-dev] [PATCH v2 2/2] app: Used default RX/TX configuration got from dev info in apps

2014-10-01 Thread Pablo de Lara
For apps that were using default rte_eth_rxconf and rte_eth_txconf structures, these have been removed and now they are obtained by calling rte_eth_dev_info_get, just before setting up RX/TX queues. Signed-off-by: Pablo de Lara --- examples/dpdk_qat/main.c | 44 ++

[dpdk-dev] [PATCH v2 1/2] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-01 Thread Pablo de Lara
Many sample apps use duplicated code to set rte_eth_txconf and rte_eth_rxconf structures. This patch allows the user to get a default optimal RX/TX configuration through rte_eth_dev_info get, and still any parameters may be tweaked as wished, before setting up queues. Besides, if a NULL pointer i

[dpdk-dev] [PATCH v2 0/2] Get default RX/TX configuration

2014-10-01 Thread Pablo de Lara
These patches modified the dev info structure to include optimal values for the RX/TX configuration structures (rte_eth_rxconf and rte_eth_txconf), so users can get these configurations and modify or use them directly, to set up RX/TX queues. Besides, most of the apps that were modifying little or

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Thomas Monjalon
2014-10-01 00:01, Hiroshi Shimamoto: > > The patch is ok. For the commit message, is it better > > "to reduce branch mispredication"? > > yes, that seems more suitable to explain the situation. > > Thomas, what do you think? Can you replace the message when you apply > this patch? Yes, I did it

[dpdk-dev] [PATCH RFC] mbuf: Adjust TX flags to start at bit 32

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 09:47:21AM +0100, Bruce Richardson wrote: > On Tue, Sep 30, 2014 at 01:06:32PM -0400, Neil Horman wrote: > > On Tue, Sep 30, 2014 at 04:26:02PM +0100, Bruce Richardson wrote: > > > This patch takes the existing TX flags defined for the mbuf and shifts > > > each uniquely def

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 09:12:44AM +, Hiroshi Shimamoto wrote: > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > recv/xmit > > > > On Tue, Sep 30, 2014 at 11:52:00PM +, Hiroshi Shimamoto wrote: > > > Hi, > > > > > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 09:44:45AM +0100, Bruce Richardson wrote: > On Tue, Sep 30, 2014 at 11:52:00PM +, Hiroshi Shimamoto wrote: > > Hi, > > > > > Subject: Re: [dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in > > > recv/xmit > > > > > > On Tue, Sep 30, 2014 at 11:14:40AM +, Hir

[dpdk-dev] [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 01:27:03PM +0900, mukawa at igel.co.jp wrote: > From: Tetsuya Mukawa > > When CONFIG_RTE_BUILD_SHARED_LIB is enabled, linking errors occured > while compiling. It seems those errors are caused by wrong link order > of some libraries. The patch fixes it like following. > >

[dpdk-dev] [PATCH 1/4 v4] compat: Add infrastructure to support symbol versioning

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 11:15:31AM +0100, Sergio Gonzalez Monroy wrote: > On Tue, Sep 30, 2014 at 11:18:00AM -0400, Neil Horman wrote: > > Add initial pass header files to support symbol versioning. > > > > --- > > Change notes > > v2) > > * Fixed ifdef in rte_compat.h to test for RTE_BUILD_SHARED

[dpdk-dev] [memnic PATCH v2 0/7] MEMNIC PMD performance improvement

2014-10-01 Thread Hiroshi Shimamoto
Hi Thomas, > Subject: Re: [dpdk-dev] [memnic PATCH v2 0/7] MEMNIC PMD performance > improvement > > > This patchset improves MEMNIC PMD performance. > > > > Hiroshi Shimamoto (7): > > guest: memnic-tester: PMD benchmark in guest > > pmd: remove needless assignment > > pmd: use helper macro

[dpdk-dev] [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit

2014-10-01 Thread Hiroshi Shimamoto
Hi, > Subject: RE: [memnic PATCH v2 6/7] pmd: add branch hint in recv/xmit > > The patch is ok. For the commit message, is it better > "to reduce branch mispredication"? yes, that seems more suitable to explain the situation. Thomas, what do you think? Can you replace the message when you apply