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....@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.coque...@redhat.com>

Thanks,
Maxime

Reply via email to