diff options
| author | Selvin Xavier <selvin.xavier@broadcom.com> | 2021-09-15 15:32:39 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-09-20 19:37:02 +0300 |
| commit | 2b4ccce6cafae8eff0daec06b7652d9ab75f692f (patch) | |
| tree | 81429704fb514bd37488b8499232db82fcbc5f81 /tools/perf/scripts/python | |
| parent | 598d16fa1bf93431ad35bbab3ed1affe4fb7b562 (diff) | |
| download | linux-2b4ccce6cafae8eff0daec06b7652d9ab75f692f.tar.xz | |
RDMA/bnxt_re: Fix FRMR issue with single page MR allocation
When the FRMR is allocated with single page, driver is attempting to
create a level 0 HWQ and not allocating any page because the nopte field
is set. This causes the crash during post_send as the pbl is not
populated.
To avoid this crash, check for the nopte bit during HWQ creation with
single page and create a level 1 page table and populate the pbl address
correctly.
Link: https://lore.kernel.org/r/1631709163-2287-9-git-send-email-selvin.xavier@broadcom.com
Reviewed-by: Leon Romanovsky <leonro@nvidia.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')
0 files changed, 0 insertions, 0 deletions
