[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090901.011810.103801726.davem@davemloft.net>
Date: Tue, 01 Sep 2009 01:18:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH 01/19] netdev: change transmit to limited range type
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 01 Sep 2009 09:39:47 +0200
> I was wondering if we could add a third parameter to
> ndo_start_xmit() (and pass the struct netdev_queue *txq)
> in a smooth way, but could not find a solution.
Don't think that others didn't think about this too :-)
> Unconverted drivers would not care of this third param; but this
> should be provided by callers (like dev_hard_start_xmit())
>
> Most multiqueue drivers have to recompute it, and even monoqueue drivers
> have to call netif_stop_queue(dev)/netif_queue_stopped(dev), all
> using netdev_get_tx_queue(dev, 0) in the end...
At least that is a constant structure offset reference, and thus
computed at compile time.
Anyways, I like Stephen's netdev_tx_t changes and I'm build testing
them now in my net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists