[dpdk-dev] [PATCH] mk: generate internal library dependencies from DEPDIRS-y automatically

2016-06-08 Thread Thomas Monjalon
2016-06-08 14:34, Olivier Matz: > On 06/07/2016 04:40 PM, Wiles, Keith wrote: > > On 6/7/16, 9:19 AM, "dev on behalf of Thomas Monjalon" > dpdk.org on behalf of thomas.monjalon at 6wind.com> wrote: > > > >> 2016-06-07 15:07, Bruce Richardson: > >>> On Tue, Jun 07, 2016 at 03:00:45PM +0200, Thomas

[dpdk-dev] [PATCH v5 0/9] add packet capture framework

2016-06-08 Thread Reshma Pattan
This patch set include below changes 1)Changes to librte_ether. 2)A new library librte_pdump added for packet capture framework. 3)A new app/pdump tool added for packet capturing. 4)Test pmd changes done to initialize packet capture framework. 5)Documentation update. 1)librte_pdump ==

[dpdk-dev] [PATCH v5 3/9] librte_ether: add new fields to rte_eth_dev_info struct

2016-06-08 Thread Reshma Pattan
New fields nb_rx_queues and nb_tx_queues are added to rte_eth_dev_info structure. Changes to API rte_eth_dev_info_get() are done to update these new fields to rte_eth_dev_info object. Signed-off-by: Reshma Pattan --- lib/librte_ether/rte_ethdev.c | 2 ++ lib/librte_ether/rte_ethdev.h

[dpdk-dev] [PATCH v5 4/9] librte_ether: make rte_eth_dev_get_port_by_name rte_eth_dev_get_name_by_port public

2016-06-08 Thread Reshma Pattan
Converted rte_eth_dev_get_port_by_name to a public API. Converted rte_eth_dev_get_name_by_port to a public API. Signed-off-by: Reshma Pattan --- lib/librte_ether/rte_ethdev.c | 4 ++-- lib/librte_ether/rte_ethdev.h | 29 + lib/librte_ether/rte_ether

[dpdk-dev] [PATCH v5 2/9] librte_ether: add new api rte_eth_add_first_rx_callback

2016-06-08 Thread Reshma Pattan
Added new public api rte_eth_add_first_rx_callback to add given callback as head of list. Signed-off-by: Reshma Pattan --- lib/librte_ether/rte_ethdev.c | 35 ++ lib/librte_ether/rte_ethdev.h | 27 ++ lib/librte_ether/rte_

[dpdk-dev] [PATCH v5 9/9] doc: announce ABI change for rte_eth_dev_info structure

2016-06-08 Thread Reshma Pattan
New fields nb_rx_queues and nb_tx_queues will be added to rte_eth_dev_info structure. Changes to API rte_eth_dev_info_get() will be done to update these new fields to rte_eth_dev_info object. Signed-off-by: Reshma Pattan --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1 file changed, 6 inse

[dpdk-dev] [PATCH v5 6/9] app/pdump: add pdump tool for packet capturing

2016-06-08 Thread Reshma Pattan
New tool added for packet capturing on dpdk. This tool supports command line options. This tool runs as secondary process by default. Command line supports various parameters to capture the packets. User should pass on a)port and queue (or) b)pci address and queue (or) c)device name and queue to

[dpdk-dev] [PATCH v5 5/9] lib/librte_pdump: add new library for packet capturing support

2016-06-08 Thread Reshma Pattan
Added new library for packet capturing support. Added public api rte_pdump_init, applications should call this as part of their application setup to have packet capturing framework ready. Added public api rte_pdump_uninit to uninitialize the packet capturing framework. Added public apis rte_pdum

[dpdk-dev] [PATCH v5 8/9] doc: update doc for packet capture framework

2016-06-08 Thread Reshma Pattan
Added programmers guide for librte_pdump. Added sample application guide for app/pdump application. Updated release note for packet capture framework changes. Signed-off-by: Reshma Pattan --- MAINTAINERS | 3 + doc/guides/prog_guide/index.rst | 1 + doc/gu

[dpdk-dev] [PATCH v5 1/9] librte_ether: protect add/remove of rxtx callbacks with spinlocks

