[Intel-wired-lan] [PATCH v8 3/3] ixgbe, ixgbevf: Add new mbox API xcast mode

Singh, Krishneil K krishneil.k.singh at intel.com
Tue Oct 13 16:12:26 UTC 2015


-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Hiroshi Shimamoto
Sent: Thursday, August 27, 2015 11:59 PM
To: Or Gerlitz <gerlitz.or at gmail.com>; Alexander Duyck <alexander.duyck at gmail.com>; Skidmore, Donald C <donald.c.skidmore at intel.com>; Rose, Gregory V <gregory.v.rose at intel.com>; Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; intel-wired-lan at lists.osuosl.org; nhorman at redhat.com; jogreene at redhat.com; Linux Netdev List <netdev at vger.kernel.org>; Choi, Sy Jong <sy.jong.choi at intel.com>; Rony Efraim <ronye at mellanox.com>; Edward Cree <ecree at solarflare.com>; David Miller <davem at davemloft.net>; sassmann at redhat.com
Subject: [Intel-wired-lan] [PATCH v8 3/3] ixgbe, ixgbevf: Add new mbox API xcast mode

From: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>

The limitation of the number of multicast address for VF is not enough for the large scale server with SR-IOV feature. IPv6 requires the multicast MAC address for each IP address to handle the Neighbor Solicitation message. We couldn't assign over 30 IPv6 addresses to a single VF.

This patch introduces the new mailbox API, IXGBE_VF_UPDATE_XCAST_MODE, to update multicast mode of VF. This adds 3 modes;
  - NONE     only L2 exact match addresses or Flow Director enabled
  - MULTI    BAM and ROMPE set
  - ALLMULTI BAM, ROMPE and MPE set

If a guest VF user wants over 30 MAC multicast addresses, set IFF_ALLMULTI to request PF to update xcast mode to enable VF multicast promiscuous mode.

On the other hand, enabling VF multicast promiscuous mode may affect security and performance in the network of the NIC. Only trusted VF can enable multicast promiscuous mode. The behavior of untrusted VF is the same as previous version.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
---
 
Tested-by: Krishneil Singh <Krishneil.k.singh at intel.com>




More information about the Intel-wired-lan mailing list