]> git.lizzy.rs Git - plan9front.git/commitdiff
ether82563: work arround spurious jumbo packets on i217 (thanks k0ga)
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sat, 12 Jan 2019 20:07:12 +0000 (21:07 +0100)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sat, 12 Jan 2019 20:07:12 +0000 (21:07 +0100)
i217 appears to receive spurious jumbo frame and then
stops receiving completely. reducing the mtu to 2k as
a work arround for now.

sys/src/9/pc/ether82563.c

index a9f8380f12eefe1b14c012945234fdd4a5e49717..2d249f352187a95d75411133bf55a3d4f527b4e8 100644 (file)
@@ -491,7 +491,7 @@ static Ctlrtype cttab[Nctlrtype] = {
 [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,