2016-06-08 Thread Reshma Pattan
Added spinlocks around add/remove logic of rxtx callbacks to avoid corruption of callback lists in multithreaded context. Signed-off-by: Reshma Pattan --- lib/librte_ether/rte_ethdev.c | 82 +-- 1 file changed, 40 insertions(+), 42 deletions(-) diff --git

[dpdk-dev] [PATCH v5 7/9] app/test-pmd: add pdump initialization uninitialization

2016-06-08 Thread Reshma Pattan
Call rte_pdump_init and rte_pdump_uninit for packet capturing initialization and uninitialization. Signed-off-by: Reshma Pattan --- app/test-pmd/testpmd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 9d11830..645bf50 100644 --- a

[dpdk-dev] [PATCH v3 00/20] DPDK PMD for ThunderX NIC device

2016-06-08 Thread Thomas Monjalon
2016-06-08 18:13, Jerin Jacob: > On Wed, Jun 08, 2016 at 01:30:28PM +0100, Ferruh Yigit wrote: > > Hi Jerin, > > > > In patch subject, as tag, other drivers are using only driver name, and > > Intel drivers also has "driver/base", since base code has some special > > case. For thunderx, what do yo

[dpdk-dev] [PATCH v8 1/3] mempool: support external mempool operations

2016-06-08 Thread Shreyansh Jain
Hi David, Thanks for explanation. I have some comments inline... > -Original Message- > From: Hunt, David [mailto:david.hunt at intel.com] > Sent: Tuesday, June 07, 2016 2:56 PM > To: Shreyansh Jain ; dev at dpdk.org > Cc: olivier.matz at 6wind.com; viktorin at rehivetech.com; > jerin.jac

[dpdk-dev] [PATCH v3 00/20] DPDK PMD for ThunderX NIC device

2016-06-08 Thread Thomas Monjalon
2016-06-08 19:02, Jerin Jacob: > On Wed, Jun 08, 2016 at 02:22:55PM +0100, Bruce Richardson wrote: > > On Wed, Jun 08, 2016 at 06:13:21PM +0530, Jerin Jacob wrote: > > > On Wed, Jun 08, 2016 at 01:30:28PM +0100, Ferruh Yigit wrote: > > > > On 6/7/2016 5:40 PM, Jerin Jacob wrote: > > > > Hi Jerin, >

[dpdk-dev] [PATCH] mbuf: remove inconsistent assert statements

2016-06-08 Thread Adrien Mazarguil
On Wed, Jun 08, 2016 at 01:09:18PM +, Ananyev, Konstantin wrote: > > > > Hi Konstantin, > > > > On Wed, Jun 08, 2016 at 10:34:17AM +, Ananyev, Konstantin wrote: > > > Hi Adrien, > > > > > > > > > > > An assertion failure occurs in __rte_mbuf_raw_free() (called by a few > > > > PMDs) > >

[dpdk-dev] [PATCH] mbuf: remove inconsistent assert statements

2016-06-08 Thread Olivier Matz
Hi Adrien, Konstantin, I'm jumping in this (interesting) discussion. I already talked a bit with Adrien in point to point, and I think its patch is valid. Please see some comments below. On 06/08/2016 03:57 PM, Adrien Mazarguil wrote: > On Wed, Jun 08, 2016 at 01:09:18PM +, Ananyev, Konstant

[dpdk-dev] [PATCH v2 4/8] app/testpmd: reconfigure forwarding after changing portlist

2016-06-08 Thread De Lara Guarch, Pablo
Hi Bernard, > -Original Message- > From: Iremonger, Bernard > Sent: Thursday, May 05, 2016 4:40 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Iremonger, Bernard > Subject: [PATCH v2 4/8] app/testpmd: reconfigure forwarding after changing > portlist > > Set nb_fwd_ports to zero on

[dpdk-dev] [PATCH] app/test: fix bond device name too long

2016-06-08 Thread Jastrzebski, MichalX K
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, June 08, 2016 3:31 PM > To: Jastrzebski, MichalX K > Cc: Iremonger, Bernard ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] app/test: fix bond device name too long > > 2016-06-08 11:5

[dpdk-dev] [PATCH v8 1/3] mempool: support external mempool operations

