[dpdk-dev] [PATCH 05/10] net/virtio: refactor virtqueue structure

Maxime Coquelin maxime.coquelin at redhat.com
Tue Mar 19 14:28:59 CET 2019



On 3/19/19 7:43 AM, Tiwei Bie wrote:
> Put split ring and packed ring specific fields into separate
> sub-structures, and also union them as they won't be available
> at the same time.
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   drivers/net/virtio/virtio_ethdev.c           | 71 +++++++++---------
>   drivers/net/virtio/virtio_rxtx.c             | 66 ++++++++---------
>   drivers/net/virtio/virtio_rxtx_simple.h      |  2 +-
>   drivers/net/virtio/virtio_rxtx_simple_neon.c |  2 +-
>   drivers/net/virtio/virtio_rxtx_simple_sse.c  |  2 +-
>   drivers/net/virtio/virtqueue.c               |  6 +-
>   drivers/net/virtio/virtqueue.h               | 77 +++++++++++---------
>   7 files changed, 117 insertions(+), 109 deletions(-)
> 


Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime


More information about the dev mailing list