On 05/28/2015 06:21 PM, Stephen Hemminger wrote:
> On Thu, 28 May 2015 17:05:18 +0200
> Ivan Boule <ivan.boule at 6wind.com> wrote:
>
>> Introduce PMD API to set the list of multicast MAC addresses filtered
>> by a port.
>> Implemented in the following PMDs: igb, igbvf, em, ixgbe, and ixgbevf.
>> Implementation for physical PMDs i40e, i40evf, enic, and fm10k left
>> to their respective maintainers.
>>
>> Ivan Boule (5):
>> ethdev: add multicast address filtering
>> app/testpmd: new command to add/remove multicast MAC addresses
>> e1000: add multicast MAC address filtering
>> ixgbe: add multicast MAC address filtering
>> app/testpmd: fix reply to a multicast ICMP request
>>
>> app/test-pmd/cmdline.c | 52 ++++++++++++++
>> app/test-pmd/config.c | 142
>> ++++++++++++++++++++++++++++++++++++++
>> app/test-pmd/icmpecho.c | 65 +++++++++++++++--
>> app/test-pmd/testpmd.h | 6 ++
>> drivers/net/e1000/em_ethdev.c | 17 +++++
>> drivers/net/e1000/igb_ethdev.c | 18 +++++
>> drivers/net/ixgbe/ixgbe_ethdev.c | 32 +++++++++
>> lib/librte_ether/rte_ethdev.c | 17 +++++
>> lib/librte_ether/rte_ethdev.h | 26 +++++++
>> 9 files changed, 369 insertions(+), 6 deletions(-)
>>
>
> Looks good, could you also add support for virtio and vmxnet3?
>
As for physical NICs (i40e, etc.) listed above, I let the maintainers of
the remaining NICs where this function is relevant to implement and to
test it.
By the way, I supposed that Guest front-end vNICs were always in
promiscuous mode by construction.
Said differently: that all packets supplied "from the outside" to the
Host vNIC back-end driver were systematically delivered to the Guest
vNIC front-end, whatever their destination MAC address, VLAN id., etc.
Did I missed something ?