linux_dsm_epyc7002/drivers/net/ethernet/intel
Alexander Duyck 4e039c1675 ixgbe: Fix limitations on macvlan so we can support up to 63 offloaded devices
This change is a fix of the macvlan offload so that we correctly handle
macvlan offloaded devices. Specifically we were configuring our limits based
on the assumption that we were going to max out the RSS indices for every
mode. As a result when we went to 15 or more macvlan interfaces we were
forced into the 2 queue RSS mode on VFs even though they could have still
supported 4.

This change splits the logic up so that we limit either the total number of
macvlan instances if DCB is enabled, or limit the number of RSS queues used
per macvlan (instead of per pool) if SR-IOV is enabled. By doing this we
can make best use of the part.

In addition I have increased the maximum number of supported interfaces to
63 with one queue per offloaded interface as this more closely reflects the
actual values supported by the interface.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-01-09 08:49:04 -08:00
..
e1000 e1000: Replace WARN_ONCE with netdev_WARN_ONCE 2018-01-08 20:53:14 -05:00
e1000e e1000e: fix the use of magic numbers for buffer overrun issue 2017-11-27 13:57:10 -08:00
fm10k fm10k: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:48:39 -08:00
i40e i40e: setup xdp_rxq_info 2018-01-05 15:21:21 -08:00
i40evf i40evf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:52:38 -08:00
igb igb: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:47:24 -08:00
igbvf igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:46:04 -08:00
ixgb ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
ixgbe ixgbe: Fix limitations on macvlan so we can support up to 63 offloaded devices 2018-01-09 08:49:04 -08:00
ixgbevf ixgbevf: remove redundant setting of xcast_mode 2018-01-09 08:39:01 -08:00
e100.c ethernet/intel: Convert timers to use timer_setup() 2017-10-18 12:40:26 +01:00
Kconfig i40evf: Add support for Adaptive Virtual Function 2017-06-01 14:30:02 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00