1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel/ice
Young Xiao eec903769b ice: Do not enable NAPI on q_vectors that have no rings
If ice driver has q_vectors w/ active NAPI that has no rings,
then this will result in a divide by zero error. To correct it
I am updating the driver code so that we only support NAPI on
q_vectors that have 1 or more rings allocated to them.

See commit 13a8cd191a ("i40e: Do not enable NAPI on q_vectors
that have no rings") for detail.

Signed-off-by: Young Xiao <YangX92@hotmail.com>
Acked-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-12-20 12:10:24 -08:00
..
ice.h ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_adminq_cmd.h ice: Cosmetic formatting changes 2018-11-20 11:39:04 -08:00
ice_common.c ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_common.h ice: Poll for link status change 2018-10-24 14:30:40 -07:00
ice_controlq.c ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_controlq.h ice: Update expected FW version 2018-10-24 13:56:37 -07:00
ice_devids.h ice: Change device ID define names to align with branding string 2018-10-24 13:53:30 -07:00
ice_ethtool.c ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_hw_autogen.h ice: Fix debug print in ice_tx_timeout 2018-11-13 09:09:25 -08:00
ice_lan_tx_rx.h ice: Cosmetic formatting changes 2018-11-20 11:39:04 -08:00
ice_lib.c ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_lib.h ice: Make ice_msix_clean_rings static 2018-10-24 13:35:36 -07:00
ice_main.c ice: Do not enable NAPI on q_vectors that have no rings 2018-12-20 12:10:24 -08:00
ice_nvm.c ice: Update request resource command to latest specification 2018-08-28 10:17:06 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_sched.h ice: Fix to make VLAN priority tagged traffic to appear on all TCs 2018-11-13 09:09:26 -08:00
ice_sriov.c ice: Cosmetic formatting changes 2018-11-20 11:39:04 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00
ice_switch.c ice: Fix possible NULL pointer de-reference 2018-11-20 11:39:04 -08:00
ice_switch.h ice: Free VSI contexts during for unload 2018-11-06 12:46:47 -08:00
ice_txrx.c ethernet/intel: consolidate NAPI and NAPI exit 2018-11-21 10:35:23 -08:00
ice_txrx.h ice: Fix tx_timeout in PF driver 2018-11-06 12:46:47 -08:00
ice_type.h ice: Calculate guaranteed VSIs per function and use it 2018-11-13 09:09:26 -08:00
ice_virtchnl_pf.c ice: Cosmetic formatting changes 2018-11-20 11:39:04 -08:00
ice_virtchnl_pf.h ice: Cosmetic formatting changes 2018-11-20 11:39:04 -08:00
Makefile ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00