[dpdk-dev] Possible bug in eal_pci pci_scan_one

2014-10-13 Thread Matthew Hall
Hi, Did anybody get a chance to look what might be going on in this weird NUMA bug? I could use some help to understand how you're supposed to make code that will work right on both NUMA and non-NUMA. Otherwise it's hard to make a bulletproof DPDK based app that will be able to reliably init

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

2014-10-13 Thread Matthew Hall
Hello, I was working to get my open source project running in a VirtualBox Vagrant VM powered by an Ubuntu Cloud image the last few days to make my project and DPDK more developer friendly with a prebuilt environment. During this I was fixing the ugly hardcodings I'd used to hack it together

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

2014-10-13 Thread Thomas Monjalon
Hi, 2014-10-12 23:23, Yong Wang: > This patch series include various fixes and improvement to the > vmxnet3 pmd driver. > > Yong Wang (5): > vmxnet3: Fix VLAN Rx stripping > vmxnet3: Add VLAN Tx offload > vmxnet3: Fix dev stop/restart bug > vmxnet3: Add rx pkt check offloads > vmxnet3:

[dpdk-dev] [PATCH v4 00/10] VM Power Management

2014-10-13 Thread Thomas Monjalon
Hi Alan, 2014-10-12 20:36, Alan Carew: > The following patches add two DPDK sample applications and an alternate > implementation of librte_power for use in virtualized environments. > The idea is to provide librte_power functionality from within a VM to address > the lack of MSRs to facilitate

[dpdk-dev] [PATCH v6 00/25] user space vhost library

2014-10-13 Thread Thomas Monjalon
Hi Huawei, 2014-10-09 02:54, Huawei Xie: > This set of patches transforms and refactors vhost example to a user > space vhost library. > This library implements a user space vhost cuse driver, and provides > generic APIs for user space ethernet vSwitch to integrate us-vhost for > fast packet

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

2014-10-13 Thread Yong Wang
Only the last one is performance related and it merely tries to give hints to the compiler to hopefully make branch prediction more efficient. It also moves a constant assignment out of the pkt polling loop. We did performance evaluation on a Nehalem box with 4cores at 2.8GHz x 2 socket: On

[dpdk-dev] why no API to free a ring?

2014-10-13 Thread zimeiw
hi, Could use rte_ring_create() API to create a ring, why no API to free it? -- Best Regards, zimeiw

[dpdk-dev] [PATCH v6 00/25] user space vhost library

2014-10-13 Thread Xie, Huawei
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, October 13, 2014 12:52 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 00/25] user space vhost library > > Hi Huawei, > > 2014-10-09 02:54, Huawei Xie: > >

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

2014-10-13 Thread Yong Wang
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 path (where valid vlan_tci stripped is overwritten

[dpdk-dev] Aligned RX data.

2014-10-13 Thread Alex Markuze
Very helpful, thanks a lot. It sure does seem to do the trick. On Mon, Oct 13, 2014 at 2:43 PM, Ananyev, Konstantin < konstantin.ananyev at intel.com> wrote: > > > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Monday, October 13, 2014 12:30 PM > > To: Ananyev, Konstantin >

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-13 Thread Patel, Rashmin N
Waterman/Navakanth, we've got some patches posted for the same by Yong Wang at VMware. I haven't got the chance to look at it but if you can validate it, it'd be great. Thanks, Rashmin -Original Message- From: Navakanth M [mailto:navakanth...@gmail.com] Sent: Sunday, October 12, 2014

[dpdk-dev] [PATCH 4/6] i40e: add VMDQ support

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Chen Jing D(Mark) > Sent: Tuesday, September 23, 2014 2:14 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 4/6] i40e: add VMDQ support > > From: "Chen Jing D(Mark)" > > The change includes several

[dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu > Sent: Saturday, October 11, 2014 6:55 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet identification > in librte_pmd_i40e > > Support tunneling UDP port

[dpdk-dev] [PATCH] Pass verbose flag to kernel module

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Monday, October 06, 2014 5:09 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] Pass verbose flag to kernel module > > --- > mk/rte.module.mk | 2 +- > 1 file changed, 1

