net/virtio: introduce generic virtio header
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 26 Jan 2021 10:16:13 +0000 (11:16 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:09 +0000 (18:16 +0100)
commitf8b60756360491439578266ff0ee5eb2bcf39dc3
tree29e6a67956da9746b0e7f16047056b4d036c30dd
parentc8d4b02f72aefda2dbe2895cd661c29161a6770d
net/virtio: introduce generic virtio header

This patch moves virtio_hw and virtio callbacks into
a generic virtio header, now that they have been
curated from PCI references.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/net/virtio/virtio.h [new file with mode: 0644]
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h
drivers/net/virtio/virtio_pci_ethdev.c
drivers/net/virtio/virtio_user_ethdev.c
drivers/net/virtio/virtqueue.h