提交 ce345e08 编写于 作者: B Bruce Allan 提交者: Jeff Kirsher

e1000e: low throughput using 4K jumbos on I218

Alter the packet buffer allocation accordingly.
Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
Tested-by: NJeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 da1e2046
......@@ -3819,6 +3819,8 @@ void e1000e_reset(struct e1000_adapter *adapter)
break;
}
pba = 14;
ew32(PBA, pba);
fc->high_water = ((pba << 10) * 9 / 10) & E1000_FCRTH_RTH;
fc->low_water = ((pba << 10) * 8 / 10) & E1000_FCRTL_RTL;
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册