[dpdk-dev] [PATCH 3/8] net/virtio: simplify queue allocation
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Nov 3 21:48:03 CET 2016
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 <yuanhan.liu at linux.intel.com>
> ---
> drivers/net/virtio/virtio_ethdev.c | 18 +++++++-----------
> drivers/net/virtio/virtqueue.h | 7 +++++++
> 2 files changed, 14 insertions(+), 11 deletions(-)
Other than that:
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list