Re: [PATCH v9] tilegx network driver: initial support
From: Eric Dumazet <hidden>
Date: 2012-06-06 17:31:48
Also in:
lkml
From: Eric Dumazet <hidden>
Date: 2012-06-06 17:31:48
Also in:
lkml
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 ?