[dpdk-dev] [PATCH v3 8/8] i40evf: support of updating/querying redirection table

2014-10-22 Thread Helin Zhang
Support of updating/querying redirection table has been added for VF. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 89 1 file changed, 89 insertions(+) v2 changes: * Add support of updating/querying i40e reta of VF. diff --git

[dpdk-dev] [PATCH v3 7/8] ethdev: support of multiple sizes of redirection table

2014-10-22 Thread Helin Zhang
As 40G NIC supports different sizes (128/512/64 entries) of redirection table from that (128 entries) of 1G and 10G NICs, support of multiple sizes of redirection table is needed. It includes, * Redefine 'struct rte_eth_rss_reta' in ethdev. - To 'struct rte_eth_rss_reta_entry64' which contains

[dpdk-dev] [PATCH v3 6/8] i40e: rework of ops of 'dev_infos_get' for both PF and VF

2014-10-22 Thread Helin Zhang
Returning redirection table size has been supported in ops of 'dev_infos_get' for both PF and VF. Default RX/TX configurations of VF can be returned in ops of 'dev_infos_get', while it was missed before. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev.c| 16 +++-

[dpdk-dev] [PATCH v3 5/8] ixgbe: implement ops of 'dev_infos_get' for PF and VF respectively

2014-10-22 Thread Helin Zhang
As more and more information are different between PF and VF, ops of 'dev_infos_get' has been implemented respectively. In addition, returning redirection table size has been supported in it. Signed-off-by: Helin Zhang --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 90

[dpdk-dev] [PATCH v3 4/8] igb: implement ops of 'dev_infos_get' for PF and VF respectively

2014-10-22 Thread Helin Zhang
As more and more information are different between PF and VF, ops of 'dev_infos_get' has been implemented respectively. In addition, new field of 'reta_size' has been added in 'struct rte_eth_dev_info' for returning redirection table size. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v3 3/8] i40e: support of setting hash lookup table size

2014-10-22 Thread Helin Zhang
Add support of setting hash lookup table size according to the hardawre capability. Signed-off-by: Helin Zhang --- lib/librte_ether/rte_ethdev.h | 3 +++ lib/librte_pmd_i40e/i40e_ethdev.c | 14 +- lib/librte_pmd_i40e/i40e_ethdev.h | 1 + 3 files changed, 17 insertions(+), 1

[dpdk-dev] [PATCH v3 2/8] i40evf: code style fix

2014-10-22 Thread Helin Zhang
Fix several code style issues. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev_vf.c b/lib/librte_pmd_i40e/i40e_ethdev_vf.c index fa838e6..3997ddb 100644 ---

[dpdk-dev] [PATCH v3 1/8] app/testpmd: code style fix

2014-10-22 Thread Helin Zhang
Fix several code style issues. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 28 +++- app/test-pmd/config.c | 2 +- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 0b972f9..9de574d 100644

[dpdk-dev] [PATCH v3 0/8] support of multiple sizes of redirection table

2014-10-22 Thread Helin Zhang
As e1000, ixgbe and i40e hardware use different sizes of redirection table in PF or VF, ethdev and PMDs need to be reworked to support multiple sizes of that table. In addition, commands in testpmd also need to be reworked to support these changes. v2 changes: * Reorganized the patches. * Added

[dpdk-dev] development/integration branch?

2014-10-22 Thread Stephen Hemminger
On Wed, 22 Oct 2014 00:00:58 -0700 Matthew Hall wrote: > What I think git in general and DPDK in particular are missing is, they have > a > tradition tags for releases, however I think this is broken because you can't > easily append more stuff to tages. In git tags and branches are almost

[dpdk-dev] [PATCH 1/5] vmxnet3: Fix VLAN Rx stripping

2014-10-22 Thread Stephen Hemminger
On Mon, 13 Oct 2014 18:42:18 + Yong Wang wrote: > Are you referring to the patch as a whole or your comment is about the reset > of vlan_tci on the "else" (no vlan tags stripped) path? I am not sure I get > your comments here. This patch simply fixes a bug on the rx vlan stripping >

