Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2017 13:59:40 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r326059 - stable/11/sys/dev/vnic
Message-ID:  <201711211359.vALDxeCw090880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Nov 21 13:59:40 2017
New Revision: 326059
URL: https://svnweb.freebsd.org/changeset/base/326059

Log:
  MFC r325811: 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

Modified:
  stable/11/sys/dev/vnic/nicvf_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/vnic/nicvf_main.c
==============================================================================
--- stable/11/sys/dev/vnic/nicvf_main.c	Tue Nov 21 13:56:30 2017	(r326058)
+++ stable/11/sys/dev/vnic/nicvf_main.c	Tue Nov 21 13:59:40 2017	(r326059)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711211359.vALDxeCw090880>