On Wed, Dec 08, 2010 at 08:26:50AM +0100, Hans Petter Selasky wrote: > On Wednesday 08 December 2010 02:24:05 Pyun YongHyeon wrote: > > - if (m->m_pkthdr.len > MCLBYTES) { > > - m->m_pkthdr.len = MCLBYTES; > > - } > > You are sure that no packets passed to this code is bigger than MCLBYTES > minus > overhead by AXE protocol ? Even if MTU is changed by ifconfig? >
Yes and Yes. axe(4) uses uether_ioctl which in turn calls default ether_ioctl. Users have no way to use jumbo frame on axe(4) since ether_ioctl does not allow it. Actually axe(4) supports jumbo frame but I don't think it's worth to implement it due to many limitation of USB ethernet controller. > --HPS _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"