net/virtio: reuse packed ring functions
authorMarvin Liu <yong.liu@intel.com>
Wed, 29 Apr 2020 07:28:18 +0000 (15:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:26 +0000 (15:54 +0200)
commit57f90f89458807bccc63425e4b72796870177977
tree958ba08ceb2746aaae623128a8cb7dc660572e1c
parent6b7eefbceb203801a4a8538596a36219f05184f3
net/virtio: reuse packed ring functions

Move offload, xmit cleanup and packed xmit enqueue function to header
file. These functions will be reused by packed ring vectorized path.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c
drivers/net/virtio/virtqueue.h