Skip to content

Commit

Permalink
vnic: report that the driver supports multicast
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
emaste committed Nov 14, 2017
1 parent dd00abf commit 3bfef74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/vnic/nicvf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3bfef74

Please sign in to comment.