commit | 7db6b048da3b9f84fe1d22fb29ff7e7c2ec6c0e5 | [log] [tgz] |
---|---|---|
author | Sridhar Samudrala <sridhar.samudrala@intel.com> | Fri Mar 24 10:08:24 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 24 20:49:31 2017 -0700 |
tree | 4280f554866625190cd24db1768927764ba2bc77 | |
parent | 37056719bba500d0d2b8216fdf641e5507ec9a0e [diff] |
net: Commonize busy polling code to focus on napi_id instead of socket Move the core functionality in sk_busy_loop() to napi_busy_loop() and make it independent of sk. This enables re-using this function in epoll busy loop implementation. Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>