net/virtio: enable indirect descriptors feature
authorPierre Pfister <ppfister@cisco.com>
Wed, 7 Sep 2016 02:46:18 +0000 (10:46 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 13 Sep 2016 03:25:09 +0000 (05:25 +0200)
commiteb9dce6c3eb5f980f5206427d4dd8d7aea0cf960
tree11574f54ed7114cd267856d3b6bacd2252567970
parent255c4829adbf68c5e7df7a3becf0465ddea5925f
net/virtio: enable indirect descriptors feature

Virtio indirect descriptors are supported by the data-path
but the feature bit is never set during feature negociation.

This patch simply adds VIRTIO_RING_F_INDIRECT_DESC back to
the supported features bit mask, hence enabling the use of
indirect descriptors when the feature is negociated with the
device.

Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_ethdev.h