2016-06-08 Thread Shreyansh Jain
Hi David, Sorry for multiple mails on a patch. I forgot a trivial comment in previous mail. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Hunt > Sent: Friday, June 03, 2016 8:28 PM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; viktorin at r

[dpdk-dev] [PATCH v2] eal: out-of-bounds write

2016-06-08 Thread Sergio Gonzalez Monroy
I missed this patch at the time! On 27/04/2016 12:29, Slawomir Mrozowicz wrote: > Fix issue reported by Coverity. > > Coverity ID 13282: Out-of-bounds write > overrun-local: Overrunning array mcfg->memseg of 256 44-byte elements > at element index 257 using index j. > > Fixes: af75078fece3 ("firs

[dpdk-dev] [PATCH v3 0/7] examples/ip_pipeline: CLI rework and improvements

2016-06-08 Thread Thomas Monjalon
2016-06-08 12:35, Piotr Azarewicz: > Using the latest librte_cmdline improvements, the CLI implementation of the > ip_pipeline application is streamlined and improved, which results in > eliminating thousands of lines of code from the application, thus leading to > code that is easier to maintain a

[dpdk-dev] [PATCH v4] ip_pipeline: configuration file parser cleanup

2016-06-08 Thread Thomas Monjalon
clang compilation fails: examples/ip_pipeline/config_parse.c:852:11: error: implicit conversion from enumeration type 'enum app_pktq_out_type' to different enumeration type 'enum app_pktq_in_type'

[dpdk-dev] [PATCH v3 00/20] DPDK PMD for ThunderX NIC device

2016-06-08 Thread Bruce Richardson
On Wed, Jun 08, 2016 at 03:42:14PM +0200, Thomas Monjalon wrote: > 2016-06-08 18:13, Jerin Jacob: > > On Wed, Jun 08, 2016 at 01:30:28PM +0100, Ferruh Yigit wrote: > > > Hi Jerin, > > > > > > In patch subject, as tag, other drivers are using only driver name, and > > > Intel drivers also has "driv

[dpdk-dev] [PATCH] mempool: fix local cache initialization

2016-06-08 Thread Sergio Gonzalez Monroy
The mempool local cache is not being initialize properly leading to undefined behavior in cases where the allocated memory was used and left with data. Fixes: af75078fece3 ("first public release") Signed-off-by: Sergio Gonzalez Monroy --- lib/librte_mempool/rte_mempool.c | 2 +- 1 file changed,

[dpdk-dev] [PATCH] testpmd: fix typo when closing port

2016-06-08 Thread Pablo de Lara
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") Signed-off-by: Pablo de Lara --- app/test-pmd/testpmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index da74280..2738805 100644 --- a/app/test-pmd/testpm

[dpdk-dev] [PATCH] app/testpmd: log mbuf pool creation

2016-06-08 Thread Thomas Monjalon
2016-06-02 14:49, De Lara Guarch, Pablo: > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > > Enhance the logs related to mbuf pool creation. Display an info level > > log when creating the mbuf, and display the error as a string on failure. > > > > After the patch, we have: > > > > [...

[dpdk-dev] QoS grinder vs pipe wrr_tokens

2016-06-08 Thread Dumitrescu, Cristian
Hi Alexey, The WRR context is compressed to use less memory footprint in order to fit the entire pipe run-time context (struct rte_sched_pipe) into a single cache line for performance reasons. Basically we trade WRR accuracy for performance. For some typical Telco use-cases, the WRR/WFQ accurac

[dpdk-dev] [PATCH v2 0/4] app/test: rework crypto AES unit test

2016-06-08 Thread Fan Zhang
This patchset reworks the crypto AES unit test by introducing a new unified test function. This patchset depends on the following patches/patchsets: "qat: fix phys address of content descriptor" (http://dpdk.org/dev/patchwork/patch/13137/) and "Add AES Counter mode support for AES-NI MB PMD" (htt

[dpdk-dev] [PATCH v2 1/4] app/test: categorize crypto AES test vectors into new file

2016-06-08 Thread Fan Zhang
This patch accumulates crypto AES test vectors into a new header file. Signed-off-by: Fan Zhang --- app/test/test_cryptodev_aes.h | 822 ++ 1 file changed, 822 insertions(+) create mode 100755 app/test/test_cryptodev_aes.h diff --git a/app/test/test_cryp

[dpdk-dev] [PATCH v2 2/4] app/test: add unified crypto aes test

2016-06-08 Thread Fan Zhang
This patch adds a new crypto AES unified test function. Signed-off-by: Fan Zhang --- app/test/Makefile | 1 + app/test/test_cryptodev_aes.c | 663 ++ app/test/test_cryptodev_aes.h | 6 + 3 files changed, 670 insertions(+) create mode 10075

[dpdk-dev] [PATCH v2 4/4] app/test: add crypto AES-CBC-128 HMAC-SHA224 and HMAC-SHA384 unit tests

2016-06-08 Thread Fan Zhang
This patch adds the HMAC-SHA224 and HMAC-SHA384 digest generation and verification tests to crypto Signed-off-by: Fan Zhang --- app/test/test_cryptodev_aes.c | 26 app/test/test_cryptodev_aes.h | 296 ++ 2 files changed, 322 insertions(+) diff --git

[dpdk-dev] [PATCH v2 3/4] app/test: utilize new unified crypto AES test function

2016-06-08 Thread Fan Zhang
This patch replaces the AES test code with new unified crypto AES test function. Signed-off-by: Fan Zhang --- app/test/test_cryptodev.c | 1613 ++-- app/test/test_cryptodev_aes_ctr_test_vectors.h | 257 2 files changed, 122 insertions(+), 1748 delet

[dpdk-dev] [PATCH] doc: clarify port detaching/attaching in testpmd

2016-06-08 Thread Pablo de Lara
Port needs to be stopped and then closed before it can be detached, but the documentation was only saying to close the port. Also, both sections for port detaching and attaching has been reformatted slightly, to show clearly how to use the commands. Signed-off-by: Pablo de Lara --- doc/guides/t

[dpdk-dev] [PATCH v3 01/20] thunderx/nicvf/base: add hardware API for ThunderX nicvf inbuilt NIC

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Adds hardware specific API for ThunderX nicvf inbuilt NIC device under > drivers/net/thunderx/nicvf/base directory. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off

[dpdk-dev] [PATCH] app/test: reduced duration of red_autotest

2016-06-08 Thread Kantecki, Tomasz
Hi Thomas, > > 12s is long for a functional test. We are used to have tests of less than > > 1s. > > Do you think this magnitude order can be achieved for red tests? > > This is a real challenge :) Let me take another look into it. I had a 2nd look into this test suite and reducing time for fun

[dpdk-dev] [PATCH v2] app/testpmd: add packet data pointer prefetch in the forwarding loop

2016-06-08 Thread Thomas Monjalon
2016-06-07 11:19, De Lara Guarch, Pablo: > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > prefetch the next packet data address in advance in forwarding loop > > for performance improvement. > > > > Signed-off-by: Jerin Jacob > > Patch looks good, but there is going to be a con

[dpdk-dev] [PATCH v5 8/9] doc: update doc for packet capture framework

2016-06-08 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Wednesday, June 8, 2016 2:38 PM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH v5 8/9] doc: update doc for packet capture > framework > > Added programmers guide

[dpdk-dev] [PATCH v3 02/20] thunderx/nicvf: add pmd skeleton

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Introduce driver initialization and enable build infrastructure for > nicvf pmd driver. > > By default, It is enabled only for defconfig_arm64-thunderx-* > config as it is an inbuilt NIC device. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czek

[dpdk-dev] [PATCH] mbuf: remove inconsistent assert statements

2016-06-08 Thread Ananyev, Konstantin
Hi Olivier, > > Hi Adrien, Konstantin, > > I'm jumping in this (interesting) discussion. I already talked a > bit with Adrien in point to point, and I think its patch is valid. > Please see some comments below. > > > On 06/08/2016 03:57 PM, Adrien Mazarguil wrote: > > On Wed, Jun 08, 2016 at 0

[dpdk-dev] [PATCH 03/20] thunderx/nicvf: add link status and link update support

2016-06-08 Thread Ferruh Yigit
On 5/7/2016 4:16 PM, Jerin Jacob wrote: > Extended the nicvf_interrupt function to respond > NIC_MBOX_MSG_BGX_LINK_CHANGE mbox message from PF and update > struct rte_eth_link accordingly. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-o

[dpdk-dev] [PATCH v5 1/5] bnx2x: fixed stats get

2016-06-08 Thread Bruce Richardson
On Wed, May 11, 2016 at 05:06:21PM -0700, Rasesh Mody wrote: > Fix stats_get() routine to display drop counters under imissed counter. > > Fixes: 540a211084a7 ("bnx2x: driver core") > > Signed-off-by: Rasesh Mody > Signed-off-by: Harish Patil Patchset applied to dpdk-next-net/rel_16_07 /Bruce

[dpdk-dev] [PATCH v3 04/20] thunderx/nicvf: add get_reg and get_reg_length support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- > drivers/net/thunderx/nicvf_ethdev.c | 30 +

[dpdk-dev] [PATCH v3 05/20] thunderx/nicvf: add dev_configure support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit ... > > +static int nicvf_dev_con

[dpdk-dev] [PATCH] app/test: reduced duration of red_autotest

2016-06-08 Thread Thomas Monjalon
2016-06-08 15:56, Kantecki, Tomasz: > Hi Thomas, > > > > 12s is long for a functional test. We are used to have tests of less than > > > 1s. > > > Do you think this magnitude order can be achieved for red tests? > > > > This is a real challenge :) Let me take another look into it. > > I had a

