[dpdk-dev] [PATCH v2 0/5] Support virtio multicast feature
Ouyang, Changchun
changchun.ouyang at intel.com
Mon Oct 27 04:51:36 CET 2014
Pls ignore this duplicated one,
The mail server should has some issue, I cancel the sending out in first 2 times but it still sent it out. :-( Sorry for that.
Changchun
> -----Original Message-----
> From: Ouyang, Changchun
> Sent: Monday, October 27, 2014 11:39 AM
> To: dev at dpdk.org
> Cc: Cao, Waterman; Ouyang, Changchun
> Subject: [PATCH v2 0/5] Support virtio multicast feature
>
> - 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
More information about the dev
mailing list