- Don't claim 7422 MTU size is support by various 8111/8169 chips (PCI devices);
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 18 Oct 2008 11:26:52 +0000 (11:26 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 18 Oct 2008 11:26:52 +0000 (11:26 +0000)
commitb0c15aadac884841d46f5146a7d1bc0804a71d99
treee87a34f6859a15bc5aad9a95f4c2bffd9dfbea59
parent1dea81b1262da8a2b77748e4cbf59c861c7d8387
- Don't claim 7422 MTU size is support by various 8111/8169 chips (PCI devices);
  6144 MTU size works reliably.
    Set MTU above 6144 (6 * 1024) on these chips and do following test:
    netperf -H host -l 30 -t UDP_STREAM -- -m (mtu-28)
    All kinds of wiredness will pop up on the test box.
- Set max supported MTU to 9216 for 8168D.
  Obtained-from: Realtek r8168-8.008.00
- Set max supported MTU to 6144 for non-8168D GigE chips.
- Cleanup jumbo frame/MTU size related macros.

# As usual, 8169(with 88E1000 PHY) does not seem to work well with any jumbo
# frame size
sys/dev/netif/re/if_re.c
sys/dev/netif/re/if_revar.h