[dpdk-dev] [PATCH v3 0/5] Support virtio multicast feature

Ouyang Changchun changchun.ouyang at intel.com
Fri Oct 31 06:19:12 CET 2014


 - 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.

 -V3 change:
Rework the patch for comments, split commits.

Changchun Ouyang (5):
  Add vmdq rx mode field into rx config struct.
  Config VM offload register in igb PMD to enable it receive broadcast
    and multicast packets.
  Config PFVML2FLT register in ixgbe PMD to enable it receive broadcast
    and multicast packets.
  Add new API in virtio for supporting promiscuous and allmulticast
    enable and disable.
  This is to enable user space vhost receiving and forwarding broadcast
    and multicast packets:     Use new option in command line to enable
    promisc mode;     Enable 2 bits in VMDQ RX mode:
    ETH_VMDQ_ACCEPT_BROADCAST and ETH_VMDQ_ACCEPT_MULTICAST.

 examples/vhost/main.c                 | 24 ++++++++--
 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 | 90 ++++++++++++++++++++++++++++++++++-
 lib/librte_vhost/virtio-net.c         |  4 +-
 6 files changed, 150 insertions(+), 5 deletions(-)

-- 
1.8.4.2



More information about the dev mailing list