DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Pierre Pfister (ppfister)" <ppfister@cisco.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "Pierre Pfister (ppfister)" <ppfister@cisco.com>
Subject: [dpdk-dev] [PATCH] virtio: enable indirect descriptors feature
Date: Fri, 2 Sep 2016 15:55:24 +0000	[thread overview]
Message-ID: <516F65D3-4706-4CC5-916B-6ECD29CBE177@cisco.com> (raw)

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)

             reply	other threads:[~2016-09-02 15:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02 15:55 Pierre Pfister (ppfister) [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516F65D3-4706-4CC5-916B-6ECD29CBE177@cisco.com \
    --to=ppfister@cisco.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).