[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-12-01 Thread Liu, Jijiang
> -Original Message- > From: Ananyev, Konstantin > Sent: Sunday, November 30, 2014 10:51 PM > To: Olivier MATZ; Liu, Jijiang > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change > three fields > > Hi Olver, > > > -Original Message-

[dpdk-dev] Next Community Call, Tuesday 2nd December, 8:00 AM GMT

2014-12-01 Thread Tetsuya Mukawa
Hi Tim, Could I explain port hotplug function at next conference call? For this explanation, I've prepared slides. could I send a PDF to this ML? That slides describe what is the function, how it works and what is current progress. And it's under 100KB. Regards, Tetsuya (2014/11/22 1:08), O'dris

[dpdk-dev] [PATCH] kni: create KNI interface in current network namespace

2014-12-01 Thread hem...@freescale.com
> 2014-11-21 12:10, Takayuki Usui: > > With this patch, KNI interface (e.g. vEth0) is created in the network > > namespace where the DPDK application is running. > > Otherwise, all interfaces are created in the default namespace in the > > host. > > > > Signed-off-by: Takayuki Usui > > --- > > li

[dpdk-dev] [PATCH] i40e: bug fix of compile error

2014-12-01 Thread Helin Zhang
The compile error will occur as below when set 'RTE_LIBRTE_I40E_16BYTE_RX_DESC=y'. The changes is just to fix it. lib/librte_pmd_i40e/i40e_rxtx.c: In function i40e_rxd_build_fdir: lib/librte_pmd_i40e/i40e_rxtx.c:431:28: error: volatile union has no member named fd lib/librte_pmd_i40e/i40e_rxtx.

[dpdk-dev] Next Community Call, Tuesday 2nd December, 8:00 AM GMT

2014-12-01 Thread Alex Markuze
Hi, I've noticed that there is no bridge for Israel, this time. Could one be set up? On Mon, Dec 1, 2014 at 4:49 AM, Tetsuya Mukawa wrote: > Hi Tim, > > Could I explain port hotplug function at next conference call? > For this explanation, I've prepared slides. could I send a PDF to this ML? > T

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Olivier MATZ
Hi Bruce, Hi Neil, On 11/30/2014 02:05 AM, Neil Horman wrote: > On Fri, Nov 28, 2014 at 03:31:00PM +, Bruce Richardson wrote: >> When compiling with clang, errors were being emitted due to truncation >> of values when assigning to the tx_offload_mask bit fields. >> >> dpdk.org/lib/librte_pmd_i

[dpdk-dev] Next Community Call, Tuesday 2nd December, 8:00 AM GMT

2014-12-01 Thread O'driscoll, Tim
Hi Tetsuya, It would be great if you could explain your work on hotplug at tomorrow's call. I think this is a topic that lots of people will be interested in. I'm not sure of the policy for sending attachments to the list. Perhaps that's something that Thomas can clarify. Can you send the slide

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 10:09:38AM +0100, Olivier MATZ wrote: > Hi Bruce, Hi Neil, > > On 11/30/2014 02:05 AM, Neil Horman wrote: > > On Fri, Nov 28, 2014 at 03:31:00PM +, Bruce Richardson wrote: > >> When compiling with clang, errors were being emitted due to truncation > >> of values when as

[dpdk-dev] Next Community Call, Tuesday 2nd December, 8:00 AM GMT

2014-12-01 Thread O'driscoll, Tim
Hi Alex, Unfortunately GoToMeeting don't provide a local access number for Israel. That means you'll either need to use VoIP via the GoToMeeting desktop client (Windows and Mac only), or else use one of the international access numbers below. Tim From: Alex Markuze [mailto:a...@weka.io] H

[dpdk-dev] [PATCH] mk: fix build 32bits shared libs on 64bits system

2014-12-01 Thread Gonzalez Monroy, Sergio
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, November 28, 2014 3:49 PM > > Hi Sergio, > > 2014-10-22 17:36, Sergio Gonzalez Monroy: > > Incompatible libraries error when building shared libraries for 32bits > > on a 64bits system. > > Fix issue by passing CPU_CFLA

[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-12-01 Thread Olivier MATZ
Hi Jijiang, On 12/01/2014 03:30 AM, Liu, Jijiang wrote: >> After another thought, I think that the way you proposed is a better one. >> I gives us more flexibility: >> let's say for now we'll keep both l2_len and outer_l2_len as 7 bit fields, >> and upper >> layer would have to: >> mb->l2_len =

[dpdk-dev] [PATCH] mk: fix app linking for combined libs

2014-12-01 Thread Gonzalez Monroy, Sergio
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, November 28, 2014 3:56 PM > > 2014-10-23 16:36, Sergio Gonzalez Monroy: > > Building combined shared libraries results in applications being > > linked against separeted/individual and combined libs altogether. > > > > L

[dpdk-dev] RTE mempool "used count" steadily goes down to zero despite steady packet throughput

2014-12-01 Thread Olivier MATZ
Hi Kam, On 11/28/2014 06:34 PM, Kamraan Nasim wrote: > I have ~15Gbps of traffic flowing through two 10GE ports and been profiling > the rte mempool(or rather the pktmbuf mempool) memory consumption: > > I have per lcore caching disabled(cache_size is 0) > > I have noticed that: > - Mempool FREE

[dpdk-dev] [PATCH] i40e: Use one bit flag for all hardware detected RX packet errors

2014-12-01 Thread Olivier MATZ
Hi Helin, On 12/01/2014 02:57 AM, Zhang, Helin wrote: >>> #define PKT_RX_EIP_CKSUM_BAD (0ULL << 0) /**< External IP header >>> checksum error. */ [Helin] Nobody complains it, so we will keep it there, >>> and >> just assign a new value to it. >> >> ok. >> >> But it would be nice to have a better

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Olivier MATZ
Hi Bruce, On 12/01/2014 10:48 AM, Bruce Richardson wrote: >> I found that the following code works: >> >> tx_offload_mask.l2_len |= ~0; >> >> (note the '|=' instead of '=') >> >> I would avoid to create a macro. What do you think? >> >> Regards, >> Olivier > > Nice one - cleanest solution th

[dpdk-dev] [PATCH] ixgbe: change assignation of bitfields to fix clang compilation

2014-12-01 Thread Olivier Matz
Commit 1224decaa44b3dba58e0a524fd0383969929c575 changed the way the bitfields are assigned in ixgbe, example: tx_offload_mask.l2_len = ~0; This result in a compilation error with clang: error: implicit truncation from 'int' to bitfield changes value from -1 to 127 [-Werror,-Wbitfield-co

[dpdk-dev] [RFC] Clang errors with bit fields and setting value of ~0.

2014-12-01 Thread Olivier MATZ
Hi Keith, On 11/29/2014 05:33 PM, Keith Wiles wrote: > error: implicit truncation from 'int' to bitfield > changes value from -1 to 127 [-Werror,-Wbitfield-constant-conversion] > tx_offload_mask.l2_len = ~0; > Converted to use correct bit values >

[dpdk-dev] [PATCH] kni: create KNI interface in current network namespace

2014-12-01 Thread Nicolas Dichtel
Le 01/12/2014 06:45, Hemant at freescale.com a ?crit : >> 2014-11-21 12:10, Takayuki Usui: >>> With this patch, KNI interface (e.g. vEth0) is created in the network >>> namespace where the DPDK application is running. >>> Otherwise, all interfaces are created in the default namespace in the >>> hos

[dpdk-dev] [PATCH] ixgbe: change assignation of bitfields to fix clang compilation

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 11:36:13AM +0100, Olivier Matz wrote: > Commit 1224decaa44b3dba58e0a524fd0383969929c575 changed the way > the bitfields are assigned in ixgbe, example: > > tx_offload_mask.l2_len = ~0; > > This result in a compilation error with clang: > >error: implicit truncation

[dpdk-dev] [PATCH] mk: fix app linking for combined libs

2014-12-01 Thread Thomas Monjalon
2014-12-01 09:57, Gonzalez Monroy, Sergio: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-23 16:36, Sergio Gonzalez Monroy: > > > Building combined shared libraries results in applications being > > > linked against separeted/individual and combined libs altogether. > >

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-12-01 Thread Bruce Richardson
On Sat, Nov 29, 2014 at 12:47:37PM +0530, Sujith Sankar wrote: > This patch fixes the warnings and error reported by clang compiler on Linux. > > Reported-by: Bruce Richardson > Signed-off-by: Sujith Sankar This PMD now compiles up with clang on FreeBSD. The patch seems rather large though, ar

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-12-01 Thread Sujith Sankar (ssujith)
On 01/12/14 4:27 pm, "Bruce Richardson" wrote: >On Sat, Nov 29, 2014 at 12:47:37PM +0530, Sujith Sankar wrote: >> This patch fixes the warnings and error reported by clang compiler on >>Linux. >> >> Reported-by: Bruce Richardson >> Signed-off-by: Sujith Sankar > >This PMD now compiles up with

[dpdk-dev] [PATCH] i40e: bug fix of compile error

2014-12-01 Thread Thomas Monjalon
2014-12-01 15:33, Helin Zhang: > The compile error will occur as below when set > 'RTE_LIBRTE_I40E_16BYTE_RX_DESC=y'. > The changes is just to fix it. > > lib/librte_pmd_i40e/i40e_rxtx.c: In function i40e_rxd_build_fdir: > lib/librte_pmd_i40e/i40e_rxtx.c:431:28: error: volatile union has > no m

[dpdk-dev] [PATCH] mk: fix app linking for combined libs

2014-12-01 Thread Gonzalez Monroy, Sergio
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, December 1, 2014 10:35 AM > > By "disable separated libs", I mean enclose the LDLIBS lines for separated > libs > with ifneq ($(RTE_BUILD_COMBINE_LIBS),y) Using ifeq is more explicit than > inserting LDLIBS= in the midd

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 11:06:43AM +, Sujith Sankar (ssujith) wrote: > > On 01/12/14 4:27 pm, "Bruce Richardson" wrote: > > >On Sat, Nov 29, 2014 at 12:47:37PM +0530, Sujith Sankar wrote: > >> This patch fixes the warnings and error reported by clang compiler on > >>Linux. > >> > >> Reporte

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Neil Horman
On Mon, Dec 01, 2014 at 10:09:38AM +0100, Olivier MATZ wrote: > Hi Bruce, Hi Neil, > > On 11/30/2014 02:05 AM, Neil Horman wrote: > > On Fri, Nov 28, 2014 at 03:31:00PM +, Bruce Richardson wrote: > >> When compiling with clang, errors were being emitted due to truncation > >> of values when as

[dpdk-dev] [PATCH] ixgbe: change assignation of bitfields to fix clang compilation

2014-12-01 Thread Thomas Monjalon
> > Commit 1224decaa44b3dba58e0a524fd0383969929c575 changed the way > > the bitfields are assigned in ixgbe, example: > > > > tx_offload_mask.l2_len = ~0; > > > > This result in a compilation error with clang: > > > >error: implicit truncation from 'int' to bitfield > > changes value f

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 06:18:17AM -0500, Neil Horman wrote: > On Mon, Dec 01, 2014 at 10:09:38AM +0100, Olivier MATZ wrote: > > Hi Bruce, Hi Neil, > > > > On 11/30/2014 02:05 AM, Neil Horman wrote: > > > On Fri, Nov 28, 2014 at 03:31:00PM +, Bruce Richardson wrote: > > >> When compiling with

[dpdk-dev] Problem in running DPDK quick assist technology environment application

2014-12-01 Thread Pankaj Joshi
hi, I have run DPDK qat example . working fine for me . I have written a sample application for coletocreek hardware using QAT apis . 1. The crypto initialization is successfule. 2. API cpaCySymDpInitSession is returning successful. 3. Crypto enque is successful. 4. While doing the flush queue ,

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-12-01 Thread Thomas Monjalon
> > This patch fixes the warnings and error reported by clang compiler on Linux. > > > > Reported-by: Bruce Richardson > > Signed-off-by: Sujith Sankar > > This PMD now compiles up with clang on FreeBSD. The patch seems rather large > though, > are all these changes necessary for clang compila

[dpdk-dev] [PATCH 0/2] Fix clang compilation on FreeBSD

2014-12-01 Thread Bruce Richardson
This patch contains fixes for two compilation errors that occur with clang on FreeBSD. These errors are not seen when compiling with clang on Fedora Linux. Bruce Richardson (2): testpmd: fix out-of-range compiler error testpmd: fix macro check for little endian app/test-pmd/csumonly.c | 2 +-

[dpdk-dev] [PATCH 2/2] testpmd: fix macro check for little endian

2014-12-01 Thread Bruce Richardson
Compiling with clang on FreeBSD gave a compilation error: app/test-pmd/csumonly.c:84:5: fatal error: '__BYTE_ORDER' is not defined, evaluates to 0 [-Wundef] Querying the preprocessor defines show both the define and value used are incorrect. $ clang -dM -E - < /dev/null | grep BYTE \#define __BY

[dpdk-dev] [PATCH 1/2] testpmd: fix out-of-range compiler error

2014-12-01 Thread Bruce Richardson
The definition value for IPPROTO_DIVERT protocol uses a value which is out of range of the uint8_t type, giving clang compiler errors on FreeBSD. app/test-pmd/icmpecho.c:231:7: fatal error: overflow converting case value to switch condition type (258 to 2) [-Wswitch] case IPPROTO_DIVERT:

[dpdk-dev] [PATCH v5 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG

2014-12-01 Thread Pablo de Lara
tx_checksum set function does not use bitmask anymore, but strings Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 21 - 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/

[dpdk-dev] [PATCH v5 0/4] Updated testpmd UG due to latest changes in the app

2014-12-01 Thread Pablo de Lara
TestPMD app has been added new commands, which should be reflected in the user guide. Also, this patchset fixes several typos and changes the location of the description of some commands. Changes in v5: Removed trailing whitespaces Changes in v4: Fixed wrong patchset title Changes in v3: Adde

[dpdk-dev] [PATCH v5 1/4] doc: Added new commands in testpmd UG

2014-12-01 Thread Pablo de Lara
Added info in testpmd functions section for the following commands: - tunnel_filter add - tunnel_filter rm - rx_vxlan_port add - rx_vxlan_port rm - port stop/start queue - set port mac address filter (for VF) - tx_checksum set - tso set - tso show Signed-off-by: Pablo de Lara --- doc/guides/tes

[dpdk-dev] [PATCH v5 3/4] doc: Moved commands in testpmd UG to match testpmd command help order

2014-12-01 Thread Pablo de Lara
Moved commands in testpmd UG to set queue rates to match order in testpmd command help. Created new section "Filters" to match that same section in testpmd UG, and moved all commands related to it there. Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1041 +++

[dpdk-dev] [PATCH v5 4/4] doc: Various document fixes in testpmd UG

2014-12-01 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 65d3168..be935c2 100644 --- a/doc/guides/te

[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-12-01 Thread Ananyev, Konstantin
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, December 01, 2014 9:52 AM > To: Liu, Jijiang; Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change > three fields > > Hi Jijia

[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-12-01 Thread Olivier MATZ
Hi Konstantin, On 12/01/2014 12:58 PM, Ananyev, Konstantin wrote: >> Ether/IP/UDP/vxlan/Ether/IP/UDP/xxx >> m->outer_l2_len = sizeof(ether) >> m->outer_l3_len = sizeof(ip) >> m->l2_len = sizeof(udp) + sizeof(vxlan) + sizeof(ether) > > I think it should be: > m->l2_len = sizeof(vxlan) + size

[dpdk-dev] [PATCH v5 1/4] doc: Added new commands in testpmd UG

2014-12-01 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, December 1, 2014 11:41 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v5 1/4] doc: Added new commands in testpmd UG > > Added info in testpmd functions section for the follow

[dpdk-dev] [PATCH v5 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG

2014-12-01 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, December 1, 2014 11:41 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v5 2/4] doc: Corrected info for tx_checksum set > mask function, in > testpmd UG > > tx_checksum set fu

[dpdk-dev] [PATCH v5 3/4] doc: Moved commands in testpmd UG to match testpmd command help order

2014-12-01 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, December 1, 2014 11:41 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v5 3/4] doc: Moved commands in testpmd UG to match > testpmd > command help order > > Moved commands in

[dpdk-dev] [PATCH v5 4/4] doc: Various document fixes in testpmd UG

2014-12-01 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, December 1, 2014 11:41 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v5 4/4] doc: Various document fixes in testpmd UG > > Signed-off-by: Pablo de Lara Acked-by: Bernard I

[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-12-01 Thread Liu, Jijiang
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, December 1, 2014 8:28 PM > To: Ananyev, Konstantin; Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change > three fields > > Hi Konstan

[dpdk-dev] i40 on dpdk 1.7

2014-12-01 Thread Alex Markuze
Hi, We are currently using dpdk 1.7, and I've seen lots of patches for the i40 pmd adding features and bug fixes. How much functionality for the xl-710 vf exists in dpdk 1.7 Thanks Alex

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Neil Horman
On Mon, Dec 01, 2014 at 11:24:58AM +, Bruce Richardson wrote: > On Mon, Dec 01, 2014 at 06:18:17AM -0500, Neil Horman wrote: > > On Mon, Dec 01, 2014 at 10:09:38AM +0100, Olivier MATZ wrote: > > > Hi Bruce, Hi Neil, > > > > > > On 11/30/2014 02:05 AM, Neil Horman wrote: > > > > On Fri, Nov 28,

[dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change three fields

2014-12-01 Thread Ananyev, Konstantin
Hi lads, > -Original Message- > From: Liu, Jijiang > Sent: Monday, December 01, 2014 1:08 PM > To: Olivier MATZ; Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 1/3] mbuf:add two TX offload flags and change > three fields > > > > > -Original Message-

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 09:25:44AM -0500, Neil Horman wrote: > On Mon, Dec 01, 2014 at 11:24:58AM +, Bruce Richardson wrote: > > On Mon, Dec 01, 2014 at 06:18:17AM -0500, Neil Horman wrote: > > > On Mon, Dec 01, 2014 at 10:09:38AM +0100, Olivier MATZ wrote: > > > > Hi Bruce, Hi Neil, > > > > >

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Neil Horman
On Mon, Dec 01, 2014 at 02:36:46PM +, Bruce Richardson wrote: > On Mon, Dec 01, 2014 at 09:25:44AM -0500, Neil Horman wrote: > > On Mon, Dec 01, 2014 at 11:24:58AM +, Bruce Richardson wrote: > > > On Mon, Dec 01, 2014 at 06:18:17AM -0500, Neil Horman wrote: > > > > On Mon, Dec 01, 2014 at 1

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 10:18:06AM -0500, Neil Horman wrote: > On Mon, Dec 01, 2014 at 02:36:46PM +, Bruce Richardson wrote: > > On Mon, Dec 01, 2014 at 09:25:44AM -0500, Neil Horman wrote: > > > On Mon, Dec 01, 2014 at 11:24:58AM +, Bruce Richardson wrote: > > > > On Mon, Dec 01, 2014 at 0

[dpdk-dev] [PATCH 0/2] Fix clang compilation on FreeBSD

2014-12-01 Thread Thomas Monjalon
> This patch contains fixes for two compilation errors that occur with clang > on FreeBSD. These errors are not seen when compiling with clang on Fedora > Linux. > > Bruce Richardson (2): > testpmd: fix out-of-range compiler error > testpmd: fix macro check for little endian Acked-by: Thomas

[dpdk-dev] Fwd: Avoid vlan tag stripped with I350 VF on VM

2014-12-01 Thread Shian-Tung Wong
My application on a VM needs to deal with multiple VLANS on packets received over I350 using Virtual Function. But I always see the received packets without vlan tag. This is my setup: - host: 3.13.6-031306-generic - guest: 2.6.32-358.el6.x86_64 - dpdk: 1.6 And this is how I set up in the VM

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Neil Horman
On Mon, Dec 01, 2014 at 03:24:32PM +, Bruce Richardson wrote: > On Mon, Dec 01, 2014 at 10:18:06AM -0500, Neil Horman wrote: > > On Mon, Dec 01, 2014 at 02:36:46PM +, Bruce Richardson wrote: > > > On Mon, Dec 01, 2014 at 09:25:44AM -0500, Neil Horman wrote: > > > > On Mon, Dec 01, 2014 at 1

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 11:35:28AM -0500, Neil Horman wrote: > On Mon, Dec 01, 2014 at 03:24:32PM +, Bruce Richardson wrote: > > On Mon, Dec 01, 2014 at 10:18:06AM -0500, Neil Horman wrote: > > > On Mon, Dec 01, 2014 at 02:36:46PM +, Bruce Richardson wrote: > > > > On Mon, Dec 01, 2014 at 0

[dpdk-dev] [BUG] ixgbe vector cannot compile without bulk alloc

2014-12-01 Thread Thomas Monjalon
These 2 configuration options are incompatible: CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC=n CONFIG_RTE_IXGBE_INC_VECTOR=y Building this config gives this error: lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:69:24: error: ?struct igb_rx_queue? has no member named ?fake_mbuf

[dpdk-dev] [PATCH] doc: link bonding related updates to programmers guide

2014-12-01 Thread Declan Doherty
Adding details for link status interrupts and link status polling. Adding details for mode 4 / mode 5 Tidying up rst document to conform to 80 character line limit Adding diagrams to explain bonding modes Signed-off-by: Declan Doherty --- doc/guides/prog_guide/img/bond-mode-0.svg | 638

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Neil Horman
On Mon, Dec 01, 2014 at 04:44:39PM +, Bruce Richardson wrote: > On Mon, Dec 01, 2014 at 11:35:28AM -0500, Neil Horman wrote: > > On Mon, Dec 01, 2014 at 03:24:32PM +, Bruce Richardson wrote: > > > On Mon, Dec 01, 2014 at 10:18:06AM -0500, Neil Horman wrote: > > > > On Mon, Dec 01, 2014 at 0

[dpdk-dev] [BUG] ixgbe vector cannot compile without bulk alloc

2014-12-01 Thread Bruce Richardson
On Mon, Dec 01, 2014 at 06:10:18PM +0100, Thomas Monjalon wrote: > These 2 configuration options are incompatible: > CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC=n > CONFIG_RTE_IXGBE_INC_VECTOR=y > Building this config gives this error: > lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:69:24

[dpdk-dev] Problem in running DPDK quick assist technology environment application

2014-12-01 Thread Jayakumar, Muthurajan
Hi, Checked with the Quick Assist Technology, QAT team. Please find the following recommendation. Can you please submit your question in QAT forum here: https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches While submitting in QAT forum, please furnish the foll

[dpdk-dev] [BUG] ixgbe vector cannot compile without bulk alloc

2014-12-01 Thread Thomas Monjalon
2014-12-01 17:18, Bruce Richardson: > On Mon, Dec 01, 2014 at 06:10:18PM +0100, Thomas Monjalon wrote: > > These 2 configuration options are incompatible: > > CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC=n > > CONFIG_RTE_IXGBE_INC_VECTOR=y > > Building this config gives this error: > > l

[dpdk-dev] [PATCH] ixgbe: fix build with bypass and debug enabled

2014-12-01 Thread Thomas Monjalon
Since commit aae1047905621 ("use the right debug macro"), DEBUGOUT was replaced by PMD_DRV_LOG which requires at least 2 arguments. But the level argument was missing. Commit 7a10de5e27 fixed the logs but not the macros FUNC_PTR_OR_* which are not preprocessed if RTE_LIBRTE_IXGBE_DEBUG_DRIVER is d

[dpdk-dev] Avoid stripping vlan tag with I350 VF on a VM

2014-12-01 Thread Shiantung Wong
My application running on a VM needs to deal with multiple VLANS on packets received over I350 using Virtual Function. But I always see the received packets without vlan tag. This is my setup: - host: 3.13.6-031306-generic - QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.7) - guest:

[dpdk-dev] attachment policy

2014-12-01 Thread Thomas Monjalon
2014-12-01 09:40, O'driscoll, Tim: > I'm not sure of the policy for sending attachments to the list. > Perhaps that's something that Thomas can clarify. There is some basic filtering of attachments. The goal is to not be polluted with useless or harmful attachments. These MIME types are allowed:

[dpdk-dev] [PATCH 0/4]Doc: Patch set to update release notes

2014-12-01 Thread Siobhan Butler
New Features section: - Removed 1.7 New Features - Added 1.8.0 New Features Supported Features section: - Added 1.7 features to Supported Features Known Issues: - Added devices to Known issue "Not all varients of supported NIC types have been used in testing" - Removed known issue

[dpdk-dev] [PATCH 2/4] Doc: Added "New Features" to release notes

2014-12-01 Thread Siobhan Butler
Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/guides/rel_notes/new_features.rst b/doc/guides/rel_notes/new_features.rst index a93aa3c..00895ce 100644 --- a/doc/guides/rel_notes/new_feature

[dpdk-dev] Testpmd with SR-IOV.

2014-12-01 Thread Suresh Vinapamula
Hi I am trying to run latest DPDK on SR-IOV interface in VM environment. Interfaces are detected well in VM environment. When I started traffic through testpmd, it indicates both tx and rx are zero. I tried debugging. Wondering if you could point me some steps which I might be missing? Thanks in

[dpdk-dev] [PATCH 1/4] Doc: Moved 1.7 "New Features" to "Supported Features" for 1.8 in Rel_Notes

2014-12-01 Thread Siobhan Butler
Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 17 - doc/guides/rel_notes/supported_features.rst | 22 ++ 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/doc/guides/rel_notes/new_features.rst b/doc/guides/rel_n

[dpdk-dev] [PATCH 4/4] Doc: Moved known issue 6.29 to resolved issues in Rel Notes

2014-12-01 Thread Siobhan Butler
Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/resolved_issues.rst | 28 1 file changed, 28 insertions(+) diff --git a/doc/guides/rel_notes/resolved_issues.rst b/doc/guides/rel_notes/resolved_issues.rst index f9ddb7f..59355f9 100644 --- a/doc/guides/rel_note

[dpdk-dev] [PATCH 3/4] Doc: Added to known issue 6.10 and removed fixed issue 6.29 from Rel_Notes

2014-12-01 Thread Siobhan Butler
Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/known_issues.rst | 40 +++ 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst index 8ef654a..7dd05cb 100644 --- a/doc/g

[dpdk-dev] [PATCH] ixgbe: fix build with bypass and debug enabled

2014-12-01 Thread David Marchand
On Mon, Dec 1, 2014 at 6:40 PM, Thomas Monjalon wrote: > Since commit aae1047905621 ("use the right debug macro"), > DEBUGOUT was replaced by PMD_DRV_LOG which requires at least > 2 arguments. But the level argument was missing. > > Commit 7a10de5e27 fixed the logs but not the macros FUNC_PTR_OR_

[dpdk-dev] Avoid stripping vlan tag with I350 VF on a VM

2014-12-01 Thread Zhu, Heqing
Did you try to remove the VLAN strip on the PF side? -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shiantung Wong Sent: Monday, December 01, 2014 11:29 AM To: dev at dpdk.org Subject: [dpdk-dev] Avoid stripping vlan tag with I350 VF on a VM My application runni

[dpdk-dev] [PATCH] ixgbe: fix clang compile - remove truncation errors

2014-12-01 Thread Olivier MATZ
Hi Neil, On 12/01/2014 06:16 PM, Neil Horman wrote: >>> [...] >>> >>> Whats the advantage to keeping this warning? >>> >> The advantage is that it does exactly what it's meant to do. If someone goes >> to >> assign l2_len = 128; somewhere, it will throw a warning. If someone goes to >> change >>

[dpdk-dev] Avoid stripping vlan tag with I350 VF on a VM

2014-12-01 Thread Shiantung Wong
How do I do this on PF? On my VM, isn't only VF interface is visible, correct? Thanks for your reply, Shian-Tung On Mon, Dec 1, 2014 at 12:17 PM, Zhu, Heqing wrote: > Did you try to remove the VLAN strip on the PF side? > > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org]

[dpdk-dev] [PATCH] lpm: fix maybe-uninitialized warning when using LTO during compilation

2014-12-01 Thread Dennis Marinus
This patch fixes a maybe-uninitialized warning when compiling DPDK with GCC 4.9 + Link Time Optimization. Signed-off-by: Dennis Marinus --- lib/librte_table/rte_table_lpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_table/rte_table_lpm.c b/lib/librte_table/rte

[dpdk-dev] RTE mempool "used count" steadily goes down to zero despite steady packet throughput

2014-12-01 Thread Kamraan Nasim
Thanks Oliver for the helpful tip, that settles the confusion as to why Free count grows and used shrinks. I've modified the rte_mempool library to maintain atomic pktmbuf malloc and free stats, hopefully that would help pinpoint the leak. Thanks again for your help! --Kam On Mon, Dec 1, 2014 a

[dpdk-dev] [PATCH] i40e: Use one bit flag for all hardware detected RX packet errors

2014-12-01 Thread Zhang, Helin
Hi Olivier > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Friday, November 28, 2014 4:48 PM > To: Zhang, Helin; Ananyev, Konstantin; dev at dpdk.org > Cc: Cao, Waterman; Cao, Min > Subject: Re: [PATCH] i40e: Use one bit flag for all hardware detected R