]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Set minimum default Rx descriptor count to 512
authorBrett Creeley <brett.creeley@intel.com>
Tue, 16 Apr 2019 17:30:41 +0000 (10:30 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 May 2019 09:38:50 +0000 (02:38 -0700)
commit4015250c0020f52a8d944405d957e1cadab9da66
tree22f6cb99b84368c3a90e16d7b1715e0758b8b240
parent2f01ab4c613561db61d7032fed087a2190991f4d
ice: Set minimum default Rx descriptor count to 512

Currently we set the default number of Rx descriptors per
queue to the system's page size divided by the number of bytes per
descriptor. For 4K page size systems this is resulting in 128 Rx
descriptors per queue. This is causing more dropped packets than desired
in the default configuration. Fix this by setting the minimum default
Rx descriptor count per queue to 512.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-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>
drivers/net/ethernet/intel/ice/ice.h