[dpdk-dev] [PATCH] kni: fix missing backslash in Makefile

2014-08-01 Thread Thomas Monjalon
Hi Julien, 2014-08-01 18:56, Julien Cretin: > With GNU Make 3.81 on Ubuntu 14.04, I get: > lib/librte_eal/linuxapp/kni/Makefile:49: *** unterminated call to function > `shell': missing `)'. Stop. > > Signed-off-by: Julien Cretin > -UBUNTU_KERNEL_CODE := $(shell cut -d' ' -f2 /proc/version_sig

[dpdk-dev] DPDK memory mechanism

2014-08-01 Thread Wenji Wu
Hello, everybody, I am new on DPDK, and have several questions on DPDK. Is "Mbuf Pool? pinned to avoid being swapped out? I checked the source code, and found there is API called ?rte_mem_lock_page?. But it seems this API is never by called. Do I miss something? Thanks, wenji

[dpdk-dev] [PATCH] kni: fix missing backslash in Makefile

2014-08-01 Thread Julien Cretin
With GNU Make 3.81 on Ubuntu 14.04, I get: lib/librte_eal/linuxapp/kni/Makefile:49: *** unterminated call to function `shell': missing `)'. Stop. Signed-off-by: Julien Cretin --- lib/librte_eal/linuxapp/kni/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte

[dpdk-dev] [PATCH] l3fwd improve grouping by destination port a bit

2014-08-01 Thread Thomas Monjalon
2014-07-22 17:04, Konstantin Ananyev: > Latest changes introduced a small degradation for the corner case > when each input packet is destined to the different port. > For the test-case when 1 core manages 4 ports and packet stream looks like: > IPV4_DSTPORT0, IPV4_DSTPORT1, IPV4_DSTPORT3, IPV4_DST

[dpdk-dev] dpdk-1.7.0 bug report

2014-08-01 Thread Thomas Monjalon
2014-07-23 14:24, David Binderman: > dpdk-1.7.0/lib/librte_ether/rte_ether.h:208]: (style) Expression '(X & 0x2) > == 0x1' is always false. > > Source code is > > return ((ea->addr_bytes[0] & ETHER_LOCAL_ADMIN_ADDR) == 1); > > but > > #define ETHER_LOCAL_ADMIN_ADDR 0x02 /**< Locally assign

[dpdk-dev] [PATCH] ixgbe: Reduce compilation to only require sse3 intrinsics

2014-08-01 Thread Richardson, Bruce
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Friday, August 01, 2014 9:49 AM > To: dev at dpdk.org > Cc: Neil Horman; Ananyev, Konstantin; Richardson, Bruce; Thomas Monjalon > Subject: [PATCH] ixgbe: Reduce compilation to only require sse3 intrinsics >

[dpdk-dev] VMDq + DCB: 128 Tx queues

2014-08-01 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sunil Bojanapally > Sent: Friday, August 01, 2014 9:13 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] VMDq + DCB: 128 Tx queues > > Thanks Liu for the pointer to function implemented in te

[dpdk-dev] [PATCH 0/2] link bonding unit test fix

2014-08-01 Thread Thomas Monjalon
2014-07-22 10:57, De Lara Guarch, Pablo: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty > > > > fix for link bonding unit tests which are failing due to change introduced > > in > > rte_eth_dev_configure which now explicitly checks in pmd supports link > > status > > ch

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Vincent JARDIN
On 01/08/2014 16:06, Neil Horman wrote: > Thats a multi year effort, and not something I'm prepared to even > consider undertaking. Sorry: I am not pushing you, it was just an open comment. I do agree that it is a multi year effort to get it down into a wide "agreed" community. DPDK community ca

[dpdk-dev] [PATCH] vmxnet3: initialize receive mode correctly

2014-08-01 Thread Thomas Monjalon
2014-07-25 10:50, Stephen Hemminger: > The driver must listen to broadcast packets, like other devices. > Otherwise protocols like ARP won't work! > > Signed-off-by: Stephen Hemminger > - vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_UCAST | VMXNET3_RXM_ALL_MULTI, > 1); > + vmxnet3_dev_set_rxm

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Neil Horman
On Fri, Aug 01, 2014 at 12:22:22PM -0700, Bruce Richardson wrote: > On Fri, Aug 01, 2014 at 11:06:29AM -0400, Neil Horman wrote: > > On Thu, Jul 31, 2014 at 01:25:06PM -0700, Bruce Richardson wrote: > > > On Thu, Jul 31, 2014 at 04:10:18PM -0400, Neil Horman wrote: > > > > On Thu, Jul 31, 2014 at 1

