Virtual device hdlc0 asks to que packet!
joakim.tjernlund at transmode.se
Wed Mar 5 22:52:33 EST 2008
On Wed, 2008-03-05 at 11:04 +0100, Joakim Tjernlund wrote:
> On Wed, 2008-03-05 at 00:43 -0800, Russell McGuire wrote:
> > Jocke,
> > I wonder how one change this? I don't remember any of the API calls
> > referencing this, so maybe the default to 1000? Or perhaps that is protocol
> > specific. I will hunt through some of Freescale's Ethernet drivers and see
> > if I can't find anything.
> default is 1000 for ethernet.
> See tx_queue_len in net/ethernet/eth.c,
> ether_setup(struct net_device *dev)
> Maybe you can find out from there.
int mpc8360hdlc_register_netdev_ops(struct net_device *dev, dev_data_t *dev_data)
dev->tx_queue_len = 100;
More information about the Linuxppc-embedded