Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 12:20:48 -0500
From:      Tom Judge <tom@tomjudge.com>
To:        Mr Y <yonyossef.lists@gmail.com>
Cc:        freebsd-net@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: OS throws away large packets
Message-ID:  <48160770.2080509@tomjudge.com>
In-Reply-To: <20def4870804280859g3c18eae0x1af9e97ae8776916@mail.gmail.com>
References:  <20def4870804280859g3c18eae0x1af9e97ae8776916@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mr Y wrote:
> Hi all,
> 
> I'm trying to implement Large Recieve Offload for an Ethernet driver on
> FreeBSD 6.3, but all my >MTU packets are being thrown by the OS.
> I'm using mbuf chains in this imlpementation, each mbuf is a cluster of
> MCLBYTES bytes. They are linked by the m_next pointer.
> The first packet being thrown away is 2945 bytes long. Wireshark shows the
> packet that is being passed to the OS is correct.
> 
> Do I need to set some OS parameter to make it recieve mbuf chains?
> 
> Please help.
> 

Hi Yony,

I seem to remember some discussion about this list last year see the 
following threads:

http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015250.html
http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015350.html

 From my limited reading of these threads just now and possibly bad 
memory.  It would seem that the MRU to MTU relationship is defined in 
the nic driver rather than enforced further up the stack or at least 
that seamed to be the case with the bce driver.

Hope this is helpful,

Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48160770.2080509>