[dpdk-dev] [PATCH v2] Pass CC option when building kernel modules

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Thursday, October 09, 2014 11:09 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] Pass CC option when building kernel > modules > > At least on kernels 3.15 or newer,

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

2014-10-13 Thread Gonzalez Monroy, Sergio
Are there any more comments on this patch set? Thanks, Sergio > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Thursday, October 9, 2014 2:05 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 0/6] Update libs build

[dpdk-dev] [PATCH v3 20/20] app/test-pmd: add test command to configure flexible masks

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jingjing Wu > Sent: Friday, September 26, 2014 7:04 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 20/20] app/test-pmd: add test command to > configure flexible masks > > add test command to

[dpdk-dev] Dynamic port/pipe QoS configuration

2014-10-13 Thread satish
Hi, We are trying to provide QoS support for one of our clients using rte_sched. In our implementation we are treating each pipe as a customer. So, we can have maximum of 4096 customers per sub-port. Customers(pipe) can be added, deleted or modified dynamically. Each customer can have different

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-13 Thread Ouyang Changchun
As the vhost sample is broken by the following commit, commit 08b563ffb19d8baf59dd84200f25bc85031d18a7 Author: Olivier Matz Date: Thu Sep 11 14:15:35 2014 +0100 mbuf: replace data pointer by an offset It leads to segment fault error in vhost when binding a virtio device

[dpdk-dev] [PATCH v4 4/8] bond: free mbufs if transmission fails in bonding tx_burst functions

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty > Sent: Tuesday, September 30, 2014 10:58 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 4/8] bond: free mbufs if transmission fails in > bonding tx_burst functions > > >

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

2014-10-13 Thread Helin Zhang
It fixes the compile error as below on gcc version 4.3.4. cc1: error: unrecognized command line option "-Wno-unused-but-set-variable" Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/Makefile | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH v4 7/7] app/testpmd: add commands to support hash filter control

2014-10-13 Thread Helin Zhang
To demonstrate the hash filter control, commands are added. They are - get_sym_hash_ena_per_port - set_sym_hash_ena_per_port - get_sym_hash_ena_per_pctype - set_sym_hash_ena_per_pctype - get_filter_swap - set_filter_swap - get_hash_function - set_hash_function v4 changes: * Fixed a bug in testpmd

[dpdk-dev] [PATCH v4 6/7] i40e: Use constant random hash keys

2014-10-13 Thread Helin Zhang
To be simpler, and remove the race condition, it uses prepared constant random hash keys to replace runtime generating the hash keys. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[dpdk-dev] [PATCH v4 5/7] i40e: add hardware initialization

2014-10-13 Thread Helin Zhang
As global registers will be reset only after a whole chip reset, those registers might not be in an initial state after each launching a physical port. The hardware initialization is added to put specific global registers into an initial state. Signed-off-by: Helin Zhang ---

[dpdk-dev] [PATCH v4 4/7] i40e: add hash filter control implementation

2014-10-13 Thread Helin Zhang
Hash filter control has been implemented for i40e. It includes getting/setting - hash function type - symmetric hash enable per pctype (packet classification type) - symmetric hash enable per port - filter swap configuration Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev.c | 402

[dpdk-dev] [PATCH v4 3/7] ethdev: add structures and enum for hash filter control

2014-10-13 Thread Helin Zhang
Structures and enum are added in rte_eth_ctrl.h to support hash filter control. Signed-off-by: Helin Zhang --- lib/librte_ether/rte_eth_ctrl.h | 74 + 1 file changed, 74 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h

[dpdk-dev] [PATCH v4 2/7] ethdev: add interfaces and relevant for filter control

2014-10-13 Thread Helin Zhang
To support flexible filter control, 'rte_eth_dev_filter_ctrl()' and 'rte_eth_dev_filter_supported()' are added. In addition, filter types and operations are defined in a newly added header file. Signed-off-by: Helin Zhang --- lib/librte_ether/Makefile | 1 +

[dpdk-dev] [PATCH v4 1/7] ethdev: add more annotations

