aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
diff options
context:
space:
mode:
authorMitch Williams <[email protected]>2019-07-25 01:55:34 -0700
committerJeff Kirsher <[email protected]>2019-08-20 14:30:37 -0700
commitac6f733a7bd5e23ce9d58ef995f51fbd1ad2fa97 (patch)
treee1e1c76ab60d9dd98d8f4b1c75ade5646d1eb033 /tools/perf/scripts/python/bin/export-to-sqlite-report
parent7829570e287d938fc49b8ae151d9af26436967a8 (diff)
ice: allow empty Rx descriptors
In some circumstances, the hardware will hand us a receive descriptor which has no data attached, but is otherwise valid. The receive code was improperly ignoring these descriptors, which result in an infinite loop. To fix this, change the receive code to process all descriptors, regardless of the size of the associated data. Add checks to the memory-handling functions to allow for zero size. 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/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions