linux/drivers/net/ethernet/intel/ice
Brett Creeley 11836214d5 ice: Increase size of Mailbox receive queue for many VFs
Currently we use the ICE_MBXQ_LEN for both the Mailbox send and receive
queues that are used to communicate with VFs. This is fine for the send
queue because the PF driver will lock the queue for every single send,
but for the Mailbox receive queue every VF is posting to its Mailbox
send queue and the hardware is then handing the message to the PF on its
Mailbox receive queue. This becomes a problem with many VFs because it
seems to overburden the Mailbox receive queue on the PF. Fix this by
increasing the Mailbox receive queue for the PF to 512 entries.

The number 512 was determined based on the number of VFs supported by
the device. We can have a total of 256 VFs so in the worst case this
allows the VFs to put 2 messages in the PFs Mailbox receive queue at the
same time.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-08-20 14:37:15 -07:00
..
ice_adminq_cmd.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_common.c ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_common.h ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.c ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb_lib.c ice: Fix kernel hang with DCB reset in CEE mode 2019-08-20 14:29:22 -07:00
ice_dcb_lib.h ice: Fix hang when ethtool disables FW LLDP 2019-05-23 10:51:53 -07:00
ice_dcb.c ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb.h ice: Refactor the LLDP MIB change event handling 2019-05-23 10:51:53 -07:00
ice_devids.h
ice_ethtool.c ice: fix set pause param autoneg check 2019-08-20 13:55:28 -07:00
ice_hw_autogen.h ice: Set WB_ON_ITR when we don't re-enable interrupts 2019-08-20 14:21:21 -07:00
ice_lan_tx_rx.h ice: Always set prefena when configuring an Rx queue 2019-07-31 10:23:04 -07:00
ice_lib.c ice: Remove unnecessary flag ICE_FLAG_MSIX_ENA 2019-07-31 13:41:01 -07:00
ice_lib.h ice: Add switch rules to handle LLDP packets 2019-05-30 10:31:42 -07:00
ice_main.c ice: Increase size of Mailbox receive queue for many VFs 2019-08-20 14:37:15 -07:00
ice_nvm.c ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_osdep.h
ice_sched.c ice: Use struct_size() helper 2019-06-28 14:54:11 -07:00
ice_sched.h ice: Add code for DCB initialization part 3/4 2019-04-18 08:38:47 -07:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h
ice_status.h ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_switch.c ice: Add switch rules to handle LLDP packets 2019-05-30 10:31:42 -07:00
ice_switch.h ice: Minor cleanup in ice_switch.h 2019-05-29 02:55:34 -07:00
ice_txrx.c ice: allow empty Rx descriptors 2019-08-20 14:30:37 -07:00
ice_txrx.h ice: Set WB_ON_ITR when we don't re-enable interrupts 2019-08-20 14:21:21 -07:00
ice_type.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_virtchnl_pf.c ice: Reduce wait times during VF bringup/reset 2019-08-20 14:36:00 -07:00
ice_virtchnl_pf.h ice: Reduce wait times during VF bringup/reset 2019-08-20 14:36:00 -07:00
ice.h ice: Increase size of Mailbox receive queue for many VFs 2019-08-20 14:37:15 -07:00
Makefile ice: Add code for DCB initialization part 1/4 2019-04-18 08:38:47 -07:00