[dpdk-dev] [dpdk-announce] DPDK Features for Q1 2015

2014-10-22 Thread Luke Gorrie
Hi Tim, On 22 October 2014 15:48, O'driscoll, Tim wrote: > 2.0 (Q1 2015) DPDK Features: > Bifurcated Driver: With the Bifurcated Driver, the kernel will retain > direct control of the NIC, and will assign specific queue pairs to DPDK. > Configuration of the NIC is

[dpdk-dev] Possible bug in eal_pci pci_scan_one

2014-10-22 Thread Matthew Hall
Hi guys, Could anybody comment on my observations about the PCI scan process and how to improve the NUMA compatibility, etc.? The original bug contains a bogus commit history (fake source for commit, fake timestamp, no detail about what was done in the commit). I also don't have a list of

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

2014-10-22 Thread Sergio Gonzalez Monroy
Incompatible libraries error when building shared libraries for 32bits on a 64bits system. Fix issue by passing CPU_CFLAGS to CC when LINK_USING_CC is enabled. Signed-off-by: Sergio Gonzalez Monroy --- mk/rte.lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] DPDK Features for Q1 2015

2014-10-22 Thread Thomas Monjalon
Thanks Tim for sharing your plan. It's really helpful to improve community collaboration. I'm sure it's going to generate some interesting discussions. Please take care to discuss such announce on dev list only. The announce at dpdk.org list is moderated to keep a low traffic. I would like to

[dpdk-dev] [PATCH v2 3/3] testpmd: Commands to test ctrl_pkt filter

2014-10-22 Thread Jingjing Wu
Add commands to test control packet filter - add/delete control packet filter Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 149 + 1 file changed, 149 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index

[dpdk-dev] [PATCH v2 2/3] i40e: ctrl_pkt filter implementation in i40e pmd driver

2014-10-22 Thread Jingjing Wu
implement control packet filter, support add and delete operations. It can assign packets to specific queue or vsi by filtering with mac address and ethertype or only ethertype on both rx and tx directions. Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 138

[dpdk-dev] [PATCH v2 1/3] ethdev: define ctrl_pkt filter type and its structure

2014-10-22 Thread Jingjing Wu
define new filter type and its structure - RTE_ETH_FILTER_CTRL_PKT - struct rte_ctrl_pkt_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 24 1 file changed, 24 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h

[dpdk-dev] [PATCH v2 0/3] support control packet filter on fortville

2014-10-22 Thread Jingjing Wu
The patch set enables control packet filter on Fortville. Control packet filter can assign packet to specific destination by filtering with mac address and ethertype or only ethertype. v2 changes: - strip the filter APIs definitions from this patch set Jingjing Wu (3): ethdev: define ctrl_pkt

[dpdk-dev] [PATCH v3 0/6] Update libs build process

2014-10-22 Thread Gonzalez Monroy, Sergio
Dropping patch set. Thanks, Sergio > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Gonzalez Monroy, > Sergio > Sent: Tuesday, October 21, 2014 10:44 AM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/6] Update libs build

[dpdk-dev] [PATCH v2] bond: disabling broadcast mode when dpdk is built without RTE_MBUF_REFCNT

2014-10-22 Thread Thomas Monjalon
> --V2: Adds warning message to makefile, to notify user of disabling of > broadcast > mode > > Link bonding broadcast mode requires refcnt parameter in the mbuf struct to > allow efficient transmission of duplicated mbufs on slave ports. > > This patch disables broadcast mode when the

[dpdk-dev] DPDK Features for Q1 2015

2014-10-22 Thread Zhu, Heqing
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Liang, Cunming > Sent: Wednesday, October 22, 2014 8:06 AM > To: Zhou, Danny; Thomas Monjalon; O'driscoll, Tim > Cc: dev at dpdk.org; Fastabend, John R; Ronciak, John > Subject: Re: [dpdk-dev] DPDK Features

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-22 Thread Thomas Monjalon
2014-10-22 12:47, Liu, Jijiang: > > > Currently, A PF associated to a port, right? What tunnel type should > > > be supported in a PF, which is required we configure it. > > > Tunneling packet is encapsulation packet, in terms of VxLAN, packet > > > format is outer L2 header+ outer L3 header