2014-10-13 Thread Helin Zhang
Add more annotations about packet classification type. Signed-off-by: Helin Zhang --- lib/librte_ether/rte_ethdev.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 13be711..1948594 100644 ---

[dpdk-dev] [PATCH v4 0/7] Support configuring hash functions

2014-10-13 Thread Helin Zhang
These patches mainly support configuring hash functions. In detail, - It can get or set hash functions. - It can configure symmetric hash functions. * Get/set symmetric hash enable per port. * Get/set symmetric hash enable per 'PCTYPE'. * Get/set filter swap configurations. - 'ethdev'

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

2014-10-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Liang, Cunming > Sent: Sunday, October 12, 2014 12:11 PM > To: Neil Horman > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx > cycles/packet > > Hi Neil, > >

[dpdk-dev] Unable to bring up VF interface at guest when using DPDK PMD driver on host

2014-10-13 Thread Shian-Tung Wong
I create 7 Virtual Functions on 82599 using DPDK PMD PF ixgbe driver on a host as stated in the DPDK programming guide: modprobe uio insmod ./build/kmod/igb_uio.ko ./pci_unbind.py -b igb_uio :02:00.1 echo 7 > /sys/bus/pci/devices/\:02\:00.1/max_vfs Then I assign a VF to a

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

2014-10-13 Thread Zhan, Zhaochen
> It fixes the compile error as below on gcc version 4.3.4. > cc1: error: unrecognized command line option "-Wno-unused-but-set- > variable" > > Signed-off-by: Helin Zhang Tested-by: Zhaochen Zhan This patch has been verified on SUSE with gcc4.3.4. It has fixed the compile error related to

[dpdk-dev] [PATCH v4 0/7] Support configuring hash functions

2014-10-13 Thread Zhan, Zhaochen
> These patches mainly support configuring hash functions. Tested-by: Zhaochen Zhan This patch has been verified on three kinds of Fortville NICs. Base commit: 23fcffe8ffaccf8a2901050e7daa4979597141ed CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz OS: Linux fc20 3.11.10-301.fc20.x86_64 GCC:

[dpdk-dev] Aligned RX data.

2014-10-13 Thread Alex Markuze
Hi All, Is there a way to create a mempool such that all mbufs are aligned to X. lets say X is 512. Thanks. On Sat, Oct 11, 2014 at 5:04 PM, Alex Markuze wrote: > O.k, And how would I do that? > I'm guessing there is something I can control in rte_pktmbuf_pool_init? > I would appreciate If

[dpdk-dev] [PATCH v2] virtio: Update max RX packet length

2014-10-13 Thread Ouyang Changchun
Update max RX packet length since virtio PMD has the capability of receiving and transmitting jumbo frame. This following patch provides the above capability: [dpdk-dev,v3] virtio: Support mergeable buffer in virtio pmd Submitter Ouyang Changchun Date Aug. 14, 2014, 8:54 a.m. Message ID

[dpdk-dev] Aligned RX data.

2014-10-13 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Monday, October 13, 2014 12:30 PM > To: Ananyev, Konstantin > Subject: FW: [dpdk-dev] Aligned RX data. > > > > From: Alex Markuze [mailto:alex at weka.io] > Sent: Monday, October 13, 2014 9:47 AM > To: Ananyev, Konstantin > Cc:

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

2014-10-13 Thread Stephen Hemminger
On Sun, 12 Oct 2014 23:23:05 -0700 Yong Wang wrote: > Shouldn't reset vlan_tci to 0 if a valid VLAN tag is stripped. > > Signed-off-by: Yong Wang Since vlan_tci is initialized to zero by rte_pktmbuf layer, the driver shouldn't be messing with it.

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

2014-10-13 Thread Marc Sune
This patch implements the KNI memzone pool in order to prevent memzone exhaustion when allocating/deallocating KNI interfaces. It adds a new API call, rte_kni_init(max_kni_ifaces) that shall be called before any call to rte_kni_alloc() if KNI is used. v2: Moved KNI fd opening to rte_kni_init().

[dpdk-dev] [PATCH 3/3] pmd i40e: Enable Transmit Segmentation Offload for TCP traffic

