lkml.org 
[lkml]   [2012]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v9] tilegx network driver: initial support
    From
    Date
    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 ?




    \
     
     \ /
      Last update: 2012-06-06 19:41    [W:3.017 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site