diff options
author | Govindarajulu Varadarajan <_govind@gmx.com> | 2014-06-23 14:38:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-24 01:32:19 +0400 |
commit | 14747cd977195a8aae13d0b1ad021e33c8786afe (patch) | |
tree | 25f8225f9c5f9cf8d9abd29f98417b193d44a94e /drivers/net/sb1000.c | |
parent | 8e091340cfcd6f96ca0dddb078ce28c407a6d44c (diff) | |
download | linux-14747cd977195a8aae13d0b1ad021e33c8786afe.tar.xz |
enic: add low latency socket busy_poll support
This patch adds support for low latency busy_poll.
* Introduce drivers ndo_busy_poll function enic_busy_poll, which is called by
socket waiting for data.
* Introduce locking between napi_poll nad busy_poll
* enic_busy_poll cleans up all the rx pkts possible. While in busy_poll, rq
holds the state ENIC_POLL_STATE_POLL. While in napi_poll, rq holds the state
ENIC_POLL_STATE_NAPI.
* in napi_poll we return if we are in busy_poll. Incase of INTx & msix, we just
service wq and return if busy_poll is going on.
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sb1000.c')
0 files changed, 0 insertions, 0 deletions