shithub: riscv

Download patch

ref: 998d47855044d262db7608a72929f2b59e858226
parent: 1759a1746d3629e29c924d70cf6632cfb2c14209
author: cinap_lenrek <[email protected]>
date: Sat Jan 12 16:07:12 EST 2019

ether82563: work arround spurious jumbo packets on i217 (thanks k0ga)

i217 appears to receive spurious jumbo frame and then
stops receiving completely. reducing the mtu to 2k as
a work arround for now.

--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -491,7 +491,7 @@
 [i82580]	"i82580",	9728,	F75|F79phy,
 [i82583]	"i82583",	1514,	0,
 [i210]		"i210",		9728,	F75|Fnofct|Fert,
-[i217]		"i217",		9018,	Fload|Fnofct|Fert|Fbadcsum,
+[i217]		"i217",		2048,	Fload|Fert|Fnofct|Fbadcsum,	/* 9018, but unstable above 2k */
 [i218]		"i218",		9018,	Fload|Fert|F79phy|Fnofct|Fbadcsum,
 [i219]		"i219",		9018,	Fload|Fert|F79phy|Fnofct|Fbadcsum,
 [i350]		"i350",		9728,	F75|F79phy|Fnofct,