diff options
| author | Selvin Xavier <selvin.xavier@broadcom.com> | 2024-08-18 21:47:25 -0700 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-08-27 10:15:57 -0300 |
| commit | b930d0bac9c671c053dd66229010ca9298e84aab (patch) | |
| tree | 1236ff4bcf140a2fdc47ca099dd216f77992ea62 /tools/perf/scripts/python/parallel-perf.py | |
| parent | RDMA/bnxt_re: Get the WQE index from slot index while completing the WQEs (diff) | |
| download | linux-b930d0bac9c671c053dd66229010ca9298e84aab.tar.gz linux-b930d0bac9c671c053dd66229010ca9298e84aab.zip | |
RDMA/bnxt_re: Fix the table size for PSN/MSN entries
HW MSN table size is always a power of 2. So the pages should be mapped
accordingly.
Use the power of two calculation while get the number of PSN/MSN entries.
Fixes: 6f6bfbc595fb ("RDMA/bnxt_re: Expose the MSN table capability for user library")
Link: https://patch.msgid.link/r/1724042847-1481-4-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
