net/virtio: move features definition to generic header
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 26 Jan 2021 10:16:14 +0000 (11:16 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:09 +0000 (18:16 +0100)
commitb4f9a45affd26ddfdb373b79e4ebd78fe2da1383
treea14a9b46695f2b9dd9bf1c26e2b0ab32f96f06e2
parentf8b60756360491439578266ff0ee5eb2bcf39dc3
net/virtio: move features definition to generic header

This patch moves all the Virtio definition to the generic
header. It also renames some helpers to no more reference
PCI.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
13 files changed:
drivers/net/virtio/meson.build
drivers/net/virtio/virtio.c [new file with mode: 0644]
drivers/net/virtio/virtio.h
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h
drivers/net/virtio/virtio_ring.h
drivers/net/virtio/virtio_rxtx.c
drivers/net/virtio/virtio_rxtx_packed.h
drivers/net/virtio/virtio_user/vhost_kernel_tap.c
drivers/net/virtio/virtio_user_ethdev.c
drivers/net/virtio/virtqueue.c
drivers/net/virtio/virtqueue.h