diff options
author | Vineeth Remanan Pillai <vineethp@amazon.com> | 2017-02-07 18:59:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 16:34:05 -0500 |
commit | 538d92912d3190a1dd809233a0d57277459f37b2 (patch) | |
tree | 3a0ff3c7ae5e688124425606039b8ae960e5d5de /include/net/llc_pdu.h | |
parent | 6d9f66ac7fec2a6ccd649e5909806dfe36f1fc25 (diff) |
xen-netfront: Rework the fix for Rx stall during OOM and network stress
The commit 90c311b0eeea ("xen-netfront: Fix Rx stall during network
stress and OOM") caused the refill timer to be triggerred almost on
all invocations of xennet_alloc_rx_buffers for certain workloads.
This reworks the fix by reverting to the old behaviour and taking into
consideration the skb allocation failure. Refill timer is now triggered
on insufficient requests or skb allocation failure.
Signed-off-by: Vineeth Remanan Pillai <vineethp@amazon.com>
Fixes: 90c311b0eeea (xen-netfront: Fix Rx stall during network stress and OOM)
Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/llc_pdu.h')
0 files changed, 0 insertions, 0 deletions