]> asedeno.scripts.mit.edu Git - linux.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)
commit1aec6e1b0886569c5c6e92d6d5fc25e6779e7f23
tree22f6cb99b84368c3a90e16d7b1715e0758b8b240
parente65e9e1566f769362a228e4772d74ac43ad83e98
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