IB/hfi1: Adjust hardware buffering parameter

It was determined that 0x880 is a better value for hardware buffering,
use it.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Tento commit je obsažen v:
Harish Chegondi
2016-09-25 07:42:01 -07:00
odevzdal Doug Ledford
rodič 50921be0c7
revize e8a70af286
2 změnil soubory, kde provedl 3 přidání a 3 odebrání

Zobrazit soubor

@@ -13385,9 +13385,9 @@ static void init_rbufs(struct hfi1_devdata *dd)
/*
* Give up after 1ms - maximum wait time.
*
* RBuf size is 148KiB. Slowest possible is PCIe Gen1 x1 at
* RBuf size is 136KiB. Slowest possible is PCIe Gen1 x1 at
* 250MB/s bandwidth. Lower rate to 66% for overhead to get:
* 148 KB / (66% * 250MB/s) = 920us
* 136 KB / (66% * 250MB/s) = 844us
*/
if (count++ > 500) {
dd_dev_err(dd,