[dpdk-dev] [PATCH v3 06/20] thunderx/nicvf: add dev_infos_get support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH] testpmd: fix typo when closing port

2016-06-08 Thread Thomas Monjalon
2016-06-08 16:20, Pablo de Lara: > if (rte_atomic16_cmpset(&(port->port_status), > RTE_PORT_HANDLING, RTE_PORT_CLOSED) == 0) > - printf("Port %d can not be set into stopped\n", pi); > + printf("Port %d can not be set into c

[dpdk-dev] [PATCH] doc: clarify port detaching/attaching in testpmd

2016-06-08 Thread Thomas Monjalon
2016-06-08 16:40, Pablo de Lara: > Port needs to be stopped and then closed before it can be detached, > but the documentation was only saying to close the port. > > Also, both sections for port detaching and attaching has been reformatted > slightly, to show clearly how to use the commands. > >

[dpdk-dev] [PATCH] doc: clarify port detaching/attaching in testpmd

2016-06-08 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, June 8, 2016 4:40 PM > To: dev at dpdk.org; Iremonger, Bernard ; > mukawa at igel.co.jp > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH] doc: clarify port detaching/atta

[dpdk-dev] [PATCH] doc/tespmd: fix flow director examples

2016-06-08 Thread Thomas Monjalon
2016-06-08 00:39, Lu, Wenzhuo: > From: Mauricio Vasquez B [mailto:mauricio.vasquezbernal at studenti.polito.it] > > A previous patch modified the CLIs witout updating the examples. > > > > Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") > > > > Signed-off-by: Mauricio Vasquez B >

