Gianfar tx-babbling-errors

Kumar Gala galak at kernel.crashing.org
Thu Feb 19 04:29:03 EST 2009


On Feb 18, 2009, at 11:22 AM, Scott Coulter wrote:

> Kumar,
>
>> I'm told this will occur when:
>
>> Transmitted frame > MAXFRM and MACCFG2[Huge En] = 0.
>
> In the driver it looks like the MACCFG2_HUGEFRAME only gets set if the
> mtu > DEFAULT_RX_BUFFER_SIZE (1536 in my kernel).  It appears as  
> though
> the mtu is set to 1500.  Under what conditions would the driver  
> attempt
> to send a frame larger than the mtu?

can't think of any.  How about adding a BUG_ON() in the tx path to see  
if the buffer size > MTU and re-run your tests.

- k



More information about the Linuxppc-dev mailing list