RE: [PATCH v4 3/3] ixgbe: Add new ndo to allow VF multicast promiscuous mode

From: Schmitt, Phillip J
Date: Tue Apr 28 2015 - 15:37:46 EST




> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@xxxxxxxxxxxxxxxx] On
> Behalf Of Hiroshi Shimamoto
> Sent: Thursday, April 09, 2015 6:08 PM
> To: Kirsher, Jeffrey T; Alexander Duyck; intel-wired-lan
> Cc: vyasevic@xxxxxxxxxx; e1000-devel@xxxxxxxxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx; Choi, Sy Jong; linux-kernel@xxxxxxxxxxxxxxx; 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 <h-shimamoto@xxxxxxxxxxxxx>
>
> 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 <h-shimamoto@xxxxxxxxxxxxx>
> Reviewed-by: Hayato Momma <h-momma@xxxxxxxxxxxxx>
> CC: Choi, Sy Jong <sy.jong.choi@xxxxxxxxx>
> ---
>
> 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 <phillip.j.schmitt@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/