[dpdk-dev] [PATCH] virtio: Fix 2 compilation issues in virtio PMD

2014-08-01 Thread Thomas Monjalon
2014-07-24 12:57, Ouyang Changchun: > Fix 2 compilation issues in virtio PMD when dump option is enabled. > > Signed-off-by: Changchun Ouyang Acked-by: Thomas Monjalon Applied for version 1.7.1. Thanks -- Thomas

[dpdk-dev] VMDq + DCB: 128 Tx queues

2014-08-01 Thread Sunil Bojanapally
Thanks Liu for the pointer to function implemented in testpmd.c Just want to know in RX configured pools, what scheduling method is used in polling the queues. -Sunil On Fri, Aug 01, 2014 at 1:11 PM, Liu, Jijiang mailto:jijiang.liu at intel.com>> wrote: Yes, if you hope TX is configured DCB

[dpdk-dev] [PATCH] kni: fixed compilation error on Ubuntu 14.04 LTS (kernel 3.13.0-30.54)

2014-08-01 Thread Thomas Monjalon
2014-07-24 16:31, Buriez, Patrice: > > Why not this simpler form? > > $(shell lsb_release -si 2>/dev/null) > > I didn't want "make" to stop on error or to display a warning if lsb_release > is not available on other distributions. > I must admit that I focused on identifying the exact 5-tuple >

[dpdk-dev] [PATCH 2/2] igb_uio: handle no IRQ fallback

2014-08-01 Thread Thomas Monjalon
2014-07-25 10:37, Stephen Hemminger: > Fix a couple of issues with my earlier igb_uio stuff: > 1. With MSI (like MSI-X) actual IRQ number is not known until >after the pci_enable_msi() is done. > 2. If INTX fails, fall back to running without IRQ. >This allows usermode PCI to recover and ru

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-08-01 Thread Thomas Monjalon
2014-07-25 10:36, Stephen Hemminger: > Add more compatibility wrappers, and split out all the wrapper > code to a separate file. Builds on Debian Squeeze (2.6.32) which > is oldest version of kernel current DPDK supports. > > Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon Applied f

[dpdk-dev] [PATCH 6/6] i40e: support FD ID report and match counter for i40e flow director

2014-08-01 Thread Jingjing Wu
support to get the fdir_match counter support to set the FDIR flag and FD_ID reported in mbuf Signed-off-by: jingjing.wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 5 lib/librte_pmd_i40e/i40e_rxtx.c | 49 ++- 2 files changed, 53 insertions(+), 1 deletion(

[dpdk-dev] [PATCH 5/6] app/test-pmd: add commands and config functions for i40e flow director support

2014-08-01 Thread Jingjing Wu
add structure definition to construct programming packet. add commands to programming 6 flow types for the flow director filters, which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6 add command to support flushing flow director table Signed-off-by: jingjing.wu --- app/tes

[dpdk-dev] [PATCH 4/6] i40e: function implement in i40e for flow director filter programming

2014-08-01 Thread Jingjing Wu
support the API ops defined in ethdev, the behavior according to each command: RTE_CMD_FDIR_RULE_ADD: add a new FDIR filter rule. RTE_CMD_FDIR_RULE_DEL: delete a FDIR filter rule. RTE_CMD_FDIR_FLUSH : clear all FDIR filter rules. RTE_CMD_FDIR_INFO_GET: get FDIR information. Signed-off-

[dpdk-dev] [PATCH 3/6] ethdev: define new ethdev API rx_classification_filter_ctl

2014-08-01 Thread Jingjing Wu
support a new ethdev API rx_classification_filter_ctl for all the configuration or queries for receive classification filters. this patch supports commands the API used below: RTE_CMD_FDIR_RULE_ADD RTE_CMD_FDIR_RULE_DEL RTE_CMD_FDIR_FLUSH RTE_CMD_FDIR_INFO_GET Signed-off-by: jingjing.wu

[dpdk-dev] [PATCH 2/6] lib/librte_net: fix the Marco conflict

2014-08-01 Thread Jingjing Wu
fix the Marco conflict between rte_ip.h and netinet/in.h Signed-off-by: jingjing.wu --- lib/librte_net/rte_ip.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h index e3f65c1..0f0b3b0 100644 --- a/lib/librte_net/rte_ip.h ++

[dpdk-dev] [PATCH 1/6] i40e: flow director resource reserve and initialize on i40e

2014-08-01 Thread Jingjing Wu
flow director resource reserve and initialize on i40e, it includes - queue initialization and switch on and vsi creation during setup - queue vsi for flow director release during close Signed-off-by: jingjing.wu --- lib/librte_pmd_i40e/Makefile | 1 + lib/librte_pmd_i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 0/6] Support flow director programming on fortville

