[dpdk-dev] [PATCH 3/3] doc: Update documentation to reflect FreeBSD support for CXGBE PMD

2015-07-17 Thread Rahul Lakkireddy
Update cxgbe documentation to include support for FreeBSD: 1. Add instructions on how to compile CXGBE PMD in FreeBSD. 2. Add instructions on how to flash firmware image on Chelsio T5 cards in FreeBSD. 3. Add sample application usage for FreeBSD. 4. Add an extra step to reload kernel module in L

[dpdk-dev] [PATCH 2/3] cxgbe: Enable and fix FreeBSD compilation for CXGBE PMD

2015-07-17 Thread Rahul Lakkireddy
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD by adding CXGBE prefix to them. Also remove reference to a linux header linux/if_ether.h and use DPDK macros directly. Finally, enable CXGBE PMD for FreeBSD. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi

[dpdk-dev] [PATCH 1/3] nic_uio: Fix to allow any device to be bound to nic_uio

2015-07-17 Thread Rahul Lakkireddy
nic_uio requires the pci ids to be present in rte_pci_dev_ids.h in order to bind the devices to nic_uio. However, it's better to remove this whitelist of pci ids, and instead rely on hw.nic_uio.bdfs kenv parameter to allow binding any device to nic_uio. Suggested-by: David Marchand Signed-off-by

[dpdk-dev] [PATCH 0/3] cxgbe: Fix compilation and enable FreeBSD support for CXGBE PMD

2015-07-17 Thread Rahul Lakkireddy
This series of patches fix compilation and enable CXGBE poll mode driver for FreeBSD. The first patch fixes a limitation of nic_uio that only binds to devices present in rte_pci_dev_ids.h. The second patch does the actual compilation fix and enabling of CXGBE PMD for FreeBSD. The last patch upda

[dpdk-dev] [dpdk-virtio] Performance tuning for dpdk with virtio?

2015-07-17 Thread Clearasu
Forgot to mention, I am running dpdk within the VM and used virtio-net-pmd. > On Jul 17, 2015, at 2:20 PM, Stephen Hemminger networkplumber.org> wrote: > > On Fri, 17 Jul 2015 11:03:15 -0700 > Clarylin L wrote: > >> I am running dpdk with a virtual guest as a L2 forwarder. >> >> If the virt

[dpdk-dev] [PATCH v2] hash: fix compilation for non-x86 systems

2015-07-17 Thread Tony Lu
>-Original Message- >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara >Sent: Friday, July 17, 2015 5:18 PM >To: dev at dpdk.org >Subject: [dpdk-dev] [PATCH v2] hash: fix compilation for non-x86 systems > >From: "Pablo de Lara" > >Hash library uses optimized compare fun

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-17 Thread Tony Lu
Hi, Pablo The patch "hash: fix compilation for non-x86 systems " works for no-X86 arches. Thanks for your quick fix. >-Original Message- >From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch at intel.com] >Sent: Friday, July 17, 2015 5:06 PM >To: Tony Lu; dev at dpdk.org >Subject: RE:

[dpdk-dev] can eth_igb_xmit_pkts called with len 0 affect transmission?

2015-07-17 Thread ciprian.barbu
Hi, I'm seeing a strange behavior when calling rte_eth_tx_burst with len == 0. I'll explain the reason for this situation further bellow. But what I'm seeing is that after doing this call my application keeps returning from eth_igb_xmit_pkts here, even when len > 0: http://dpdk.org/browse/dpdk

[dpdk-dev] [dpdk-virtio] Performance tuning for dpdk with virtio?

2015-07-17 Thread Clarylin L
My VM has two ports connecting to two linux bridges (in turn connecting two physical ports). DPDK is used to forward between these two ports (one port connected to traffic generator and the other connected to sink). I used iperf to test the throughput between the traffic generator and one port on V

[dpdk-dev] Non-working TX IP checksum offload

2015-07-17 Thread Andriy Berestovskyy
Cze?? Angela, Make sure your NIC is configured properly as described in this thread: http://dpdk.org/ml/archives/dev/2015-May/018096.html Andriy On Fri, Jul 17, 2015 at 4:23 PM, Angela Czubak wrote: > Hi, > > I have some difficulties using ip checksum tx offload capabilities - I > think I set ev