[dpdk-dev] [PATCH v2] doc: fix code section in abi versioning doc

2016-06-08 Thread Thomas Monjalon
2016-05-20 15:08, John McNamara: > Fix broken cosole directive in the ABI validator section of the > ABI versioning docs. > > Fixes: f1ef9794f9bd ("doc: add ABI guidelines") > > Signed-off-by: John McNamara Applied, thanks

[dpdk-dev] [PATCH v3 11/20] thunderx/nicvf: add stats support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v4] ip_pipeline: configuration file parser cleanup

2016-06-08 Thread Singh, Jasvinder
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, June 8, 2016 3:48 PM > To: Singh, Jasvinder > Cc: dev at dpdk.org; Dumitrescu, Cristian > Subject: Re: [dpdk-dev] [PATCH v4] ip_pipeline: configuration file parser > cleanup > > clang

[dpdk-dev] [PATCH v5 9/9] doc: announce ABI change for rte_eth_dev_info structure

2016-06-08 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Wednesday, June 8, 2016 2:38 PM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH v5 9/9] doc: announce ABI change for > rte_eth_dev_info structure > > New fields nb_

[dpdk-dev] [PATCH v5] ip_pipeline: configuration file parser cleanup

2016-06-08 Thread Jasvinder Singh
This commit adds following changes to configuration file parsing of the ip pipeline application; 1. Parsing routines related to packet queues (pktq_in/out fields in the PIPELINE section) and message queues (msgq_in/out fields of in the MSGQ Section) are updated. In the parsing routines, function

