[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111123.185812.1721878183759040757.davem@davemloft.net>
Date: Wed, 23 Nov 2011 18:58:12 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: therbert@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH v3 03/10] net: Add netdev interfaces recording
send/compl
From: Stephen Hemminger <shemminger@...tta.com>
Date: Wed, 23 Nov 2011 09:46:14 -0800
> Since all the drivers that you show do this for one packet at a time,
> why bother with a packets arguement to netdev_sent_queue()?
They batch the completion, that's why f.e. e1000e's changes keep track of
pkts_compl and bytes_compl, and then pass that in at the end of the TX
completion processing so that we only invoke these interfaces once per
run instead of once per packet.
--
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