Re: [dpdk-dev] [PATCH v7 09/15] vhost: add shadow used ring support for packed rings

2018-07-05 Thread Tiwei Bie
On Thu, Jul 05, 2018 at 04:28:20PM +0200, Maxime Coquelin wrote: > On 07/05/2018 04:03 PM, Tiwei Bie wrote: > > On Thu, Jul 05, 2018 at 02:49:34PM +0200, Maxime Coquelin wrote: > > > On 07/05/2018 09:15 AM, Tiwei Bie wrote: > > > > On Wed, Jul 04, 2018 at 11:54:32PM +0200, Maxime Coquelin wrote: >

Re: [dpdk-dev] [PATCH v7 09/15] vhost: add shadow used ring support for packed rings

2018-07-05 Thread Maxime Coquelin
On 07/05/2018 04:03 PM, Tiwei Bie wrote: On Thu, Jul 05, 2018 at 02:49:34PM +0200, Maxime Coquelin wrote: On 07/05/2018 09:15 AM, Tiwei Bie wrote: On Wed, Jul 04, 2018 at 11:54:32PM +0200, Maxime Coquelin wrote: [...] + +static __rte_always_inline void +flush_shadow_used_ring_packed(struct

Re: [dpdk-dev] [PATCH v7 09/15] vhost: add shadow used ring support for packed rings

2018-07-05 Thread Tiwei Bie
On Thu, Jul 05, 2018 at 02:49:34PM +0200, Maxime Coquelin wrote: > On 07/05/2018 09:15 AM, Tiwei Bie wrote: > > On Wed, Jul 04, 2018 at 11:54:32PM +0200, Maxime Coquelin wrote: > > [...] > > > + > > > +static __rte_always_inline void > > > +flush_shadow_used_ring_packed(struct virtio_net *dev, > >

Re: [dpdk-dev] [PATCH v7 09/15] vhost: add shadow used ring support for packed rings

2018-07-05 Thread Maxime Coquelin
On 07/05/2018 09:15 AM, Tiwei Bie wrote: On Wed, Jul 04, 2018 at 11:54:32PM +0200, Maxime Coquelin wrote: [...] + +static __rte_always_inline void +flush_shadow_used_ring_packed(struct virtio_net *dev, + struct vhost_virtqueue *vq) +{ [...] +} + +static __rte_always_in

Re: [dpdk-dev] [PATCH v7 09/15] vhost: add shadow used ring support for packed rings

2018-07-05 Thread Tiwei Bie
On Wed, Jul 04, 2018 at 11:54:32PM +0200, Maxime Coquelin wrote: [...] > + > +static __rte_always_inline void > +flush_shadow_used_ring_packed(struct virtio_net *dev, > + struct vhost_virtqueue *vq) > +{ [...] > +} > + > +static __rte_always_inline void > +update_shadow_used_rin

[dpdk-dev] [PATCH v7 09/15] vhost: add shadow used ring support for packed rings

2018-07-04 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 9 -- lib/librte_vhost/vhost.h | 13 ++-- lib/librte_vhost/vhost_user.c | 64 -- lib/librte_vhost/virtio_net.c | 71 +-- 4 files changed, 13