men1: discarding oversize frame (len=1518) I'm getting the following message, that seem to incomes for io-pkt stack. I didn't found in drivers examples, what shall I do to to handle packets with a size over than MTU. Can you please help ? thanks. Guillaume.
> discarding oversize frame (len=1518) The stack has received a packet that is bigger than the driver's advertised MRU. Two shots in the dark: 1) are you stripping off the CRC before you pass the packet up? 2) are you rxing packets with vlan tags? -- aboyd
Thanks. I just forgot to take care of CRC size while receiving. Guillaume Varlet -----Message d'origine----- De : Andrew Boyd [mailto:community-noreply@qnx.com] Envoyé : mardi 17 novembre 2009 15:31 À : drivers-networking Objet : RE: Discarding oversized frames > discarding oversize frame (len=1518) The stack has received a packet that is bigger than the driver's advertised MRU. Two shots in the dark: 1) are you stripping off the CRC before you pass the packet up? 2) are you rxing packets with vlan tags? -- aboyd _______________________________________________ Networking Drivers http://community.qnx.com/sf/go/post42083
On Wed, Nov 18, 2009 at 05:28:18AM -0500, Guillaume Varlet wrote: > Thanks. > > I just forgot to take care of CRC size while receiving. > > Guillaume Varlet Strip it off or or in the M_HASFCS flag in m->m_flags. -seanb