Gianfar tx-babbling-errors

Scott Coulter scott.coulter at cyclone.com
Thu Feb 19 07:45:04 EST 2009



Kumar,

> 
> 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.
>

With the following in gfar_start_xmit():

BUG_ON(skb->len > priv->dev->mtu);

I bug checked during the NFS root boot process with skb->len at 1514 and
priv->dev->mtu at 1500.  I changed it to:

BUG_ON(skb->len > DEFAULT_RX_BUFFER_SIZE);

Compiling now.  Has not failed yet, I'll let you know.

Scott

___________________________________________________________________

  Scott N. Coulter
  Senior Software Engineer
  
  Cyclone Microsystems          
  370 James Street              Phone:  203.786.5536 ext. 118
  New Haven, CT 06513-3051      Email:  scott.coulter at cyclone.com
  U.S.A.                        Web:    http://www.cyclone.com
___________________________________________________________________




More information about the Linuxppc-dev mailing list