[dpdk-dev] [PATCH 3/8] net/virtio: simplify queue allocation

2016-11-04 Thread Yuanhan Liu
On Thu, Nov 03, 2016 at 09:48:03PM +0100, Maxime Coquelin wrote: > > > On 11/03/2016 05:09 PM, Yuanhan Liu wrote: > >Let rxq/txq/cq be the union field of the virtqueue struct. This would > >simplifies the vq allocation a bit: we don't need calculate the vq_size > >any more based on the queue time

[dpdk-dev] [PATCH 3/8] net/virtio: simplify queue allocation

2016-11-04 Thread Yuanhan Liu
Let rxq/txq/cq be the union field of the virtqueue struct. This would simplifies the vq allocation a bit: we don't need calculate the vq_size any more based on the queue time. Signed-off-by: Yuanhan Liu --- drivers/net/virtio/virtio_ethdev.c | 18 +++--- drivers/net/virtio/virtqueue.

[dpdk-dev] [PATCH 3/8] net/virtio: simplify queue allocation

2016-11-03 Thread Maxime Coquelin
On 11/03/2016 05:09 PM, Yuanhan Liu wrote: > Let rxq/txq/cq be the union field of the virtqueue struct. This would > simplifies the vq allocation a bit: we don't need calculate the vq_size > any more based on the queue time. s/time/type/ ? > > Signed-off-by: Yuanhan Liu > --- > drivers/net/virt