[dpdk-dev] [PATCH] i40e: fix link management

2016-06-08 Thread Bruce Richardson
On Thu, May 12, 2016 at 03:21:04PM +0800, Jingjing Wu wrote: > Previously, there was a known issue "On Intel? 40G Ethernet > Controller stopping the port does not really down the port link." > There were two reasons why the port is always kept up. > 1. Old version Firmware would cause issue when ca

[dpdk-dev] [PATCHv6 7/7] doc: Add prog_guide section documenting pmdinfo script

2016-06-08 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Tuesday, May 31, 2016 2:58 PM > To: dev at dpdk.org > Cc: Neil Horman ; Richardson, Bruce > ; Thomas Monjalon 6wind.com>; > Stephen Hemminger ; Panu Matilainen > > Subject: [dpdk-dev] [PATCH

[dpdk-dev] [PATCH v3 07/20] thunderx/nicvf: add rx_queue_setup/release support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 10/20] thunderx/nicvf: add mtu_set and promiscuous_enable support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH 7/7] mlx5: update documentation part related to features and limitations

2016-06-08 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Nelio Laranjeiro > Sent: Wednesday, June 8, 2016 10:44 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 7/7] mlx5: update documentation part related to > features and limitations > > Signed-off-by: Nelio

[dpdk-dev] [PATCH v3 09/20] thunderx/nicvf: add rss and reta query and update support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 13/20] thunderx/nicvf: add single and multi segment rx functions

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 14/20] thunderx/nicvf: add dev_supported_ptypes_get and rx_queue_count support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- ... > +uint32_t > +nicvf_dev_rx_queue_count(struct rte_

[dpdk-dev] [PATCH] testpmd: fix typo when closing port

2016-06-08 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, June 8, 2016 5:29 PM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] testpmd: fix typo when closing port > > 2016-06-08 16:20, Pablo de L

[dpdk-dev] [PATCH v3 15/20] thunderx/nicvf: add rx queue start and stop support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- > drivers/net/thunderx/nicvf_ethdev.c | 175 > +