2014-10-13 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The patch enables the TSO HW feature for i40e PMD driver. The feature is reported by rte_dev_info_get() if enabled. Signed-off-by: Mirek Walukiewicz --- lib/librte_pmd_i40e/i40e_ethdev.c |1 + lib/librte_pmd_i40e/i40e_rxtx.c |

[dpdk-dev] [PATCH 2/3] pmd: add new header containing TCP offload specific definitions

2014-10-13 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The function for computing initial TCP header checksum. The file is common for both i40e and ixgbe PMD drivers Signed-off-by: Mirek Walukiewicz --- lib/librte_net/Makefile |3 + lib/librte_net/rte_tcp_off.h | 122

[dpdk-dev] [PATCH 1/3] pmd: add new flag to indicate TX TSO operation on the packet

2014-10-13 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz Transmission of TCP packets could be accelerated by HW Transmit Segmentation Offload. With TSO packets up to 64K could be transmismitted. When this flag is set the PMD drived will enable TCP segmentation. The new field tso_segsz is

[dpdk-dev] [PATCH 0/7] Patches to split architecture specific operations from DPDK

2014-10-13 Thread Chao CH Zhu
David, I'll update the patches acccording to your comments. Thanks! Best Regards! -- Chao Zhu From: David Marchand To: Chao CH Zhu/China/IBM at IBMCN Cc: "dev at dpdk.org" Date: 2014/10/03 21:21 Subject:Re:

[dpdk-dev] [PATCH 09/12] Remove iopl operation for IBM Power architecture

2014-10-13 Thread Chao CH Zhu
OK. I'll update the patches. Thanks for your comments! Best Regards! -- Chao Zhu From: "Ananyev, Konstantin" To: Cyril Chemparathy , Chao CH Zhu/China/IBM at IBMCN, "dev at dpdk.org" Date: 2014/10/07 22:45 Subject:

[dpdk-dev] [PATCH v4 4/7] i40e: add hash filter control implementation

2014-10-13 Thread Chilikin, Andrey
Hi Helin, Should we define packet classification types separately and do not reuse bit shifts for RSS register as pctypes? Packet classification is a global index table which used by RSS Hash Enable registers, not vice versa. For example, there is no Packet classification named

[dpdk-dev] vmxnet3 pmd dev restart

2014-10-13 Thread Navakanth M
Hi Rashmin I have tried the memset change but still I am facing the problem which I pointed out earlier. After restart, packets are not being received in vmxnet3_recv_pkts(). I have also observed PANIC in vmxnet3_tq_tx_complete() after couple of stop and start operations. PANIC in

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-13 Thread Ouyang, Changchun
Hi Thomas, If HuaweiXie's patch set for vhost library and new vhost sample could be applied into dpdk.org very soon, Then this patch could be depressed/superseded, I think his patch can fix this issue. Otherwise, this patch could be high priority as the vhost is broken in the tip code due to

[dpdk-dev] Issues running Ethtool on KNI interfaces

2014-10-13 Thread Zhang, Helin
Hi Desh Actually KNI provide a path to exchange info/actions between user space and kernel space. You can read kni example application and KNI kernel module and KNI library for more details. It already supports setting MTU, link up/down the port, etc. Regards, Helin > -Original

[dpdk-dev] Issues running Ethtool on KNI interfaces

2014-10-13 Thread Deshvanth Mirle Jayaprakash (dmirleja)
Thanks Helin, have been trying this for some time, Is there any other way I can pass IOCTLs to IGB-UIO interfaces. Can I use /dev/uio0 and /dev/uio1 ? Can I use IOCTLS on these references in Kernel to gather interface statistics, set MTU or bring up/down UIO interfaces. /Desh On 10/13/14 12:34

[dpdk-dev] Issues running Ethtool on KNI interfaces

2014-10-13 Thread Zhang, Helin
Hi Desh You tried to use ethtool for KNI interfaces in VM, right? I don't think it is supported in VM. Currently it just supports ethtool for KNI interfaces in host for some igb and ixgbe NICs. Regards, Helin > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf

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

