Re: [PATCH v9] tilegx network driver: initial support

From: Eric Dumazet
Date: Wed Jun 06 2012 - 13:31:42 EST


On Mon, 2012-06-04 at 16:12 -0400, Chris Metcalf wrote:
> This change adds support for the tilegx network driver based on the
> GXIO IORPC support in the tilegx software stack, using the on-chip
> mPIPE packet processing engine.

> +static void tile_net_setup(struct net_device *dev)
> +{
> + ether_setup(dev);
> + dev->netdev_ops = &tile_net_ops;
> + dev->watchdog_timeo = TILE_NET_TIMEOUT;
> + dev->features |= NETIF_F_LLTX;
> + dev->features |= NETIF_F_HW_CSUM;
> + dev->features |= NETIF_F_SG;
> + dev->features |= NETIF_F_TSO;
> + dev->tx_queue_len = 0;
> + dev->mtu = 1500;
> +}

Why is tx_queue_len set to 0 ?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/