[dpdk-dev] DPDK Performance issue with l2fwd

2014-07-12 Thread zachary....@cas-well.com
Hi Bruce: Thanks for your reply so much. All my test are using 1518 byte packets and keep the criteria which I told before due to I need to know how many Gb can be handle in our platform. Originally, I think it should no any limitations in DPDK. But, it seems a little surprised for me when I get

[dpdk-dev] [PATCH] virtio: Support mergeable buffer in virtio PMD.

2014-07-12 Thread Ouyang Changchun
This patch supports mergeable buffer feature in DPDK based virtio PMD, which can receive jumbo frame with larger size, like 3K, 4K or even 9K. Signed-off-by: Ouyang Changchun --- lib/librte_pmd_virtio/virtio_ethdev.c | 20 ++-- lib/librte_pmd_virtio/virtio_ethdev.h | 3 + lib/librte_pmd_virt

[dpdk-dev] VM2VM_HARDWARE mode on i350

2014-07-12 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wei-Chun Chao > Sent: Saturday, July 12, 2014 4:48 AM > To: dev at dpdk.org > Subject: [dpdk-dev] VM2VM_HARDWARE mode on i350 > > Hi, > I was playing with vhost example to measure VM to VM throughput. With > d

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-12 Thread Neil Horman
On Fri, Jul 11, 2014 at 06:47:47PM +0200, Thomas Monjalon wrote: > 2014-07-11 11:30, John W. Linville: > > On Fri, Jul 11, 2014 at 05:04:04PM +0200, Thomas Monjalon wrote: > > > 2014-07-11 10:51, John W. Linville: > > > > On Fri, Jul 11, 2014 at 03:26:39PM +0200, Thomas Monjalon wrote: > > > > > Th

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-12 Thread Zhou, Danny
I just upgraded my kernel to 3.15.5 and hardcoded below captured from include/uapi/linux/if_packet.h to librte_pmd_packet.c to workaround it, now I can receive/transmit packet now. Commenting out PACKET_FANOUT_FLAG_ROLLOVER would cause no packet can be received. #define PACKET_QDISC_BYPASS

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-12 Thread Thomas Monjalon
2014-07-11 13:40, John W. Linville: > Is there an example of code in DPDK that requires specific kernel > versions? What is the preferred method for coding such dependencies? No there is no userspace code checking kernel version in DPDK. Feel free to use what you think the best method. Please kee

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-12 Thread Thomas Monjalon
About the form of the patch, I have 2 comments: 1) A doc explaining the design, the dependencies and how it can be used would be a great help. Could you write it in rst format? 2) checkpatch.pl returns these errors: ERROR:SPACING: space required before the open parenthesis '(' #468: FILE: lib/l