Re: [PATCH 0/2] Get rid of ndo_xmit_flush
From: David Miller <davem@davemloft.net>
Date: 2014-09-01 22:36:01
From: David Miller <davem@davemloft.net>
Date: 2014-09-01 22:36:01
From: Hannes Frederic Sowa <redacted> Date: Tue, 02 Sep 2014 00:31:09 +0200
I am afraid that TX-lock is per nic-queue and it won't work out that easy because skbs for different queues can reside in a Qdisc.
Batching will help mostly when netif_queue_start() triggers, when we are in steady state stopping and re-starting the txq. What we really care about are the qdisc <--> txq one to one relationship which is by far the most common case. In the multiple txq to qdisc case, we still can benefit because packets for one txq will still tend to bunch op and give deferral opportunities.