commit | 248b213ad908b88db15941202ef7cb7eb137c1a0 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Thu Jan 26 09:38:33 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 25 22:47:30 2017 -0500 |
tree | 603bb08737e6cff5ab0d694cf904d539d58925c9 | |
parent | de9bf29dd6e4a8a874cb92f8901aed50a9d0b1d3 [diff] |
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>