Files
linux/drivers/net/ethernet/intel/ice
Young Xiao d01b26e77a ice: Do not enable NAPI on q_vectors that have no rings
[ Upstream commit eec903769b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:47:15 +01:00
..
2018-08-23 10:02:15 -07:00
2018-08-23 11:34:26 -07:00
2018-08-23 09:46:17 -07:00
2018-08-23 11:34:26 -07:00
2018-03-26 09:59:08 -07:00
2018-03-26 11:18:36 -07:00
2018-11-27 16:13:06 +01:00
2018-03-26 12:11:19 -07:00