From: Govindarajulu Varadarajan <redacted>
Date: Wed, 18 Jun 2014 13:08:08 +0530
Till now enic had been doing tx clean in isr.
Using napi infrastructure to move the tx clean up out of isr to softirq.
Now, wq isr schedules napi poll. In enic_poll_msix_wq we clean up the tx queus.
This is applicable only on MSIX. In INTx and MSI we use single napi to clean
both rx & tx queues.
Signed-off-by: Govindarajulu Varadarajan <redacted>
It is recommended that TX work not count against the quota.
The cost of TX packet liberation is a minute percentage of what it
costs to process an RX frame. Furthermore, that SKB freeing makes
memory available for other paths in the stack.
So please, just unconditionally purge the entire set of pending TX
queue completion entries without regards to the passed in NAPI quota
value at all.
Thanks.