DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] virtio: enable indirect descriptors feature
@ 2016-09-02 15:55 Pierre Pfister (ppfister)
  2016-09-05  2:20 ` Yuanhan Liu
  0 siblings, 1 reply; 15+ messages in thread
From: Pierre Pfister (ppfister) @ 2016-09-02 15:55 UTC (permalink / raw)
  To: dev; +Cc: Pierre Pfister (ppfister)

Indirect descriptors support was disabled by commit 59d593f472a7,
presumably by accident as it was correctly supported.

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>
---
 drivers/net/virtio/virtio_ethdev.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/virtio/virtio_ethdev.h b/drivers/net/virtio/virtio_ethdev.h
index 2ecec6e..31c91a5 100644
--- a/drivers/net/virtio/virtio_ethdev.h
+++ b/drivers/net/virtio/virtio_ethdev.h
@@ -63,6 +63,7 @@
         1u << VIRTIO_NET_F_CTRL_RX       |     \
         1u << VIRTIO_NET_F_CTRL_VLAN     |     \
         1u << VIRTIO_NET_F_MRG_RXBUF     |     \
+        1u << VIRTIO_RING_F_INDIRECT_DESC |    \
         1ULL << VIRTIO_F_VERSION_1)

 /*
--
2.7.4 (Apple Git-66)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-09-08  1:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 15:55 [dpdk-dev] [PATCH] virtio: enable indirect descriptors feature Pierre Pfister (ppfister)
2016-09-05  2:20 ` Yuanhan Liu
2016-09-05  6:49   ` Pierre Pfister (ppfister)
2016-09-05  6:49     ` Pierre Pfister (ppfister)
2016-09-05  6:49     ` Pierre Pfister (ppfister)
2016-09-05  6:52   ` [dpdk-dev] [PATCH v2] " Pierre Pfister (ppfister)
2016-09-05  6:52     ` Pierre Pfister (ppfister)
2016-09-05  6:52     ` Pierre Pfister (ppfister)
2016-09-05 14:24     ` Maxime Coquelin
2016-09-05 21:08       ` Stephen Hemminger
2016-09-06  6:49         ` Pierre Pfister (ppfister)
2016-09-06 15:32           ` Stephen Hemminger
2016-09-06 16:09             ` [dpdk-dev] [PATCH v3] " Pierre Pfister (ppfister)
2016-09-07  2:57               ` Yuanhan Liu
2016-09-06  7:44         ` [dpdk-dev] [PATCH v2] " Maxime Coquelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).