2014-10-13 Thread Zhan, Zhaochen
Hi Helin, It still has errors: You can get access to 10.239.129.2 with root/tester. /root/zzz/dpdk is the latest dpdk code, /root/zzz/error is the latest code with the patch appled. cc1: warnings being treated as errors /root/zzz/error/app/test/test_prefetch.c:65: error: 'testfn_prefetch_cmd'

[dpdk-dev] Issues running Ethtool on KNI interfaces

2014-10-13 Thread Deshvanth Mirle Jayaprakash (dmirleja)
e: image/png Size: 12209 bytes Desc: KNI-SS4.png URL: <http://dpdk.org/ml/archives/dev/attachments/20141013/beca22c5/attachment-0004.png> -- next part -- A non-text attachment was scrubbed... Name: KNI-SS1.png Type: image/png Size: 15281 bytes Desc: KNI-SS1.png URL: <h

[dpdk-dev] DPDK - VIRTIO performance problems

2014-10-13 Thread Yan Freedland
Hi I found that what blocked me was actually the "nf_conntrack", So enlarging the maximum there solved the issue. Thanks Yan -Original Message- From: Ouyang, Changchun [mailto:changchun.ouy...@intel.com] Sent: Monday, October 13, 2014 6:10 AM To: Matthew Hall; Yan Freedland Cc: dev at

[dpdk-dev] [PATCH v4 00/10] VM Power Management

2014-10-13 Thread Liu, Yong
Patch name: VM Power Management Brief description: Verify VM power management in virtualized environments Test Flag: Tested-by Tester name:yong.liu at intel.com Test environment: OS: Fedora20 3.11.10-301.fc20.x86_64

[dpdk-dev] DPDK - VIRTIO performance problems

2014-10-13 Thread Ouyang, Changchun
Hi , > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Matthew Hall > Sent: Sunday, October 12, 2014 9:18 PM > To: Yan Freedland > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] DPDK - VIRTIO performance problems > > On Sun, Oct 12, 2014 at 12:37:37PM +,

[dpdk-dev] [PATCH 0/5]support filter of unicast and multicast MAC address for VF on Fortville

2014-10-13 Thread Liu, Jijiang
Hi Thomas, Any comments on this patch set? Thanks Jijiang Liu > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Liu, Yong > Sent: Thursday, September 25, 2014 4:18 PM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/5]support filter of unicast and

[dpdk-dev] [PATCH 5/5] vmxnet3: Some perf improvement on the rx path

2014-10-13 Thread Yong Wang
Signed-off-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 242 -- 1 file changed, 116 insertions(+), 126 deletions(-) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c index e2fb8a8..4799f4d 100644 ---

[dpdk-dev] [PATCH 4/5] vmxnet3: Add rx pkt check offloads

2014-10-13 Thread Yong Wang
Only supports IPv4 so far. Signed-off-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c index 2017d4b..e2fb8a8 100644

[dpdk-dev] [PATCH 3/5] vmxnet3: Fix dev stop/restart bug

2014-10-13 Thread Yong Wang
This change makes vmxnet3 consistent with other pmds in terms of dev_stop behavior: rather than releasing tx/rx rings, it only resets the ring structure and release the pending mbufs. Verified with various tests (test-pmd and pktgen) over vmxnet3 that dev stop/restart works fine. Signed-off-by:

[dpdk-dev] [PATCH 2/5] vmxnet3: Add VLAN Tx offload

2014-10-13 Thread Yong Wang
Signed-off-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c index 986e5e5..0b6363f 100644 --- a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c +++

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

2014-10-13 Thread Yong Wang
Shouldn't reset vlan_tci to 0 if a valid VLAN tag is stripped. Signed-off-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c index

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

2014-10-13 Thread Yong Wang
This patch series include various fixes and improvement to the vmxnet3 pmd driver. Yong Wang (5): vmxnet3: Fix VLAN Rx stripping vmxnet3: Add VLAN Tx offload vmxnet3: Fix dev stop/restart bug vmxnet3: Add rx pkt check offloads vmxnet3: Some perf improvement on the rx path