[Intel-wired-lan] [PATCH v4 2/3] if_link: Add VF multicast promiscuous control

Schmitt, Phillip J phillip.j.schmitt at intel.com
Tue Apr 28 19:37:08 UTC 2015



> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Hiroshi Shimamoto
> Sent: Thursday, April 09, 2015 6:05 PM
> To: Kirsher, Jeffrey T; Alexander Duyck; intel-wired-lan
> Cc: vyasevic at redhat.com; e1000-devel at lists.sourceforge.net;
> netdev at vger.kernel.org; Choi, Sy Jong; linux-kernel at vger.kernel.org; David
> Laight; Hayato Momma; Edward Cree; Or Gerlitz; Bjørn Mork
> Subject: [Intel-wired-lan] [PATCH v4 2/3] if_link: Add VF multicast promiscuous
> control
> 
> From: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
> 
> Add netlink directives and ndo entry to allow VF multicast promiscuous mode.
> 
> This controls the permission to enter VF multicast promiscuous mode.
> The administrator will dedicatedly allow multicast promiscuous per VF.
> 
> When the VF is under multicast promiscuous mode, all multicast packets are sent
> to the VF.
> 
> Don't allow VF multicast promiscuous if the VM isn't fully trusted.
> 
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
> Reviewed-by: Hayato Momma <h-momma at ce.jp.nec.com>
> CC: Choi, Sy Jong <sy.jong.choi at intel.com>
> ---
>  include/linux/if_link.h      |  1 +
>  include/linux/netdevice.h    |  3 +++
>  include/uapi/linux/if_link.h |  6 ++++++
>  net/core/rtnetlink.c         | 19 +++++++++++++++++--
>  4 files changed, 27 insertions(+), 2 deletions(-)

Tested-by: Phil Schmitt <phillip.j.schmitt at intel.com>


More information about the Intel-wired-lan mailing list