[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-25 Thread Yuanhan Liu
On Mon, Aug 22, 2016 at 11:35:47AM +0200, Maxime Coquelin wrote: > >-virtio_enqueue_offload(m, _hdr.hdr); > >-copy_virtio_net_hdr(dev, desc_addr, virtio_hdr); > >+/* handle virtio header */ > >+virtio_hdr = (struct virtio_net_hdr_mrg_rxbuf *)(uintptr_t)desc_addr; > >+

[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-23 Thread Wang, Zhihong
Hi Maxime, Thanks very much for the detailed review. > -Original Message- > From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] > Sent: Monday, August 22, 2016 5:36 PM > To: Wang, Zhihong ; dev at dpdk.org > Cc: yuanhan.liu at linux.intel.com > Subject: Re: [PATCH v3 1/5] vhost:

[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-22 Thread Maxime Coquelin
On 08/19/2016 07:43 AM, Zhihong Wang wrote: > This patch implements the vhost logic from scratch into a single function > designed for high performance and better maintainability. > > --- > Changes in v3: > > 1. Rewrite enqueue and delete the obsolete in the same patch. > > Signed-off-by:

[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-19 Thread Zhihong Wang
This patch implements the vhost logic from scratch into a single function designed for high performance and better maintainability. --- Changes in v3: 1. Rewrite enqueue and delete the obsolete in the same patch. Signed-off-by: Zhihong Wang --- lib/librte_vhost/vhost_rxtx.c | 537