[dpdk-dev] [PATCH v3 16/20] thunderx/nicvf: add tx queue start and stop support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki ... > +static inline int > +nicvf_start_tx_queue(struct rte_e

[dpdk-dev] [PATCH v3 18/20] thunderx/config: set max numa node to two

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > --- > config/defconfig_arm64-thunderx-linuxapp-gcc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/config/defconfig_arm64-thunderx-linuxapp-gcc > b/config/defconfig_arm64-thunderx-linuxapp-gcc > index 7940bbd..cc12c

[dpdk-dev] [PATCH] testpmd: fix typo when closing port

2016-06-08 Thread Thomas Monjalon
2016-06-08 17:18, Mcnamara, John: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > 2016-06-08 16:20, Pablo de Lara: > > > if (rte_atomic16_cmpset(&(port->port_status), > > > RTE_PORT_HANDLING, RTE_PORT_CLOSED) == 0) > > > - pr

[dpdk-dev] [PATCH v5] ip_pipeline: configuration file parser cleanup

2016-06-08 Thread Thomas Monjalon
2016-06-08 17:30, Jasvinder Singh: > This commit adds following changes to configuration file parsing of > the ip pipeline application; > > 1. Parsing routines related to packet queues (pktq_in/out fields in the > PIPELINE section) and message queues (msgq_in/out fields of in the MSGQ > Section) a

[dpdk-dev] [PATCH v3] ip_pipeline: add rss support

2016-06-08 Thread Thomas Monjalon
2016-05-30 18:14, Jasvinder Singh: > This patch enables rss (receive side scaling) per network interface > through the configuration file. The user can specify following > parameters in LINK section for enabling the rss feature - rss_qs, > rss_proto_ipv4, rss_proto_ipv6 and ip_proto_l2. > > The "r

[dpdk-dev] [PATCH] mempool: fix local cache initialization

2016-06-08 Thread Olivier Matz
Hi Sergio, Good catch, thanks. The patch looks ok, just few comments on the commit log: On 06/08/2016 05:10 PM, Sergio Gonzalez Monroy wrote: > The mempool local cache is not being initialize properly leading to 'initialize' -> 'initialized' ? and maybe 'is not being' -> 'was not' ? > undefined

[dpdk-dev] [PATCH v2 0/6] ip_pipeline: routing pipeline improvements

2016-06-08 Thread Thomas Monjalon
2016-06-01 15:00, Jasvinder Singh: > This commit adds following features to the routing pipeline; > > 1. Implements the tracking mechanism for the routing pipeline for identifying > the physical nic port where a specific output ports of the routing pipeline > are > eventually connected. Depending

[dpdk-dev] [PATCH 0/2] l2fwd improvements

2016-06-08 Thread Thomas Monjalon
> > Jerin Jacob (2): > > examples/l2fwd: remove number of cycles per second hardcording > > examples/l2fwd: increase mempool cache size for better performance > > Looks ok, small typo in patch 1 subject line "hardcoding" > Acked-by: Reshma Pattan Applied, thanks

[dpdk-dev] [PATCH] examples/l2fwd-jobstats: Fix a typo.

2016-06-08 Thread Thomas Monjalon
2016-04-21 21:16, Rami Rosen: > Signed-off-by: Rami Rosen Applied, thanks

[dpdk-dev] [PATCH] examples/l3fwd: report error when no vector engine is available

2016-06-08 Thread Thomas Monjalon
2016-04-26 13:30, Jan Viktorin: > If no SSE nor NEON are available the l3fwd should complain loudly to quickly > find out the reason. > > Signed-off-by: Jan Viktorin Applied, thanks

[dpdk-dev] [PATCH v2] examples/performance-thread: fix size of destination port ids in l3fwd-thread

2016-06-08 Thread Thomas Monjalon
2016-04-29 18:30, Tomasz Kulasek: > After extending IPv4 next hop in lpm library, size of dst_port array was > changed from 16 to 32 bits in l3fwd-thread example, without modification > of the rest of path written for 16 bit value. > > This patch uses similar approach for fix, like in commit 8353a

[dpdk-dev] [PATCH v2] examples/performance-thread: fix logic in get_dst_port of l3fwd-thread

2016-06-08 Thread Thomas Monjalon
2016-04-29 18:30, Tomasz Kulasek: > This fixes wrong logic in get_dst_port() on lpm path causing unpredictable > return value when ipv4/ipv6 lookup success (return with no value). > > Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") > > Signed-off-by: Tomasz Kulasek Applied, thanks

[dpdk-dev] [PATCH v1 1/1] examples/quota_watermark: fix low_watermark variable placement

2016-06-08 Thread Thomas Monjalon
2016-05-23 14:19, Piotr Azarewicz: > qw app at its init stage reserve 2*sizeof(int) memory space for quota > and low_watermark shared variables, but both apps (qw and qwctl) assign > wrong address for low_watermark pointer (out of reserved memzone space) > due to wrong pointer arithmetic. > > CID

[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-08 Thread Rich Lane
On Mon, Jun 6, 2016 at 8:51 PM, Yuanhan Liu wrote: > > @@ -248,14 +248,9 @@ new_device(struct virtio_net *dev) > internal = eth_dev->data->dev_private; > > #ifdef RTE_LIBRTE_VHOST_NUMA > - ret = get_mempolicy(&newnode, NULL, 0, dev, > - MPOL_F_NODE | MPOL_F_AD

[dpdk-dev] [PATCH 2/3] librte_eal: Import FreeBSD sys/tree.h into librte_eal/common

2016-06-08 Thread Stephen Hemminger
On Thu, 9 Jun 2016 02:53:53 +0200 Nikita Kozlov wrote: > This structure is used inside the rte_lpm6 lib for storing added rules. > It's imported from FreeBSD-10.3 from /usr/include/sys/tree.h, another > solution could have been to use on Linux the version from libbsd but it > would create an ext

<    1   2