e1000e: low throughput using 4K jumbos on I218
Alter the packet buffer allocation accordingly. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
da1e2046e5
commit
ce345e082e
@@ -3819,6 +3819,8 @@ void e1000e_reset(struct e1000_adapter *adapter)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pba = 14;
|
||||||
|
ew32(PBA, pba);
|
||||||
fc->high_water = ((pba << 10) * 9 / 10) & E1000_FCRTH_RTH;
|
fc->high_water = ((pba << 10) * 9 / 10) & E1000_FCRTH_RTH;
|
||||||
fc->low_water = ((pba << 10) * 8 / 10) & E1000_FCRTL_RTL;
|
fc->low_water = ((pba << 10) * 8 / 10) & E1000_FCRTL_RTL;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user