2014-08-01 Thread Jingjing Wu
The patch set supports flow director programming on fortville. It includes: - reserve i40e resources for flow director, such as queue and vsi. - support the new ethdev AP Irx_classification_filter_ctl for all the configuration or queries for receive classification filters. - support programm

[dpdk-dev] VLAN based Packet Processing

2014-08-01 Thread Sunil Bojanapally
Hi team, When we perform VLAN tagged packet transmission using rte_eth_tx_burst(), does the dpdk library will enqueue the packets to different CoS queues baseed upon QoS priority ? Provided ports are configured in DCB mode. Similarly while reception rte_eth_rx_burst(), does it poll all the CoS

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Bruce Richardson
On Fri, Aug 01, 2014 at 04:43:52PM -0400, Neil Horman wrote: > On Fri, Aug 01, 2014 at 12:22:22PM -0700, Bruce Richardson wrote: > > On Fri, Aug 01, 2014 at 11:06:29AM -0400, Neil Horman wrote: > > > On Thu, Jul 31, 2014 at 01:25:06PM -0700, Bruce Richardson wrote: > > > > On Thu, Jul 31, 2014 at 0

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Ananyev, Konstantin
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Friday, August 01, 2014 2:37 PM > To: Richardson, Bruce > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of > some isolated features > > On Thu, Jul 31, 2014 at 01:19:50PM -

[dpdk-dev] [PATCH] ixgbe: Reduce compilation to only require sse3 intrinsics

2014-08-01 Thread Neil Horman
ixgbe was failing to build in the default configuration because it required sse4.2 intrinsics, and the default config doesn't support more than sse3. Modify the pmd so that only sse3 intrinsics are pulled in and used. Signed-off-by: Neil Horman CC: "Konstantin Ananyev" CC: Bruce Richardson CC:

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Bruce Richardson
On Fri, Aug 01, 2014 at 11:06:29AM -0400, Neil Horman wrote: > On Thu, Jul 31, 2014 at 01:25:06PM -0700, Bruce Richardson wrote: > > On Thu, Jul 31, 2014 at 04:10:18PM -0400, Neil Horman wrote: > > > On Thu, Jul 31, 2014 at 11:36:32AM -0700, Bruce Richardson wrote: > > > > Thu, Jul 31, 2014 at 02:1

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Neil Horman
On Fri, Aug 01, 2014 at 04:57:56PM +0200, Vincent JARDIN wrote: > On 01/08/2014 16:06, Neil Horman wrote: > >Thats a multi year effort, and not something I'm prepared to even > >consider undertaking. > > Sorry: I am not pushing you, it was just an open comment. I do agree that it > is a multi year

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Neil Horman
On Thu, Jul 31, 2014 at 01:25:06PM -0700, Bruce Richardson wrote: > On Thu, Jul 31, 2014 at 04:10:18PM -0400, Neil Horman wrote: > > On Thu, Jul 31, 2014 at 11:36:32AM -0700, Bruce Richardson wrote: > > > Thu, Jul 31, 2014 at 02:10:32PM -0400, Neil Horman wrote: > > > > On Thu, Jul 31, 2014 at 10:3

[dpdk-dev] Debugging EAL PCI / Driver Init

