]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5220da21c70e3c729c4c919a65a2b6ae261e48b8
tree8f71821809eec7d42ad2a07a3b510afb42477f2b
parentc8314b53939a11b2e4ca77cfad3ceccb16b1b724
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