[dpdk-dev] Why do we need iommu=pt?

2014-10-22 Thread Zhou, Danny
Echo Cunming and we did not see obvious performance impact when iommu = pt is used despite of igb_uio or VFIO is used. Alex, The map and umap operation for each e/ingress packet is done by hw rather than sw, so performance impact to DPDK should be minimum in my mind. If it actually impacst

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-22 Thread Gonzalez Monroy, Sergio
> -Original Message- > From: Matthew Hall [mailto:mhall at mhcomputing.net] > Subject: Re: [dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud > Images > > > - we do not want to build against static DPDK libraries as this would > > result in duplicated code in librte_pmd_virtio and

[dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx cycles/packet

2014-10-22 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Wednesday, October 22, 2014 3:53 PM > To: Neil Horman; Liang, Cunming > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx >

[dpdk-dev] DPDK Features for Q1 2015

2014-10-22 Thread Liang, Cunming
> > > > This design allows to keep the configuration code in one place: the kernel. > > In the meantime, we are trying to add a lot of code to configure the NICs, > > which looks to be a duplication of effort. > > Why should we have two ways of configuring e.g. flow director? [Liang, Cunming] The

[dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx cycles/packet

2014-10-22 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Wednesday, October 22, 2014 3:03 PM > To: Liang, Cunming > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx > cycles/packet > > On Tue, Oct

[dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx cycles/packet

2014-10-22 Thread Liang, Cunming
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Wednesday, October 22, 2014 10:03 PM > To: Liang, Cunming > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx > cycles/packet > > On Tue, Oct 21, 2014 at

[dpdk-dev] DPDK Features for Q1 2015

2014-10-22 Thread Zhou, Danny
Thomas, In terms of the bifurcated driver, it is actually the same thing. Specifically, the bifurcated driver PMD in DPDK depends on kernel code(af_packet and 10G/40G NIC) changes. Once the kernel patches are upstreamed, the corresponding DPDK PMDs patches will be submitted to dpdk.org. John

[dpdk-dev] [PATCH v2] bond: disabling broadcast mode when dpdk is built without RTE_MBUF_REFCNT

2014-10-22 Thread Declan Doherty
--V2: Adds warning message to makefile, to notify user of disabling of broadcast mode Link bonding broadcast mode requires refcnt parameter in the mbuf struct to allow efficient transmission of duplicated mbufs on slave ports. This patch disables broadcast mode when the complication option

[dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of VxLAN filter

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 22, 2014 5:25 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of > VxLAN filter > > 2014-10-22 06:45, Liu,

[dpdk-dev] [dpdk-announce] DPDK Features for Q1 2015

2014-10-22 Thread O'driscoll, Tim
We're starting to plan our DPDK features for next year. We're planning to have a DPDK 2.0 release at the end of March, and we'd like to inform the community of the features that we hope to submit to that release. The current list of features, along with brief descriptions, is included below.

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 22, 2014 5:52 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet > identification API in librte_ether > >

[dpdk-dev] [PATCH v2] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Marc Sune
Fix compilation warning 'missing-field-initializers' for some GCC and clang versions introduced in commit 0c6bc8e due to the use of C89/C90 initializers. Using C99-style initializers Signed-off-by: Marc Sune --- lib/librte_kni/rte_kni.c |5 - 1 file changed, 4 insertions(+), 1

[dpdk-dev] [dpdk-announce] DPDK Features for Q1 2015

2014-10-22 Thread Matthew Hall
On Wed, Oct 22, 2014 at 01:48:36PM +, O'driscoll, Tim wrote: > Single Virtio Driver: Merge existing Virtio drivers into a single > implementation, incorporating the best features from each of the existing > drivers. Tim, There is a lot of good stuff in there. Specifically, in the

[dpdk-dev] [PATCH v2] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n

2014-10-22 Thread Pablo de Lara
rte_ipv4_fragment_packet() and rte_ipv6_fragment packet() call rte_pktmbuf_attach() to attach the segment of the original packet to the segment of the new fragmented one. Such function is not declared if RTE_MBUF_REFCNT is disabled, as it needs to call rte_mbuf_refcnt_update, not declared either.

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Thomas Monjalon
2014-10-22 11:49, Marc Sune: > On 22/10/14 10:50, Thomas Monjalon wrote: > > 2014-10-22 10:42, Marc Sune: > >> The mutex needs to be initialized to RTE_SPINLOCK_INITIALIZER(0) too, or > >> move the initialization of the mutex to rte_kni_init(). > > RTE_SPINLOCK_INITIALIZER is { 0 } > > By

[dpdk-dev] [PATCH 2/2] ixgbe: always perform vec RX setup if vpmd enabled

2014-10-22 Thread Bruce Richardson
If the vector pmd option is turned on in the compile time config file, then always call the vector rxq setup, since we can now use the vector PMD for receiving jumbo frames that need chained mbufs, a.k.a scattered packets. Up till now, this function was not being called when receiving scattered

[dpdk-dev] [PATCH 1/2] ixgbe: remove static qualifier for thread safety

2014-10-22 Thread Bruce Richardson
Remove the "static" prefix to the template mbuf variable in ixgbe_rxq_vec_setup function. This will then allow different threads to initialize different RX queues at the same time, without one overwriting the other's data. Signed-off-by: Bruce Richardson ---

[dpdk-dev] [PATCH 0/2] ixgbe: vector pmd fixes

2014-10-22 Thread Bruce Richardson
This patch set contains small fixes for issues with the vector PMD. The issues and the fixes for them are described in each patch individually. Bruce Richardson (2): ixgbe: remove static qualifier for thread safety ixgbe: always perform vec RX setup if vpmd enabled

[dpdk-dev] [PATCH] ixgbe: Fix clang compilation issue

2014-10-22 Thread Bruce Richardson
Issue reported by Keith Wiles. Clang fails with an error about a variable being used uninitialized: CC ixgbe_rxtx_vec.o /home/keithw/projects/dpdk-code/org-dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:67:30: error: variable 'dma_addr0' is uninitialized when used here

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-22 Thread Thomas Monjalon
2014-10-22 01:46, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-21 13:48, Liu, Jijiang: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > But I doubt we should configure a tunnel type for a whole port. > > > > > > Yes, your

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Marc Sune
On 22/10/14 10:50, Thomas Monjalon wrote: > 2014-10-22 10:42, Marc Sune: >> The mutex needs to be initialized to RTE_SPINLOCK_INITIALIZER(0) too, or >> move the initialization of the mutex to rte_kni_init(). > RTE_SPINLOCK_INITIALIZER is { 0 } > By initializing one field, all other fields are set

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-22 Thread Matthew Hall
On Wed, Oct 22, 2014 at 03:20:40PM +, Gonzalez Monroy, Sergio wrote: > You are not forced to use shared libraries. This module loads successfully > with an app (testpmd) built against static DPDK libs. It sounds like it just requires additional options as mentioned later in your mail. We

[dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of VxLAN filter

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 22, 2014 5:31 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of > VxLAN filter > > 2014-10-22 02:25, Liu,

[dpdk-dev] [PATCH] ixgbe: Fix clang compilation issue

2014-10-22 Thread Richardson, Bruce
Self-nak, resent old patch. > -Original Message- > From: Richardson, Bruce > Sent: Wednesday, October 22, 2014 11:54 AM > To: dev at dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH] ixgbe: Fix clang compilation issue > > Issue reported by Keith Wiles. > Clang fails with an error about

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Thomas Monjalon
2014-10-22 10:42, Marc Sune: > The mutex needs to be initialized to RTE_SPINLOCK_INITIALIZER(0) too, or > move the initialization of the mutex to rte_kni_init(). RTE_SPINLOCK_INITIALIZER is { 0 } By initializing one field, all other fields are set to 0, so spinlock also. Just choose one field

[dpdk-dev] [PATCH] bond: disabling broadcast mode when dpdk is built without RTE_MBUF_REFCNT

2014-10-22 Thread De Lara Guarch, Pablo
Hi Declan, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty > Sent: Wednesday, October 22, 2014 11:29 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] bond: disabling broadcast mode when dpdk is > built without RTE_MBUF_REFCNT > > Link

[dpdk-dev] [PATCH v6 1/9] librte_mbuf:the rte_mbuf structure changes

2014-10-22 Thread Thomas Monjalon
2014-10-21 14:14, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-21 16:46, Jijiang Liu: > > > - uint16_t reserved2; /**< Unused field. Required for padding */ > > > + > > > + /** > > > + * Packet type, which is used to indicate ordinary L2 packet

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Marc Sune
The mutex needs to be initialized to RTE_SPINLOCK_INITIALIZER(0) too, or move the initialization of the mutex to rte_kni_init(). I can prepare a second patch with one or the other option, if you want. marc On 22/10/14 10:37, Thomas Monjalon wrote: > 2014-10-22 09:10, Marc Sune: >> Fix for

[dpdk-dev] FW: nic loopback

2014-10-22 Thread alex
On Wed, Oct 22, 2014 at 7:37 AM, Zhu, Heqing wrote: > One line comment inline. > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Liang, Cunming > > Sent: Tuesday, October 21, 2014 8:33 PM > > To: Alex Markuze > > Cc: dev at dpdk.org > > Subject: Re:

[dpdk-dev] Why do we need iommu=pt?

2014-10-22 Thread alex
Shiva. The cost of disabling iommu=pt when intel_iommu=on is dire. DPDK won't work as the RX/TX descriptors will be useless. Any dam access by the device will be dropped as no dam-mapping will exists. Danny. The IOMMU hurts performance in kernel drivers which perform a map and umap operation for

[dpdk-dev] [PATCH] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n

2014-10-22 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, October 21, 2014 10:12 PM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] librte_ip_frag: Disable ipv4/v6 > fragmentation if

[dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx cycles/packet

2014-10-22 Thread Neil Horman
On Tue, Oct 21, 2014 at 01:17:01PM +, Liang, Cunming wrote: > > > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Tuesday, October 21, 2014 6:33 PM > > To: Liang, Cunming > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2 1/4]

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marc Sune > Sent: Wednesday, October 22, 2014 10:50 AM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field- > initializers' > > On

[dpdk-dev] clang compilation error in librte_table

2014-10-22 Thread Marc Sune
Hello, There seems to be compilation issues with clang(3.0-6.2) and current HEAD (0c6bc8e) within librte_table: == Build lib/librte_table CC rte_table_lpm.o CC rte_table_lpm_ipv6.o CC rte_table_hash_key8.o /home/marc/dpdk/lib/librte_table/rte_table_hash_key8.c:212:4: error: implicit

[dpdk-dev] clang compilation error ACL library

2014-10-22 Thread Marc Sune
Hi all, The latest head produces this compilation error within librte_acl, with clang version 3.0-6.2: CC acl_gen.o /home/marc/dpdk/lib/librte_acl/acl_gen.c:249:11: error: array index of '-128' indexes before the beginning of the array [-Werror,-Warray-bounds] index =

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Marc Sune
Liu, Can you confirm that this patch fixes the issue? Thanks marc On 22/10/14 09:10, Marc Sune wrote: > Fix for compilation warning 'missing-field-initializers' for some > GCC and clang versions introduced in commit 0c6bc8e > > Signed-off-by: Marc Sune > --- > lib/librte_kni/rte_kni.c |9

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Marc Sune
Fix for compilation warning 'missing-field-initializers' for some GCC and clang versions introduced in commit 0c6bc8e Signed-off-by: Marc Sune --- lib/librte_kni/rte_kni.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/librte_kni/rte_kni.c

[dpdk-dev] ixgbe_recv_pkts, ixgbe_recv_pkts_bulk_alloc. what is difference?

2014-10-22 Thread Jeff Shaw
On Wed, Oct 22, 2014 at 11:18:17PM +0900, GyuminHwang wrote: > Hi all > > I have several questions about ixgbe_rxtx.c especially Tx and Rx function. > What is the difference between ixgbe_recv_pkts and > ixgbe_recv_pkts_bulk_alloc? I already know the earlier function is > non-bulk function and

[dpdk-dev] [PATCH v4 20/21] i40e: implement operations to configure flexible masks

2014-10-22 Thread Jingjing Wu
implement operation to flexible masks for each flow type in i40e pmd driver Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_fdir.c | 124 +++- 1 file changed, 123 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_i40e/i40e_fdir.c

[dpdk-dev] [PATCH v4 19/21] ethdev: define structures for configuring flex masks

2014-10-22 Thread Jingjing Wu
define structures for configuring flexible masks Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index ca21313..3b336e4 100644 ---

[dpdk-dev] [PATCH v4 18/21] testpmd: add test command to configure flexible payload

2014-10-22 Thread Jingjing Wu
add test command to configure flexible payload Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 143 + 1 file changed, 143 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 7324783..1caca54 100644 ---

[dpdk-dev] [PATCH v4 17/21] i40e: implement operations to configure flexible payload

2014-10-22 Thread Jingjing Wu
implement operation to flexible payload in i40e pmd driver Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_fdir.c | 106 1 file changed, 106 insertions(+) diff --git a/lib/librte_pmd_i40e/i40e_fdir.c b/lib/librte_pmd_i40e/i40e_fdir.c index

[dpdk-dev] [PATCH v4 16/21] ethdev: define structures for configuring flexible payload

2014-10-22 Thread Jingjing Wu
define structures for configuring flexible payload Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 43 + 1 file changed, 43 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index

[dpdk-dev] [PATCH v4 15/21] testpmd: add test command to flush flow director table

2014-10-22 Thread Jingjing Wu
add test command to flush flow director table Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 49 + 1 file changed, 49 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 5705b65..7324783 100644 ---

[dpdk-dev] [PATCH v4 14/21] i40e: implement operation to flush flow director table

2014-10-22 Thread Jingjing Wu
implement operation to flush flow director table Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_fdir.c | 47 + 1 file changed, 47 insertions(+) diff --git a/lib/librte_pmd_i40e/i40e_fdir.c b/lib/librte_pmd_i40e/i40e_fdir.c index d2c8304..00ee470

[dpdk-dev] [PATCH v4 13/21] testpmd: display fdir statistics

2014-10-22 Thread Jingjing Wu
display flow director's statistics information Signed-off-by: Jingjing Wu --- app/test-pmd/config.c | 38 ++ 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 2a1b93f..8625251 100644 ---

[dpdk-dev] [PATCH v4 12/21] i40e: implement operations to get fdir info

2014-10-22 Thread Jingjing Wu
implement operation to get flow director information in i40e pmd driver Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_fdir.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/lib/librte_pmd_i40e/i40e_fdir.c b/lib/librte_pmd_i40e/i40e_fdir.c index

[dpdk-dev] [PATCH v4 11/21] ethdev: define structures for getting flow director information

2014-10-22 Thread Jingjing Wu
define structures for getting flow director information Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 40 lib/librte_ether/rte_ethdev.h | 23 --- 2 files changed, 40 insertions(+), 23 deletions(-) diff --git

[dpdk-dev] [PATCH v4 10/21] testpmd: print extended fdir info in mbuf

2014-10-22 Thread Jingjing Wu
print extend fdir info in rxonly fwd engine when fdir match. Signed-off-by: Jingjing Wu --- app/test-pmd/rxonly.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/rxonly.c b/app/test-pmd/rxonly.c index 98c788b..7f5099c 100644 ---

[dpdk-dev] [PATCH v4 09/21] i40e: report flow director match info to mbuf

2014-10-22 Thread Jingjing Wu
support to set the FDIR information in mbuf if match Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_rxtx.c | 98 +++-- 1 file changed, 95 insertions(+), 3 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c

[dpdk-dev] [PATCH v4 08/21] mbuf: extend fdir field

2014-10-22 Thread Jingjing Wu
extend fdir field to support flex bytes reported when fdir match Signed-off-by: Jingjing Wu --- lib/librte_mbuf/rte_mbuf.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index ddadc21..d2fbf40 100644 ---

[dpdk-dev] [PATCH v4 07/21] i40e: match counter for flow director

2014-10-22 Thread Jingjing Wu
support to get the fdir_match counter Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index f56a4f6..3ff3965 100644 ---

[dpdk-dev] [PATCH v4 06/21] testpmd: add test commands to add/delete flow director filter

2014-10-22 Thread Jingjing Wu
add commands which can be used to test adding or deleting 8 flow types of the flow director filters: ipv4, tcpv4, udpv4, sctpv4, ipv6, tcpv6, udpv6, sctpv6 Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 447 + app/test-pmd/testpmd.h | 3

[dpdk-dev] [PATCH v4 05/21] i40e: implement operations to add/delete flow director

2014-10-22 Thread Jingjing Wu
deal with two operations for flow director - RTE_ETH_FILTER_ADD - RTE_ETH_FILTER_DELETE encode the flow inputs to programming packet sent the packet to filter programming queue and check status on the status report queue Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 6

[dpdk-dev] [PATCH v4 04/21] ethdev: define structures for adding/deleting flow director

2014-10-22 Thread Jingjing Wu
define structures to add or delete flow director filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 160 1 file changed, 160 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index

[dpdk-dev] [PATCH v4 03/21] i40e: initialize flexible payload setting

2014-10-22 Thread Jingjing Wu
set flexible payload related registers to default value at initialization time. Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 33 + lib/librte_pmd_i40e/i40e_fdir.c | 51 ++- 2 files changed, 83 insertions(+), 1

[dpdk-dev] [PATCH v4 02/21] i40e: tear down flow director

2014-10-22 Thread Jingjing Wu
release fortville resources on flow director, includes - queue 0 pair release - release vsi Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 4 +++- lib/librte_pmd_i40e/i40e_ethdev.h | 1 + lib/librte_pmd_i40e/i40e_fdir.c | 19 +++ 3 files changed, 23

[dpdk-dev] [PATCH v4 01/21] i40e: set up and initialize flow director

2014-10-22 Thread Jingjing Wu
set up fortville resources to support flow director, includes - queue 0 pair allocated and set up for flow director - create vsi - reserve memzone for flow director programming packet Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/Makefile | 2 + lib/librte_pmd_i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v4 00/21] Support flow director programming on Fortville

2014-10-22 Thread Jingjing Wu
The patch set supports flow director on fortville. It includes: - set up/tear down fortville resources to support flow director, such as queue and vsi. - support operation to add or delete 8 flow types of the flow director filters, they are ipv4, tcpv4, udpv4, sctpv4, ipv6, tcpv6, udpv6,

[dpdk-dev] development/integration branch?

2014-10-22 Thread Matthew Hall
I am aware of that. But it's a pain to do it. And then your local branch doesn't move forward when new stable releases come out. So I was suggesting we have a stable branch always available and known-good pointing to latest 1.X.X or 2.X.X release of latest stable 1.X or 2.X. It would also be

[dpdk-dev] [PATCH v6 1/9] librte_mbuf:the rte_mbuf structure changes

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 22, 2014 4:46 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 1/9] librte_mbuf:the rte_mbuf structure > changes > > 2014-10-21 14:14, Liu,

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marc Sune > Sent: Wednesday, October 22, 2014 3:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field- > initializers' > > Fix for compilation warning

[dpdk-dev] FW: nic loopback

2014-10-22 Thread Liang, Cunming
From: alex [mailto:a...@weka.io] Sent: Wednesday, October 22, 2014 3:42 PM To: Zhu, Heqing Cc: Liang, Cunming; dev at dpdk.org Subject: Re: FW: [dpdk-dev] nic loopback On Wed, Oct 22, 2014 at 7:37 AM, Zhu, Heqing mailto:heqing.zhu at intel.com>> wrote: One line comment inline. >

[dpdk-dev] [PATCH 0/5] vmxnet3 pmd fixes/improvement

2014-10-22 Thread Cao, Waterman
Hi Yong, We verified your patch with VMWare ESXi 5.5 and found VMware L2fwd and L3fwd cmd can't run. But We use DPDK1.7_rc1 package to validate VMware regression, It works fine. . 1.[Test Environment]: - VMware ESXi 5.5; - 2 VM - FC20 on Host / FC20-64 on VM - Crown Pass server

[dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of VxLAN filter

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, October 21, 2014 11:13 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of > VxLAN filter > > 2014-10-21 16:46,

[dpdk-dev] [PATCH v4] KNI: use a memzone pool for KNI alloc/release

2014-10-22 Thread Liu, Jijiang
There is a compilation error using gcc version 4.6.2. ./lib/librte_kni/rte_kni.c:134:15: error: missing initializer [-Werror=missing-field-initializers] /lib/librte_kni/rte_kni.c:134:15: error: (near initialization for kni_memzone_pool.max_iface? [-Werror=missing-field-initializers] cc1: all

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 22, 2014 5:19 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet > identification API in librte_ether > >

[dpdk-dev] nic loopback

2014-10-22 Thread Liang, Cunming
It?s a pain VF can?t set the register directly. As kernel ixgbe don?t support to set the value, I?m afraid you have to modify kernel ixgbe. If your purpose is mainly for testing purpose. One option is you can just set the register bit value to full 1 during device initialization. Another option

[dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of VxLAN filter

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, October 21, 2014 11:13 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 5/9] librte_ether:add data structures of > VxLAN filter > > 2014-10-21 16:46,

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-22 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 22, 2014 5:19 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet > identification API in librte_ether > >

[dpdk-dev] [PATCH] KNI: fix compilation warning 'missing-field-initializers'

2014-10-22 Thread Thomas Monjalon
2014-10-22 09:10, Marc Sune: > Fix for compilation warning 'missing-field-initializers' for some > GCC and clang versions introduced in commit 0c6bc8e > > Signed-off-by: Marc Sune It's not needed to initialize all fields. This should be sufficient: +static struct rte_kni_memzone_pool

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-22 Thread Matthew Hall
On Tue, Oct 21, 2014 at 01:22:27PM +, Gonzalez Monroy, Sergio wrote: > As you point out below, when building static DPDK we should not expect ldd > to report any DPDK dependency. When building shared DPDK libs, we should > expect such dependency expect for the fact that we are not linking

[dpdk-dev] development/integration branch?

2014-10-22 Thread Matthew Hall
On Tue, Oct 21, 2014 at 11:28:47AM +0200, Thomas Monjalon wrote: > But I care about the message brought by such change. It would mean that > we can break the development branch and that most of developers don't test > it nor base their patches on the latest commit. It's all about simple rules >

[dpdk-dev] [PATCH v6 2/9] librte_ether:add VxLAN packet identification API in librte_ether

2014-10-22 Thread Thomas Monjalon
2014-10-21 13:48, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-21 16:46, Jijiang Liu: > > > int > > > +rte_eth_dev_udp_tunnel_add(uint8_t port_id, > > > +struct rte_eth_udp_tunnel *udp_tunnel, > > > +uint8_t count)

[dpdk-dev] [PATCH] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n

2014-10-22 Thread Thomas Monjalon
2014-10-21 15:15, Pablo de Lara: > Ipv4/v6 fragmentation libraries depends on refcnt. > There was a compilation error if RTE_MBUF_REFCNT was disabled, > so those libraries have been disabled in that situation. Please Pablo, could you add a short justification that it's not possible to implement