summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2017-01-26 02:38:33 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-26 04:47:30 +0100
commit248b213ad908b88db15941202ef7cb7eb137c1a0 (patch)
tree603bb08737e6cff5ab0d694cf904d539d58925c9 /init
parentr8152: avoid start_xmit to schedule napi when napi is disabled (diff)
downloadlinux-248b213ad908b88db15941202ef7cb7eb137c1a0.tar.xz
linux-248b213ad908b88db15941202ef7cb7eb137c1a0.zip
r8152: re-schedule napi for tx
Re-schedule napi after napi_complete() for tx, if it is necessay. In r8152_poll(), if the tx is completed after tx_bottom() and before napi_complete(), the scheduling of napi would be lost. Then, no one handles the next tx until the next napi_schedule() is called. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions