aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-09-04 19:41:49 -0300
committerJason Gunthorpe <[email protected]>2020-09-11 10:24:53 -0300
commit22123a0e4974fe03d1d8446b132a6c455f95a516 (patch)
tree09a29eb70b7cb14013601f873aafbc2d04db5fba /tools/perf/scripts/python/net_dropmonitor.py
parent1f9b6827c85f9d9786f31a1434a16c917aae23b2 (diff)
RDMA/i40iw: Use ib_umem_num_dma_pages()
If ib_umem_find_best_pgsz() returns > PAGE_SIZE then the equation here is not correct. 'start' should be 'virt'. Change it to use the core code for page_num and the canonical calculation of page_shift. Fixes: eb52c0333f06 ("RDMA/i40iw: Use core helpers to get aligned DMA address within a supported page size") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions