vnic: report that the driver supports multicast

The driver is currently hardcoded to force promiscuous mode, so all of
the MAC filtering code is presently unused and multicast should "just
work."  Report to the higher layers that multicast is supported.

PR:		223573
Reported by:	bz
Sponsored by:	The FreeBSD Foundation, Packet.net (hardware)
This commit is contained in:
Ed Maste 2017-11-14 16:31:11 +00:00
parent dd00abf2d7
commit 3bfef74a1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325811

View File

@ -350,7 +350,7 @@ nicvf_setup_ifnet(struct nicvf *nic)
if_setsoftc(ifp, nic);
if_initname(ifp, device_get_name(nic->dev), device_get_unit(nic->dev));
if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX);
if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
if_settransmitfn(ifp, nicvf_if_transmit);
if_setqflushfn(ifp, nicvf_if_qflush);