Thread (2 messages) flat view 2 messages, 2 authors, 2018-05-16

Re: [RFC v4 5/5] virtio_ring: enable packed ring

From: Sergei Shtylyov <hidden>
Date: 2018-05-16 10:21:24
Also in: lkml, netdev

On 5/16/2018 11:37 AM, Tiwei Bie wrote:
quoted hunk
Signed-off-by: Tiwei Bie <redacted>
---
  drivers/virtio/virtio_ring.c | 2 ++
  1 file changed, 2 insertions(+)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index de3839f3621a..b158692263b0 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -1940,6 +1940,8 @@ void vring_transport_features(struct virtio_device *vdev)
  			break;
  		case VIRTIO_F_IOMMU_PLATFORM:
  			break;
+		case VIRTIO_F_RING_PACKED:
+			break;
    Why not just add this *case* under the previous *case*?
   		default:
  			/* We don't understand this bit. */
  			__virtio_clear_bit(vdev, i);
MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help