From: Ouyang Changchun <changchun.ouyang@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v2 0/5] Support virtio multicast feature
Date: Mon, 27 Oct 2014 11:37:28 +0800 [thread overview]
Message-ID: <1414381053-21644-1-git-send-email-changchun.ouyang@intel.com> (raw)
- V1 change:
This patch series support multicast feature in virtio and vhost.
The vhost backend enables the promiscuous mode and config ETH_VMDQ_ACCEPT_BROADCAST
and ETH_VMDQ_ACCEPT_MULTICAST in VMDQ offload register to receive the multicast and broadcast packets.
The virtio frontend provides the functionality of enabling and disabling the multicast and
promiscuous mode.
-V2 change:
Rework the patch basing on new vhost library and new vhost application.
Changchun Ouyang (5):
Add RX mode in VMDQ config and set the register PFVML2FLT for IXGBE
PMD; this makes VMDQ accept broadcast and multicast packets.
Set VM offload register according to VMDQ config for IGB PMD to
support broadcast and multicast packets.
To let US-vHOST accept and forward broadcast and multicast packets:
Add promiscuous option into command line; set VMDQ RX mode into:
ETH_VMDQ_ACCEPT_BROADCAST|ETH_VMDQ_ACCEPT_MULTICAST.
Add new API in virtio for supporting promiscuous and allmulticast
enable and disable.
Specify rx_mode as 0 for 2 other samples: vmdq and vhost-xen.
examples/vhost/main.c | 25 +++++++--
examples/vhost_xen/main.c | 1 +
examples/vmdq/main.c | 1 +
lib/librte_ether/rte_ethdev.h | 1 +
lib/librte_pmd_e1000/igb_rxtx.c | 20 +++++++
lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 16 ++++++
lib/librte_pmd_virtio/virtio_ethdev.c | 98 ++++++++++++++++++++++++++++++++++-
lib/librte_vhost/virtio-net.c | 4 +-
8 files changed, 161 insertions(+), 5 deletions(-)
--
1.8.4.2
next reply other threads:[~2014-10-27 3:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 3:37 Ouyang Changchun [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-27 3:38 Ouyang Changchun
2014-10-27 3:51 ` Ouyang, Changchun
2014-08-25 2:09 [dpdk-dev] [PATCH " Ouyang Changchun
2014-10-27 3:45 ` [dpdk-dev] [PATCH v2 " Ouyang Changchun
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=1414381053-21644-1-git-send-email-changchun.ouyang@intel.com \
--to=changchun.ouyang@intel.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).