> -----Original Message----- > From: Intel-wired-lan [mailto:[email protected]] On > Behalf Of Hiroshi Shimamoto > Sent: Thursday, April 09, 2015 6:08 PM > To: Kirsher, Jeffrey T; Alexander Duyck; intel-wired-lan > Cc: [email protected]; [email protected]; > [email protected]; Choi, Sy Jong; [email protected]; David > Laight; Hayato Momma; Edward Cree; Or Gerlitz; Bjørn Mork > Subject: [Intel-wired-lan] [PATCH v4 3/3] ixgbe: Add new ndo to allow VF > multicast promiscuous mode > > From: Hiroshi Shimamoto <[email protected]> > > Implements the new netdev op to allow VF multicast promiscuous mode. > > The multicast promiscuous mode is not allowed for all VFs by default. > > The administrator can allow to VF multicast promiscuous mode for only trusted > VM. After allowing multicast promiscuous mode from the host, we can use over > 30 IPv6 addresses on VM. > # ip link set dev eth0 vf 1 mc_promisc on > > When disallowing multicast promiscuous mode, ixgbevf can only handle 30 > IPv6 addresses at most. > # ip link set dev eth0 vf 1 mc_promisc off > > Signed-off-by: Hiroshi Shimamoto <[email protected]> > Reviewed-by: Hayato Momma <[email protected]> > CC: Choi, Sy Jong <[email protected]> > --- > > v4: Put reconfiguration of MC promiscuous mode into the previous loop. > > drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 + > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 5 ++++ > drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 32 > ++++++++++++++++++++++++-- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h | > 2 ++ > 4 files changed, 38 insertions(+), 2 deletions(-)
Tested-by: Phil Schmitt <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

