aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorShay Agroskin <[email protected]>2021-06-08 19:01:17 +0300
committerDavid S. Miller <[email protected]>2021-06-08 14:41:10 -0700
commit947c54c395cb8368abebf3bec1413123d5dd4339 (patch)
tree5babbd1c71fb940c25a1897bda1c0878184f11cb /tools/perf/scripts/python/check-perf-trace.py
parent9e8afb05961147509181baf4de5cbd644757e850 (diff)
net: ena: Use dev_alloc() in RX buffer allocation
Use dev_alloc() when allocating RX buffers instead of specifying the allocation flags explicitly. This result in same behaviour with less code. Also move the page allocation and its DMA mapping into a function. This creates a logical block, which may help understanding the code. Signed-off-by: Shay Agroskin <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions