[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

[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

[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,

[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

[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

[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 > >

[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

[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); > +

[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

[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 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

[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

[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

[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 ---

[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 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

[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

[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 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

[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

[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

[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

[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... > > > >

[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,

[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-

[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

[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

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

2014-08-01 Thread Thomas Monjalon
2014-07-31 14:10, Neil Horman: > On Thu, Jul 31, 2014 at 10:32:28AM -0400, Neil Horman wrote: > > On Thu, Jul 31, 2014 at 03:26:45PM +0200, Thomas Monjalon wrote: > > Please, let's focus on the first item and we could discuss about performance > > > later. Having some different code path choosed

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

2014-08-01 Thread Thomas Monjalon
2014-07-31 10:32, Neil Horman: > On Thu, Jul 31, 2014 at 03:26:45PM +0200, Thomas Monjalon wrote: > > Neil, we are mixing 2 different problems here. > > 1) we have to fix default build (without SSE-4.2) > > Thats nothing to fix, thats a configuration issue. Just build for a lesser > machine.