diff options
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | 2011-12-23 17:12:10 +0100 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-01-04 05:54:01 +0100 |
commit | 8d4548f2b7407f7212f71831bb7b457ceb752709 (patch) | |
tree | ad1fb9783cccfbe803eeae77811f177659f9fd3d /block/blk-core.c | |
parent | IB/qib: Optimize locking for get_txreq() (diff) | |
download | linux-8d4548f2b7407f7212f71831bb7b457ceb752709.tar.xz linux-8d4548f2b7407f7212f71831bb7b457ceb752709.zip |
IB/qib: Default some module parameters optimally
Minimize the need for users to have to set module parameters to get
good performance.
The following two parameters are changed:
- rcvhdrcnt to twice the rcvegrcnt
- pcie_caps=0x51
The rcvhdrcnt at twice the egrcount allows the preemptive NAK code
during reception to function in 100% of the cases rather than a sender
jiffies-based timeout.
The pcie_caps default of 0x51 will set the proposed MaxPayload and
MaxReceiveReqest to 256 and 4096 respectively. The capabilities on
the root complex will be used to limit those values.
Reviewed-by: Ram Vepa <ram.vepa@qlogic.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions