virtio_ring: advertize packed ring layout
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:30 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:40 +0000 (22:17 -0800)
Advertize the packed ring layout support.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/virtio/virtio_ring.c

index 40e4d3798d162de2c29e72634e12d32070f5874a..cd7e755484e3be873cbcc73369a2ddadf1c4f376 100644 (file)
@@ -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);