2014-08-01 Thread Matthew Hall
Hello, I am running into a problem where Eth driver init works fine in a sample app and finds my NICs, and the NICs appear in rte_eal_pci_dump(stdout) but they don't show up in rte_eth_dev_count() even after rte_eal_pci_probe() is called the same as the sample apps, so my app won't boot. I hav

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Vincent JARDIN
On 31/07/2014 22:32, John W. Linville wrote: >> BTW: what is FESCO? > Fedora Engineering Steering Committee > > Neil and I have already felt the hot breath of FESCO on our necks > regarding the Fedora DPDK package... > I do confirm and feel that we should go step by step. Having multiple library

[dpdk-dev] VMDq + DCB: 128 Tx queues

2014-08-01 Thread Sunil Bojanapally
Hi team, As per dpdk programming guide on VMDq+DCB will configure each Ethernet port to 16 pools with 8 queues each. Which means per port will have 128 Rx & Tx queues. The question is, in order to have end 2 end QoS support the port should get configured with 128 Rx as well as 128 Tx queues ?

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Neil Horman
On Fri, Aug 01, 2014 at 01:56:24PM +, Ananyev, Konstantin wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > > Sent: Friday, August 01, 2014 2:37 PM > > To: Richardson, Bruce > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic en

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Neil Horman
On Fri, Aug 01, 2014 at 10:46:33AM +0200, Vincent JARDIN wrote: > On 31/07/2014 22:32, John W. Linville wrote: > >>BTW: what is FESCO? > >Fedora Engineering Steering Committee > > > >Neil and I have already felt the hot breath of FESCO on our necks > >regarding the Fedora DPDK package... > > > > I

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Neil Horman
On Thu, Jul 31, 2014 at 01:19:50PM -0700, Bruce Richardson wrote: > On Thu, Jul 31, 2014 at 03:01:17PM -0400, Neil Horman wrote: > > On Thu, Jul 31, 2014 at 11:36:32AM -0700, Bruce Richardson wrote: > > > > > > I think a good first step here that I can't see anyone objecting to is > > > to enable

[dpdk-dev] [PATCH] vmxnet3: initialize receive mode correctly

2014-08-01 Thread Stephen Hemminger
On Fri, 01 Aug 2014 16:50:06 +0200 Thomas Monjalon wrote: > 2014-07-25 10:50, Stephen Hemminger: > > The driver must listen to broadcast packets, like other devices. > > Otherwise protocols like ARP won't work! > > > > Signed-off-by: Stephen Hemminger > > > - vmxnet3_dev_set_rxmode(hw, VMXNE

[dpdk-dev] VMDq + DCB: 128 Tx queues

2014-08-01 Thread Liu, Jijiang
Yes, if you hope TX is configured DCB mode, and 128 TX queues are needed. In testpmd codes, there is an example how to use 128 RX queue and 128 TX queue simultaneously in vmdq+dcb mode. The example function is get_eth_dcb_conf() in testpmd.c file. BRs, Jijiang Liu -Original Message- Fro

[dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of some isolated features

2014-08-01 Thread Venkatesan, Venky
On 8/1/2014 6:56 AM, Ananyev, Konstantin wrote: >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman >> Sent: Friday, August 01, 2014 2:37 PM >> To: Richardson, Bruce >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH 0/2] dpdk: Allow for dynamic enablement of >> some isol

[dpdk-dev] [PATCH v2 0/6] Support configuring hash functions

2014-08-01 Thread Zhang, Helin
> -Original Message- > From: Zhan, Zhaochen > Sent: Thursday, July 31, 2014 10:49 AM > To: Zhang, Helin; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 0/6] Support configuring hash functions > > > > These pathches mainly support configuring hash functions. > > In detail, > > - It

[dpdk-dev] [PATCH] i40e: support autoneg or force link speed

2014-08-01 Thread Cunming Liang
- i40e force link up/down - i40e autoneg/force speed Signed-off-by: Cunming Liang Acked-by: Helin Zhang Acked-by: Chen Jing D(Mark) Tested-by: Xu HuilongX --- app/test-pmd/cmdline.c| 17 +++-- lib/librte_pmd_i40e/i40e_ethdev.c | 139 ++ 2 files