summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-03-24 16:23:38 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-25 02:33:04 +0300
commite7fea0b9d09e2f7d32776f5198192dfc2572a5b9 (patch)
treeeac737f44e00e6c169ef95795517213aa8fede1c /tools/perf/scripts/python/export-to-postgresql.py
parentf26667a373f34ace925c90a1e881b1774d640dc8 (diff)
downloadlinux-e7fea0b9d09e2f7d32776f5198192dfc2572a5b9.tar.xz
net: axienet: Improve DMA error handling
Since 0 is a valid DMA address, we cannot use the physical address to check whether a TX descriptor is valid and is holding a DMA mapping. Use the "cntrl" member of the descriptor to make this decision, as it contains at least the length of the buffer, so 0 points to an uninitialised buffer. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions