]> Git Repo - linux.git/commit
net: thunderx: Wakeup TXQ only if CQE_TX are processed
authorSunil Goutham <[email protected]>
Wed, 29 Jul 2015 13:49:42 +0000 (16:49 +0300)
committerDavid S. Miller <[email protected]>
Thu, 30 Jul 2015 06:52:31 +0000 (23:52 -0700)
commit74840b83bd59ee51c591714470c6629ac18f424a
tree5732034820e8d8f51b266e5747e7ba446c04df62
parentf8ce9666fa63da7e5afd9ff6e3221f86555621f3
net: thunderx: Wakeup TXQ only if CQE_TX are processed

Previously TXQ is wakedup whenever napi is executed
and irrespective of if any CQE_TX are processed or not.
Added 'txq_stop' and 'txq_wake' counters to aid in debugging
if there are any future issues.

Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: Aleksey Makarov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c
drivers/net/ethernet/cavium/thunder/nicvf_main.c
This page took 0.054396 seconds and 4 git commands to generate.