mirror_ubuntu-kernels/drivers/net/ethernet/intel
Brett Creeley f34f55557a ice: Allow 2 queue pairs per VF on SR-IOV initialization
Currently VFs are only allowed to get 16, 4, and 1 queue pair by
default, which require 17, 5, and 2 MSI-X vectors respectively. This
is because each VF needs a MSI-X per data queue and a MSI-X for its
other interrupt. The calculation is based on the number of VFs created,
MSI-X available, and queue pairs available at the time of VF creation.

Unfortunately the values above exclude 2 queue pairs when only 3 MSI-X
are available to each VF based on resource constraints. The current
calculation would default to 2 MSI-X and 1 queue pair. This is a waste
of resources, so fix this by allowing 2 queue pairs per VF when there
are between 2 and 5 MSI-X available per VF.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2020-08-01 08:44:04 -07:00
..
e1000 e1000: Remove unnecessary usages of memset 2020-07-30 10:51:25 -07:00
e1000e e1000e: Remove unnecessary usages of memset 2020-07-30 10:51:25 -07:00
fm10k fm10k: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
i40e i40e: introduce new dump desc XDP command 2020-07-01 14:44:17 -07:00
iavf iavf: use generic power management 2020-07-30 08:32:03 -07:00
ice ice: Allow 2 queue pairs per VF on SR-IOV initialization 2020-08-01 08:44:04 -07:00
igb igb: use eth_zero_addr() to clear mac address 2020-07-30 11:41:45 -07:00
igbvf igbvf: use generic power management 2020-07-30 08:36:08 -07:00
igc igc: Fix static checker warning 2020-07-27 08:49:32 -07:00
ixgb net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
ixgbe ixgbe: use eth_zero_addr() to clear mac address 2020-07-30 11:40:08 -07:00
ixgbevf ixgbevf: use generic power management 2020-07-30 08:44:17 -07:00
e100.c e100: use generic power management 2020-07-30 10:50:55 -07:00
Kconfig ice: implement device flash update via devlink 2020-07-28 17:07:06 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00