diff options
author | 2005-08-11 19:25:54 -0700 | |
---|---|---|
committer | 2005-08-11 19:25:54 -0700 | |
commit | 0db1d6fc1ea051af49ebe03c503d23996a7c5bbb (patch) | |
tree | 6afab02002a46b045a3b8769342ad277402f0d95 /include/linux/mmc | |
parent | [NETPOLL]: netpoll_send_skb simplify (diff) | |
download | wireguard-linux-0db1d6fc1ea051af49ebe03c503d23996a7c5bbb.tar.xz wireguard-linux-0db1d6fc1ea051af49ebe03c503d23996a7c5bbb.zip |
[NETPOLL]: add retry timeout
Add limited retry logic to netpoll_send_skb
Each time we attempt to send, decrement our per-device retry counter.
On every successful send, we reset the counter.
We delay 50us between attempts with up to 20000 retries for a total of
1 second. After we've exhausted our retries, subsequent failed
attempts will try only once until reset by success.
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions