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

2014-09-12 Thread Zhou, Danny
> -Original Message- > From: John W. Linville [mailto:linville at tuxdriver.com] > Sent: Saturday, September 13, 2014 2:54 AM > To: Zhou, Danny > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] librte_pmd_packet: add PMD for > AF_PACKET-based virtual devices > > On Fri, Sep 12,

[dpdk-dev] [PATCH v4 5/5] lib/librte_vhost: add vhost lib support in makefile

2014-09-12 Thread Huawei Xie
The build of vhost lib requires fuse development package. It is turned off by default so as not to break DPDK build. Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev Acked-by: Tommy Long --- config/common_linuxapp | 7 +++ lib/Makefile | 1 + mk/rte.app.mk | 5

[dpdk-dev] [PATCH v4 4/5] coding style issue fix

2014-09-12 Thread Huawei Xie
This vhost lib is based on old vhost example, and there are still plenty of coding style issues left. Will fix those issues once this patch is applied. Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev Acked-by: Tommy Long --- lib/librte_vhost/rte_virtio_net.h | 52

[dpdk-dev] [PATCH v4 3/5] lib/librte_vhost: vhost lib refactor

2014-09-12 Thread Huawei Xie
This vhost lib consists of five APIs plus several other helper routines for feature disable/enable. 1) rte_vhost_driver_register to register vhost driver to the system. 2) rte_vhost_driver_callback_register to register the callback. Callbacks are called when virtio device is ready for polling or

[dpdk-dev] [PATCH v4 2/5] lib/librte_vhost: re-factor vhost lib for subsequent transform

2014-09-12 Thread Huawei Xie
This patch does simple split of the original vhost example source files. vhost rx/tx functions virtio_dev_rx/tx are copied from main.c to new file vhost_rxtx.c. main.c and main.h are removed. A new vhost example patchset will be submitted later based on these two files. Makefile for old example is

[dpdk-dev] [PATCH v4 1/5] lib/librte_vhost: mv vhost example to vhost lib directory for further code re-factoring

2014-09-12 Thread Huawei Xie
This commit creates vhost library directory, and copies vhost example into it. Signed-off-by: Huawei Xie Acked-by: Konstantin Ananyev Acked-by: Tommy Long --- examples/vhost/Makefile | 60 - examples/vhost/eventfd_link/Makefile | 39 -

[dpdk-dev] [PATCH v4 0/5] lib/librte_vhost: user space vhost cuse driver library

2014-09-12 Thread Huawei Xie
This set of patches transforms and refactors vhost example to a user space vhost cuse 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 switching with guest virtio. Change notes: v2)

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

2014-09-12 Thread Zhou, Danny
I am concerned about its performance caused by too many memcpy(). Specifically, on Rx side, kernel NIC driver needs to copy packets to skb, then af_packet copies packets to AF_PACKET buffer which are mapped to user space, and then those packets to be copied to DPDK mbuf. In addition, 3 copies

[dpdk-dev] 1.7.1 testpmd hangs system

2014-09-12 Thread David S. Roth
All, When I execute testpmd as shown below, it runs to the prompt apparently without error but the system becomes unresponsive and I am forced to reboot. Any suggestions as to why this is happening? Thanks in advance, David oot at dpdk-26:~/src/C/dpdk-1.7.1/x86_64-native-linuxapp-gcc#

[dpdk-dev] [PATCH 07/13] mbuf: use macros only to access the mbuf metadata

2014-09-12 Thread Dumitrescu, Cristian
Bruce, Olivier, What is the reason to remove this field? Please explain the rationale of removing this field. We previously agreed we need to provide an easy and standard mechanism for applications to extend the mandatory per buffer metadata (mbuf) with optional application-dependent

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

2014-09-12 Thread John W. Linville
On Fri, Sep 12, 2014 at 06:31:08PM +, Zhou, Danny wrote: > I am concerned about its performance caused by too many > memcpy(). Specifically, on Rx side, kernel NIC driver needs to copy > packets to skb, then af_packet copies packets to AF_PACKET buffer > which are mapped to user space, and

[dpdk-dev] [PATCH v3 8/8]app/testpmd:test VxLAN Tx checksum offload

2014-09-12 Thread Jijiang Liu
Add test cases in testpmd to test VxLAN Tx Checksum offload, which include - IPv4 tunnel and IPv6 tunnel - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/config.c |6

[dpdk-dev] [PATCH v3 7/8]i40e:support VxLAN Tx checksum offload

2014-09-12 Thread Jijiang Liu
Support VxLAN Tx checksum offload, which include - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v3 6/8]app/testpmd:test VxLAN packet filter API

2014-09-12 Thread Jijiang Liu
Add tunnel_filter command in testpmd to test VxLAN packet filter API. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c | 153 +++- 1 files changed, 152 insertions(+), 1

[dpdk-dev] [PATCH v3 5/8]i40e:implement API of VxLAN packet filter in librte_pmd_i40e

2014-09-12 Thread Jijiang Liu
The implementation of VxLAN tunnel filter in librte_pmd_i40e, which include - add the i40e_dev_filter_ctrl() function. - add the i40e_dev_tunnel_filter_set() function. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen ---

[dpdk-dev] [PATCH v3 4/8]librte_ether:add a common filter API

2014-09-12 Thread Jijiang Liu
Introduce a new filter framewok in librte_ether. As to the implemetation discussion, please refer to http://dpdk.org/ml/archives/dev/2014-September/005179.html, and VxLAN tunnel filter implementation is based on it. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu ---

[dpdk-dev] [PATCH v3 3/8]app/test-pmd:test VxLAN packet identification

2014-09-12 Thread Jijiang Liu
Add commands to test VxLAN packet identification, which include - use commands to add/delete VxLAN UDP port. - use rxonly mode to receive VxLAN packet. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing Wu Acked-by: Jing Chen --- app/test-pmd/cmdline.c| 78

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

2014-09-12 Thread Jijiang Liu
Support tunneling UDP port configuration on i40e in librte_pmd_i40e. Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Implement the APIs to configure VxLAN UDP port in librte_pmd_i40e. Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by: Jingjing

[dpdk-dev] [PATCH v3 1/8]i40e:support VxLAN packet identification in librte_ether

2014-09-12 Thread Jijiang Liu
Add data structures and APIs in librte_ether for supporting tunneling UDP port configuration on i40e, Currently, only VxLAN is implemented, which include - VxLAN UDP port initialization - Add APIs to configure VxLAN UDP port Signed-off-by: Jijiang Liu Acked-by: Helin Zhang Acked-by:

[dpdk-dev] [PATCH v3 0/8]Support VxLAN on Fortville

2014-09-12 Thread Jijiang Liu
The patch set supports VxLAN on Fortville based on current mbuf structure. When Bruce's new mbuf structure is done, there will be minor changes later. It includes: - Support VxLAN packet identification by configuring tunneling UDP port. - Support VxLAN packet filters. It uses MAC and VLAN to

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

2014-09-12 Thread John W. Linville
Ping? Are there objections to this patch from mid-July? John On Mon, Jul 14, 2014 at 02:24:50PM -0400, John W. Linville wrote: > This is a Linux-specific virtual PMD driver backed by an AF_PACKET > socket. This implementation uses mmap'ed ring buffers to limit copying > and user/kernel

[dpdk-dev] [PATCH v2 00/17] cleanup logs in main PMDs

2014-09-12 Thread Bruce Richardson
On Mon, Sep 01, 2014 at 12:24:23PM +0200, David Marchand wrote: > Here is a patchset that reworks the log macro in e1000, ixgbe and i40e PMDs. > The idea behind this is to make it easier to debug some init failures and to > be > sure of the datapath selected in these PMDs (rx / tx handlers

[dpdk-dev] [PATCH 0/3] eal affinitize low priority threads to lcore 0

2014-09-12 Thread Richardson, Bruce
> -Original Message- > From: Hiroshi Shimamoto [mailto:h-shimamoto at ct.jp.nec.com] > Sent: Friday, September 12, 2014 12:48 AM > To: Richardson, Bruce; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 0/3] eal affinitize low priority threads to > lcore 0 > > Hi Bruce, > > > Subject:

[dpdk-dev] [PATCH] virtio: fix crash if VIRTIO_NET_F_CTRL_VQ is not negotiated

2014-09-12 Thread Ouyang, Changchun
Hi > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > damarion at cisco.com > Sent: Friday, September 12, 2014 6:25 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] virtio: fix crash if VIRTIO_NET_F_CTRL_VQ is not > negotiated > > From: Damjan Marion

[dpdk-dev] Testing vmdq sample application

2014-09-12 Thread Wei-Chun Chao
In this case the 'vhost' example is probably what you're looking for. It supports VM2VM and VM to external traffic. Thanks, Weichun On Thu, Sep 11, 2014 at 3:58 AM, ANKIT BATRA wrote: > Hi, > > I want to use VMDQ for traffic exchange between virtual machines and > external world. Need to know

[dpdk-dev] [PATCH 0/3] eal affinitize low priority threads to lcore 0

2014-09-12 Thread Hiroshi Shimamoto
Hi Bruce, > Subject: [dpdk-dev] [PATCH 0/3] eal affinitize low priority threads to lcore 0 > > This patchset sets things up so that we can affinitize the interrupt, > vfio management, and hpet timer management threads to lcore 0, so that > they never interfere with data plane threads. I don't