]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: delay less
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 6 Nov 2019 10:05:36 +0000 (02:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Nov 2019 20:03:03 +0000 (12:03 -0800)
commit88bb432a55de8ae62106305083a8bfbb23b01ad2
treeee533bc07f0b563ef155ea0d930994a9d3f95cec
parente000248ec870b2e5e2c9934191b057b5d136f267
ice: delay less

Shorten the delay for SQ responses, but increase the number of loops.
Max delay time is unchanged, but some operations complete much more
quickly.

In the process, add a new define to make the delay count and delay time
more explicit. Add comments to make things more explicit.

This fixes a problem with VF resets failing on with many VFs.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_controlq.c
drivers/net/ethernet/intel/ice/ice_controlq.h