[dpdk-dev] Non-working TX IP checksum offload

2015-07-17 Thread Angela Czubak
Hi, I have some difficulties using ip checksum tx offload capabilities - I think I set everything as advised by the API documentation, but unfortunately the packet leaves the interface with its ip checksum still being zero (it reaches its destination). What I do is: buffer->ol_flags |= PKT_TX_

[dpdk-dev] [PATCH] doc/testpmd_app_ug:add a comment for outer-ip option in csum

2015-07-17 Thread Jijiang Liu
Add a comment for outer-ip option in csum command. Set outer-ip option only when the packet is a IPv4 packet. Signed-off-by: Jijiang Liu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_f

[dpdk-dev] [PATCH v3] i40e: Fix the endian issue for the i40e read&write registers functions

2015-07-17 Thread Chao Zhu
Acked-by: Chao Zhu On 2015/7/17 15:25, Zhe Tao wrote: > Signed-off-by: Zhe Tao > --- > PATCH v3: Edit the subject make it more clear > > PATCH v2: Edit the comments make it more clear > > PATCH v1: Add the endian conversion for registers operations. > > drivers/net/i40e/base/i40e_osdep.h | 4 +

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-17 Thread Tony Lu
>-Original Message- >From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch at intel.com] >Sent: Friday, July 17, 2015 3:35 PM >To: Tony Lu; dev at dpdk.org >Subject: RE: [dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with >cuckoo hash implementation > > > >> -Original

[dpdk-dev] [PATCH v3 1/2] librte_ether: release memory in uninit function.

2015-07-17 Thread Thomas Monjalon
2015-07-13 14:04, Bernard Iremonger: > @@ -387,8 +387,12 @@ rte_eth_dev_uninit(struct rte_pci_device *pci_dev) > /* free ether device */ > rte_eth_dev_release_port(eth_dev); > > - if (rte_eal_process_type() == RTE_PROC_PRIMARY) > + if (rte_eal_process_type() == RTE_PROC_PRIMAR

[dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment?

2015-07-17 Thread "Scott.Jhuang (莊清翔) : 6309"
Hi Sy Jong, If I using KNI in DPDK, can I use another applications at the same time? (e.g. L2 forward, L3 forward) Choi, Sy Jong ? 2015?07?15? 18:01 ??: Hi Scott, You will need to start KNI sample app, it will create the vEth interface. After kni app, it will be there, kni app is the datapath,

[dpdk-dev] [PATCH v3] i40e: Fix the endian issue for the i40e read&write registers functions

2015-07-17 Thread Zhe Tao
Signed-off-by: Zhe Tao --- PATCH v3: Edit the subject make it more clear PATCH v2: Edit the comments make it more clear PATCH v1: Add the endian conversion for registers operations. drivers/net/i40e/base/i40e_osdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

[dpdk-dev] [PATCH v2 0/3] Fix vhost startup issue

2015-07-17 Thread Thomas Monjalon
2015-07-10 14:20, Xie, Huawei: > On 7/6/2015 10:27 AM, Ouyang, Changchun wrote: > > The patch set fix vhost sample fails to start up in second time: > > > > It should call api to unregister vhost driver when sample exit/quit, then > > the socket file will be removed(by calling unlink), and thus m

[dpdk-dev] [PATCH v14 10/13] ethdev: add rx intr enable, disable and ctl functions

2015-07-17 Thread Stephen Hemminger
> +/** > * Turn on the LED on the Ethernet device. > * This function turns on the LED on the Ethernet device. > * > diff --git a/lib/librte_ether/rte_ether_version.map > b/lib/librte_ether/rte_ether_version.map > index 39baf11..fa09d75 100644 > --- a/lib/librte_ether/rte_ether_version.map >

[dpdk-dev] [dpdk-virtio] Performance tuning for dpdk with virtio?

2015-07-17 Thread Stephen Hemminger
On Fri, 17 Jul 2015 11:03:15 -0700 Clarylin L wrote: > I am running dpdk with a virtual guest as a L2 forwarder. > > If the virtual guest is on passthrough, dpdk can achieve around 10G > throughput. However if the virtual guest is on virtio, dpdk achieves just > 150M throughput, which is a huge

[dpdk-dev] [PATCH v14 13/13] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch

2015-07-17 Thread Cunming Liang
The patch demonstrates how to handle per rx queue interrupt in a NAPI-like implementation in userspace. The working thread mainly runs in polling mode and switch to interrupt mode only if there is no packet received in recent polls. The working thread returns to polling mode immediately once it re

[dpdk-dev] [PATCH v14 12/13] igb: enable rx queue interrupts for PF

2015-07-17 Thread Cunming Liang
The patch does below for igb PF: - Setup NIC to generate MSI-X interrupts - Set the IVAR register to map interrupt causes to vectors - Implement interrupt enable/disable functions Signed-off-by: Danny Zhou Signed-off-by: Cunming Liang --- v14 changes - per-patch basis ABI compatibility rework

[dpdk-dev] [PATCH v14 11/13] ixgbe: enable rx queue interrupts for both PF and VF

2015-07-17 Thread Cunming Liang
The patch does below things for ixgbe PF and VF: - Setup NIC to generate MSI-X interrupts - Set the IVAR register to map interrupt causes to vectors - Implement interrupt enable/disable functions Signed-off-by: Danny Zhou Signed-off-by: Yong Liu Signed-off-by: Cunming Liang --- v14 changes - p

[dpdk-dev] [PATCH v14 10/13] ethdev: add rx intr enable, disable and ctl functions

2015-07-17 Thread Cunming Liang
The patch adds two dev_ops functions to enable and disable rx queue interrupts. In addtion, it adds rte_eth_dev_rx_intr_ctl/rx_intr_q to support per port or per queue rx intr event set. Signed-off-by: Danny Zhou Signed-off-by: Cunming Liang --- v14 changes - per-patch basis ABI compatibility r

[dpdk-dev] [PATCH v14 09/13] eal/bsd: fix inappropriate linuxapp referred in bsd

2015-07-17 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h b/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h index

[dpdk-dev] [PATCH v14 08/13] eal/bsd: dummy for new intr definition

2015-07-17 Thread Cunming Liang
To make bsd compiling happy with new intr changes. Signed-off-by: Cunming Liang --- v14 changes - per-patch basis ABI compatibility rework v13 changes - version map cleanup for v2.1 v12 changes - fix unused variables compiling warning v8 changes - add stub for new function v7 changes - r

[dpdk-dev] [PATCH v14 07/13] eal/linux: fix lsc read error in uio_pci_generic

2015-07-17 Thread Cunming Liang
The intr handle type(RTE_INTR_HANDLE_UIO_INTX) was introduced by UIO pci generic. When turning on the lsc interrupt, it complains fd read error. The patch uses the correct read size in the case of RTE_INTR_HANDLE_UIO_INTX. Fixes: 3f313bef3467 ("eal/linux: fix irq handling with igb_uio") Reported

[dpdk-dev] [PATCH v14 06/13] eal/linux: standalone intr event fd create support

2015-07-17 Thread Cunming Liang
The patch exposes intr event fd create and release for PMD. The device driver can assign the number of event associated with interrupt vector. It also provides misc functions to check 1) allows other slowpath intr(e.g. lsc); 2) intr event on fastpath is enabled or not. Signed-off-by: Cunming Lia

[dpdk-dev] [PATCH v14 05/13] eal/linux: map eventfd to VFIO MSI-X intr vector

2015-07-17 Thread Cunming Liang
The patch assigns event fds to each vfio msix interrupt vector by ioctl. Signed-off-by: Danny Zhou Signed-off-by: Cunming Liang --- v14 changes - per-patch basis ABI compatibility rework - reword commit comments v8 changes - move eventfd creation out of the setup_interrupts to a standalone f

[dpdk-dev] [PATCH v14 04/13] eal/linux: fix comments typo on vfio msi

2015-07-17 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_eal/linuxapp/eal/eal_interrupts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c index 4e34abc..cca2efd 100644 --- a/lib/librte_eal/li

[dpdk-dev] [PATCH v14 03/13] eal/linux: add API to set rx interrupt event monitor

2015-07-17 Thread Cunming Liang
The patch adds 'rte_intr_rx_ctl' to add or delete interrupt vector events monitor on specified epoll instance. Signed-off-by: Cunming Liang --- v14 changes - per-patch basis ABI compatibility rework - remove unnecessary 'local: *' from version map v13 changes - version map cleanup for v2.1

[dpdk-dev] [PATCH v14 02/13] eal/linux: add rte_epoll_wait/ctl support

2015-07-17 Thread Cunming Liang
The patch adds 'rte_epoll_wait' and 'rte_epoll_ctl' for async event wakeup. It defines 'struct rte_epoll_event' as the event param. When the event fds add to a specified epoll instance, 'eptrs' will hold the rte_epoll_event object pointer. The 'op' uses the same enum as epoll_wait/ctl does. The ep

[dpdk-dev] [PATCH v14 01/13] eal/linux: add interrupt vectors support in intr_handle

2015-07-17 Thread Cunming Liang
The patch adds interrupt vectors support in rte_intr_handle. 'vec_en' is set when interrupt vectors are detected and associated event fds are set. Those event fds are stored in efds[]. 'intr_vec' is reserved for device driver to initialize the vector mapping table. Signed-off-by: Danny Zhou Sign

[dpdk-dev] [PATCH v14 00/13] Interrupt mode PMD

2015-07-17 Thread Cunming Liang
v14 changes - per-patch basis ABI compatibility rework - remove unnecessary 'local: *' from version map - minor comments rework v13 changes - version map cleanup for v2.1 - replace RTE_EAL_RX_INTR by RTE_NEXT_ABI for ABI compatibility Patch series v12 Acked-by: Stephen Hemminger Acked-by: D

[dpdk-dev] jumbo frame support for 82583V

2015-07-17 Thread Klaus Degner
Hi Wenzhuo, We are testing different Intel NICs for DPDK. We have tested the master branch with the support for 82583V Intel chip. It works very well except that we can only use up to 1518 bytes for maximum packet capture. We have debugged this and it is restricted in the initialization: http://d

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-17 Thread Thomas Monjalon
Stephen, This patch is partially reverting yours: http://dpdk.org/browse/dpdk/commit/?id=d78deadae4dca240 A comment or a ack? 2015-07-07 02:32, Ouyang, Changchun: > > > -Original Message- > > From: Ouyang, Changchun > > Sent: Wednesday, July 1, 2015 3:49 PM > > To: dev at dpdk.o

[dpdk-dev] [PATCH] doc: announce ABI change for librte_pipeline

2015-07-17 Thread Singh, Jasvinder
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 6:08 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_pipeline > > > Signed-off-by: Cristian Dumitrescu > --- Ac

[dpdk-dev] [PATCH] doc: announce ABI change for librte_table

2015-07-17 Thread Singh, Jasvinder
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 6:00 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_table > > > Signed-off-by: Cristian Dumitrescu > --- Acked

[dpdk-dev] ACL Libraries

2015-07-17 Thread Sugumaran, Varthamanan
Hi, Iam exploring librte_acl libraries. I have a query on the usage of number of tries per context when we build a acl context. 1. Can we have more than one trie per context? Though it has mentioned that we can have 8 tries(RTE_ACL_MAX_TRIES), what is the use case for having more than one

[dpdk-dev] [PATCH v2] Fix the endian issue for the i40e read&write registers functions

2015-07-17 Thread Zhe Tao
When using the Power big endian CPU for i40e NIC, the current i40e related registers operations will cause a problem, because the i40e registers are little endian which is inconsistent with big endian CPU. Add the conversion for the inconsistency. Signed-off-by: Zhe Tao --- PATCH v2: Edit the com

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-17 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, July 13, 2015 3:00 PM > To: Mcnamara, John > Cc: dev at dpdk.org; vladz at cloudius-systems.com > Subject: Re: [dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code > > > > > - dev_st

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-17 Thread Tony Lu
Hi, Pablo >-Original Message- >From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch at intel.com] >Sent: Friday, July 17, 2015 4:42 AM >To: Tony Lu; dev at dpdk.org >Subject: RE: [dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with >cuckoo hash implementation > >Hi Tony,

[dpdk-dev] ethdev cleanup following hotplug changes

2015-07-17 Thread Thomas Monjalon
Hi Tetsuya, Any news about this comment in ethdev? * TODO: * rte_eal_vdev_init() should return port_id, * And rte_eth_dev_save() and rte_eth_dev_get_changed_port() * should be removed. */ http://dpdk.org/browse/dpdk/tree/lib/librte_ether/rte_ethdev.c#n618

[dpdk-dev] igb PMD should set the default tx wthresh correctly.

2015-07-17 Thread Wiles, Keith
On 7/17/15, 9:15 AM, "dev on behalf of Thomas Monjalon" wrote: >2015-07-16 19:49, Stephen Hemminger: >> On Fri, 17 Jul 2015 00:52:09 + >> "Lu, Wenzhuo" wrote: >> >> > Hi Stephen, >> > I don't think there's a conflict. The message just reminder us that >>we can adjust the values to achieve

[dpdk-dev] [ovs-discuss] ovs-dpdk performance is not good

2015-07-17 Thread Ouyang, Changchun
On 7/16/2015 9:45 PM, Traynor, Kevin wrote: > > (re-adding the ovs-discuss list) > > This might be better on the dpdk dev mailing list. For the OVS part, > see this thread > http://openvswitch.org/pipermail/discuss/2015-July/018095.html > > Kevin. > > *From:*Na Zhu [mailto:zhunatuzi at gmail.co

[dpdk-dev] [dpdk-virtio] Performance tuning for dpdk with virtio?

2015-07-17 Thread Clarylin L
I am running dpdk with a virtual guest as a L2 forwarder. If the virtual guest is on passthrough, dpdk can achieve around 10G throughput. However if the virtual guest is on virtio, dpdk achieves just 150M throughput, which is a huge degrade. Any idea what could be the cause of such poor performanc

[dpdk-dev] processor/core count issue

2015-07-17 Thread Thomas Monjalon
2015-07-17 03:40, Jeff Venable, Sr.: > In a VM Fusion environment configured with 2 processors with 1 core each I > get the following: > > PANIC in rte_eal_init(): > Cannot init logs > 4: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) > [0x7f9fd3bdaec5]] > 3: > [/usr/

[dpdk-dev] [PATCH v2] hash: fix compilation for non-x86 systems

2015-07-17 Thread Pablo de Lara
From: "Pablo de Lara" Hash library uses optimized compare functions that use x86 intrinsics, therefore non-x86 systems could not build the library. In that case, the compare function is set to the generic memcmp. Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") Reported-by:

[dpdk-dev] igb PMD should set the default tx wthresh correctly.

2015-07-17 Thread Thomas Monjalon
2015-07-16 19:49, Stephen Hemminger: > On Fri, 17 Jul 2015 00:52:09 + > "Lu, Wenzhuo" wrote: > > > Hi Stephen, > > I don't think there's a conflict. The message just reminder us that we can > > adjust the values to achieve better performance. > > I saw ixgbe and i40e also use 0 as the same d

[dpdk-dev] [PATCH] virtio: fix the vq size issue

2015-07-17 Thread Stephen Hemminger
On Wed, 1 Jul 2015 15:48:50 +0800 Ouyang Changchun wrote: > This commit breaks virtio basic packets rx functionality: > d78deadae4dca240e85054bf2d604a801676becc > > The QEMU use 256 as default vring size, also use this default value to > calculate the virtio > avail ring base address and use

[dpdk-dev] [PATCH v6 6/6] test-pmd: remove call to rte_eth_promiscuous_disable() from detach_port()

2015-07-17 Thread Xu, Qian Q
Bernard Apply the patchset and run vhost-sample, both vhost-user and vhost-cuse, no impact. Thx. Thanks Qian -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bernard Iremonger Sent: Wednesday, July 15, 2015 9:51 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH v

[dpdk-dev] [PATCH 1/2] rte_ethdev: fix crash if malloc fails in rte_eth_dev_callback_register

2015-07-17 Thread Bruce Richardson
On Thu, Jul 16, 2015 at 04:47:23PM -0700, Stephen Hemminger wrote: > Found by coccinelle script. If rte_zmalloc() failed in > rte_eth_dev_callback_register > then NULL pointer would be dereferenced. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_ether/rte_ethdev.c | 7 --- > 1 fil

[dpdk-dev] [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue

2015-07-17 Thread Xu, Qian Q
Tested-by: Qian Xu - Test Commit: 58d3da9eddad28012c16523aa0b5f63dae791bcb - OS: Fedora 21 - GCC: gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1) - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Ethernet Controller XL710 for 40G

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-17 Thread De Lara Guarch, Pablo
Hi Tony, > -Original Message- > From: Tony Lu [mailto:zlu at ezchip.com] > Sent: Friday, July 17, 2015 8:58 AM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library > with cuckoo hash implementation > > >-Original Mes

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-17 Thread Neil Horman
On Fri, Jul 17, 2015 at 11:45:10AM +, Mcnamara, John wrote: > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Monday, July 13, 2015 3:00 PM > > To: Mcnamara, John > > Cc: dev at dpdk.org; vladz at cloudius-systems.com > > Subject: Re: [dpdk-dev] [P

[dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment?

2015-07-17 Thread Choi, Sy Jong
HI Scott, KNI app effectively will become your datapath, it is a sample app, you can modify it. It receive packets from PMD and pass all packets to the kernel path from userspace. You can run l2fwd, or other app, you will need to run it on other PMD ports. Not on the same ports on KNI. Or you

[dpdk-dev] [PATCH] doc: announce ABI change for librte_pipeline

2015-07-17 Thread Mrzyglod, DanielX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 7:08 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_pipeline > > > Signed-off-by: Cristian Dumitrescu Acked-by:

[dpdk-dev] [PATCH] doc: announce ABI change for librte_table

2015-07-17 Thread Mrzyglod, DanielX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 7:00 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_table > > > Signed-off-by: Cristian Dumitrescu Acked-by: Dan

[dpdk-dev] [PATCH v2] doc: announce ABI change for librte_port

2015-07-17 Thread Mrzyglod, DanielX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 5:27 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: announce ABI change for librte_port > > v2 changes: > -text simplification > > Signed-off-

[dpdk-dev] [PATCH v2] doc: announce ABI change for librte_port

2015-07-17 Thread Gajdzica, MaciejX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 5:27 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: announce ABI change for librte_port > > v2 changes: > -text simplification > > Signed-of

[dpdk-dev] [PATCH] doc: announce ABI change for librte_table

2015-07-17 Thread Gajdzica, MaciejX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 7:00 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_table > > > Signed-off-by: Cristian Dumitrescu Acked-by: M

[dpdk-dev] [PATCH] doc: announce ABI change for librte_pipeline

2015-07-17 Thread Gajdzica, MaciejX T
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 7:08 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_pipeline > > > Signed-off-by: Cristian Dumitrescu Acked-by

[dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library with cuckoo hash implementation

2015-07-17 Thread De Lara Guarch, Pablo
> -Original Message- > From: Tony Lu [mailto:zlu at ezchip.com] > Sent: Friday, July 17, 2015 4:35 AM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v7 1/7] hash: replace existing hash library > with cuckoo hash implementation > > Hi, Pablo > > >-Origi

[dpdk-dev] [PATCH v13 00/14] Interrupt mode PMD

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: David Marchand [mailto:david.marchand at 6wind.com] > Sent: Thursday, July 09, 2015 9:59 PM > To: Liang, Cunming > Cc: dev at dpdk.org; Stephen Hemminger; Thomas Monjalon; Zhou, Danny; Wang, > Liang-min; Richardson, Bruce; Liu, Yong; Neil Horman > Subject: Re

[dpdk-dev] [PATCH v13 13/14] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 1:13 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhorm

[dpdk-dev] [PATCH v13 08/14] eal/bsd: dummy for new intr definition

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 1:06 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhorm

[dpdk-dev] [PATCH v13 06/14] eal/linux: standalone intr event fd create support

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 1:02 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhorm

[dpdk-dev] [PATCH v13 02/14] eal/linux: add rte_epoll_wait/ctl support

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 12:56 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhor

[dpdk-dev] [PATCH v13 02/14] eal/linux: add rte_epoll_wait/ctl support

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 12:46 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhor

[dpdk-dev] [PATCH v13 01/14] eal/linux: add interrupt vectors support in intr_handle

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 12:41 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; > nhor

[dpdk-dev] processor/core count issue

2015-07-17 Thread Jeff Venable, Sr.
In a VM Fusion environment configured with 2 processors with 1 core each I get the following: PANIC in rte_eal_init(): Cannot init logs 4: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f9fd3bdaec5]] 3: [/usr/lib/dpdk-2.0.0/librte_eal.so.1(r

[dpdk-dev] [PATCH v6 0/9] Expose IXGBE extended stats to DPDK apps

2015-07-17 Thread Thomas Monjalon
2015-07-16 09:54, Olivier MATZ: > On 07/15/2015 03:11 PM, Maryam Tahhan wrote: > > This patch set implements xstats_get() and xstats_reset() in dev_ops for > > ixgbe to expose detailed error statistics to DPDK applications. The > > dump_cfg application was extended to demonstrate the usage of > > r

[dpdk-dev] [dpdk-virtio]: cannot start testpmd after binding virtio devices to gib_uio

2015-07-17 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Clarylin L > Sent: Friday, July 17, 2015 7:10 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [dpdk-virtio]: cannot start testpmd after binding > virtio devices to gib_uio > > > I am running a virtual guest

[dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code

2015-07-17 Thread Vlad Zolotarov
On 07/13/15 13:26, John McNamara wrote: > Fix for ABI breakage introduced in LRO addition. Moves > lro bitfield to the end of the struct/member. > > Fixes: 8eecb3295aed (ixgbe: add LRO support) > > Signed-off-by: John McNamara > --- > lib/librte_ether/rte_ethdev.h | 4 ++-- > 1 file changed,

[dpdk-dev] [PATCH v6 4/9] ethdev: remove HW specific stats in stats structs

2015-07-17 Thread Thomas Monjalon
2015-07-15 14:11, Maryam Tahhan: > Remove non generic stats in rte_stats_strings and mark the relevant > fields in struct rte_eth_stats as deprecated. > > Signed-off-by: Maryam Tahhan > - uint64_t imissed; /**< Total of RX missed packets (e.g full FIFO). */ > - uint64_t ibadcrc; /**<

[dpdk-dev] [PATCH v6 3/9] ethdev: expose extended error stats

2015-07-17 Thread Thomas Monjalon
2015-07-15 14:11, Maryam Tahhan: > Extend rte_eth_xstats_get to retrieve additional stats from the device > driver as well the ethdev generic stats. > > Signed-off-by: Maryam Tahhan > --- > lib/librte_ether/rte_ethdev.c | 31 --- > 1 file changed, 20 insertions(+), 11

[dpdk-dev] igb PMD should set the default tx wthresh correctly.

2015-07-17 Thread Lu, Wenzhuo
Hi Stephen, I don't think there's a conflict. The message just reminder us that we can adjust the values to achieve better performance. I saw ixgbe and i40e also use 0 as the same default value. To my opinion, it's good to keep the same behavior. Thanks. > -Original Message- > From: Step

[dpdk-dev] [PATCH v5 0/4] rte_sched: cleanup and deprecation

2015-07-17 Thread Thomas Monjalon
> > This is a subset of earlier rte_sched patches. > > > > It does not address the read/clearing API issue since that > > was still under discussion. > > > > Acked-by: Cristian Dumitrescu Applied, thanks

[dpdk-dev] [PATCH v17 0/5] User-space Ethtool

2015-07-17 Thread Thomas Monjalon
2015-07-16 21:55, Wang, Liang-min: > Thomas, > Do you want me to create a separate patch just include the > example/l2fwd-ethtool? Yes > Do you also mean besides the identified Makefiles, you see more rework > needs to be done, > or I just need to fix Makefile issue? If just M