net/virtio: support packed ring notification data
authorCheng Jiang <cheng1.jiang@intel.com>
Mon, 13 Jan 2020 03:31:33 +0000 (03:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commit7e72f3ec1a8abefd9321a61e484846e16177f5b1
treef143f43af5b500d0f16a22736a4da1aac3ac82ce
parent109c38b2e9aacfb2b5f4f4c28cf4025b444b70f1
net/virtio: support packed ring notification data

This patch supports the feature that the driver passes extra data
(besides identifying the virtqueue) in its device notifications,
expanding the notifications to include the avail index and avail
wrap counter.

Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_ethdev.h
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h