aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorstephen hemminger <[email protected]>2017-07-28 08:59:45 -0700
committerDavid S. Miller <[email protected]>2017-07-29 15:25:43 -0700
commit7426b1a51803ba2d368177363a134b98b0a8d1c0 (patch)
tree76bc72d1dca7afb26bced93ee47e979be4dedaab /tools/perf/scripts/python/bin
parent02b6de01af1d116c107d61fa3e8583be3b97ac3c (diff)
netvsc: optimize receive completions
Optimize how receive completion ring are managed. * Allocate only as many slots as needed for all buffers from host * Allocate before setting up sub channel for better error detection * Don't need to keep copy of initial receive section message * Precompute the watermark for when receive flushing is needed * Replace division with conditional test * Replace atomic per-device variable with per-channel check. * Handle corner case where receive completion send fails if ring buffer to host is full. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions