summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_ring.c
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.bie@intel.com>2018-11-21 11:03:30 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-27 07:17:40 +0100
commitf959a128fe83090981add69aadc87a4e496e9369 (patch)
treeb87766cacf2a9d96e2e04c9fa1be8d22779f5646 /drivers/virtio/virtio_ring.c
parentvirtio_ring: disable packed ring on unsupported transports (diff)
downloadlinux-f959a128fe83090981add69aadc87a4e496e9369.tar.xz
linux-f959a128fe83090981add69aadc87a4e496e9369.zip
virtio_ring: advertize packed ring layout
Advertize the packed ring layout support. Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/virtio/virtio_ring.c')
-rw-r--r--drivers/virtio/virtio_ring.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 40e4d3798d16..cd7e755484e3 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -2211,6 +2211,8 @@ void vring_transport_features(struct virtio_device *vdev)
break;
case VIRTIO_F_IOMMU_PLATFORM:
break;
+ case VIRTIO_F_RING_PACKED:
+ break;
default:
/* We don't understand this bit. */
__virtio_clear_bit(vdev, i);