svn commit: r216284 - head/sys/dev/usb/net

Pyun YongHyeon pyunyh at gmail.com
Wed Dec 8 18:30:04 UTC 2010


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


More information about the svn-src-all mailing list