ice: change default number of receive descriptors
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 3 Sep 2019 08:31:07 +0000 (01:31 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 5 Sep 2019 15:13:41 +0000 (08:13 -0700)
commitdd47e1fd8650417af7956c63f46b000ad0e314f5
tree8f71821809eec7d42ad2a07a3b510afb42477f2b
parent8c243700ab10a56171858cc9dd17c5d6494a0ed6
ice: change default number of receive descriptors

The driver should start out with a reasonable number of descriptors that
can prevent drops due to a CPU being in a power management state.
Change the default number of descriptors to 2048.
The user can always change the value at runtime.  Transmit descriptor
counts are not modified because they don't need to change due to the
speed of the interface, or for power managed CPUs, but the code is
simplified to a fixed value for the transmit default.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@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.h