Attached is a patch to enable jumbo frames on Intel's i82574L and i8257IT wm(4) parts. They support jumbo frames as advertised in http://download.intel.com/design/network/ProdBrf/319918.pdf . The patch is against r1.174 of if_wm.c; I gave up waiting on a cvs up after about 90 minutes. Tested to work on a discrete i82574L (Intel Pro/1000 CT, PCIe). Cheers, -- Thomas E. Spanjaard tgen%netphreax.net@localhost tgen%deepbone.net@localhost
Enable jumbo frames on i82574{L,IT}. Chips are advertised to support up to 9018-byte frame sizes in http://download.intel.com/design/network/ProdBrf/319918.pdf Index: sys/dev/pci/if_wm.c =================================================================== RCS file: /cvsroot/src/sys/dev/pci/if_wm.c,v retrieving revision 1.174 diff -u -r1.174 if_wm.c --- sys/dev/pci/if_wm.c 7 Apr 2009 18:42:30 -0000 1.174 +++ sys/dev/pci/if_wm.c 28 Oct 2009 17:53:46 -0000 @@ -1564,8 +1564,7 @@ IFQ_SET_MAXLEN(&ifp->if_snd, max(WM_IFQUEUELEN, IFQ_MAXLEN)); IFQ_SET_READY(&ifp->if_snd); - if (sc->sc_type != WM_T_82573 && sc->sc_type != WM_T_82574 && - sc->sc_type != WM_T_ICH8) + if (sc->sc_type != WM_T_82573 && sc->sc_type != WM_T_ICH8) sc->sc_ethercom.ec_capabilities |= ETHERCAP_JUMBO_MTU; /*
Attachment:
signature.asc
Description: OpenPGP digital signature