linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbe
Hiroshi Shimamoto 8443c1a4b1 ixgbe, ixgbevf: Add new mbox API xcast mode
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@ct.jp.nec.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-10-23 05:52:26 -07:00
..
ixgbe_82598.c ixgbe: Add a PHY power state method 2015-06-09 17:21:14 -07:00
ixgbe_82599.c ixgbe: Add X550EM_x dual-speed SFP+ support 2015-09-23 22:29:41 -07:00
ixgbe_common.c ixgbe: Fix FCRTH value in VM-to-VM loopback mode 2015-09-23 23:04:48 -07:00
ixgbe_common.h ixgbe: Add X550EM_x dual-speed SFP+ support 2015-09-23 22:29:41 -07:00
ixgbe_dcb_82598.c ixgbe: convert low_water into an array 2014-04-22 23:07:11 -07:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: Fix FCRTH value in VM-to-VM loopback mode 2015-09-23 23:04:48 -07:00
ixgbe_dcb_82599.h ixgbe: clean up checkpatch warnings about CODE_INDENT and LEADING_SPACE 2014-05-23 05:24:04 -07:00
ixgbe_dcb_nl.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_dcb.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_dcb.h IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_debugfs.c ixgbe: don't check NULL for debugfs_remove_recursive 2014-05-23 05:28:24 -07:00
ixgbe_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe_fcoe.c ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_fcoe.h ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_lib.c ixgbe: Limit lowest interrupt rate for adaptive interrupt moderation to 12K 2015-09-15 17:05:12 -07:00
ixgbe_main.c ixgbe: Add new ndo to trust VF 2015-10-23 05:48:53 -07:00
ixgbe_mbx.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_mbx.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
ixgbe_phy.c ixgbe: Allow SFP+ on more than 82598 and 82599 2015-09-23 22:40:59 -07:00
ixgbe_phy.h ixgbe: Add logic to reset CS4227 when needed 2015-09-23 22:34:29 -07:00
ixgbe_ptp.c ptp: ixgbe: use helpers for converting ns to timespec. 2015-03-31 17:19:19 -04:00
ixgbe_sriov.c ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
ixgbe_sriov.h ixgbe: Add new ndo to trust VF 2015-10-23 05:48:53 -07:00
ixgbe_sysfs.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_type.h ixgbe: add flow control ethertype to the anti-spoofing filter 2015-10-13 23:46:49 -07:00
ixgbe_x540.c ixgbe: Correct error path in semaphore handling 2015-09-23 22:48:10 -07:00
ixgbe_x540.h ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00
ixgbe_x550.c ixgbe: Check for setup_internal_link method 2015-10-15 02:27:25 -07:00
ixgbe.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
Makefile ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00