aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRobert Stonehouse <[email protected]>2019-02-14 17:27:43 +0000
committerDavid S. Miller <[email protected]>2019-02-14 12:47:16 -0500
commit50f444aa50a4f3fab35a04f56d6bb83dc1e8c875 (patch)
tree327e50657842ed8c78f5629c23e1c4fd445f9cf9 /scripts/gdb/linux/utils.py
parente772261b53bc45f53693ae4514658cd376da9e56 (diff)
sfc: ensure recovery after allocation failures
After failing to allocate a receive buffer the driver may fail to ever request additional allocations. EF10 NICs require new receive buffers to be pushed in batches of eight or more. The test for whether a slow fill should be scheduled failed to take account of this. There is little downside to *always* requesting a slow fill if we failed to allocate a buffer, so the condition has been removed completely. The timer that triggers the request for a refill has also been shortened. Signed-off-by: Robert Stonehouse <[email protected]> Signed-off-by: Bert Kenward <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions