aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMitch Williams <[email protected]>2019-05-14 10:37:09 -0700
committerJeff Kirsher <[email protected]>2019-06-17 15:39:26 -0700
commitefa14c3985828da3163f5372137cb64d992b0f79 (patch)
tree3b2fa40bc5029a871cc45ebaf97b772f08edb7b6 /tools/perf/scripts/python/bin
parent68dfe6348f06945f900bfea803e1e030e7e158e6 (diff)
iavf: allow null RX descriptors
In some circumstances, the hardware can hand us a null receive descriptor, with no data attached but otherwise valid. Unfortunately, the driver was ill-equipped to handle such an event, and would stop processing packets at that point. To fix this, use the Descriptor Done bit instead of the size to determine whether or not a descriptor is ready to be processed. Add some checks to allow for unused buffers. Signed-off-by: Mitch Williams <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions