Commit ce345e08 authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

e1000e: low throughput using 4K jumbos on I218

Alter the packet buffer allocation accordingly.
Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarJeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent da1e2046
...@@ -3819,6 +3819,8 @@ void e1000e_reset(struct e1000_adapter *adapter) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment