Date: Wed, 8 Dec 2010 10:30:04 -0800 From: Pyun YongHyeon <pyunyh@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Pyun YongHyeon <yongari@freebsd.org> Subject: Re: svn commit: r216284 - head/sys/dev/usb/net Message-ID: <20101208183004.GA10892@michelle.cdnetworks.com> In-Reply-To: <201012080826.50794.hselasky@c2i.net> References: <201012080124.oB81O5Te086075@svn.freebsd.org> <201012080826.50794.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101208183004.GA10892>