]> git.baikalelectronics.ru Git - kernel.git/commit
enic: do tx cleanup in napi poll
authorGovindarajulu Varadarajan <_govind@gmx.com>
Mon, 23 Jun 2014 10:38:05 +0000 (16:08 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jun 2014 21:32:20 +0000 (14:32 -0700)
commit50734f339322d9e971c3616b6fc7f7716bc90cdb
treec3f002369ac3d8c478efb797561e9069f7c35f98
parenta1357e75d8236c7bdd8e3eca0f43227cfc1fbee9
enic: do tx cleanup in napi poll

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 <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_main.c