diff options
| author | Chandramohan Akula <[email protected]> | 2024-10-08 07:41:40 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2024-10-11 23:49:01 +0000 |
| commit | 2df411353dacc4b0c911f8c4944f8ffab955391c (patch) | |
| tree | bd4257c8c6603e98885ab6aeafd740c251c1c037 /tools/testing/selftests/net/lib/py | |
| parent | RDMA/bnxt_re: Fix an error path in bnxt_re_add_device (diff) | |
| download | kernel-2df411353dacc4b0c911f8c4944f8ffab955391c.tar.gz kernel-2df411353dacc4b0c911f8c4944f8ffab955391c.zip | |
RDMA/bnxt_re: Change the sequence of updating the CQ toggle value
Currently the CQ toggle value in the shared page (read by the userlib) is
updated as part of the cqn_handler. There is a potential race of
application calling the CQ ARM doorbell immediately and using the old
toggle value.
Change the sequence of updating CQ toggle value to update in the
bnxt_qplib_service_nq function immediately after reading the toggle value
to be in sync with the HW updated value.
Fixes: e275919d9669 ("RDMA/bnxt_re: Share a page to expose per CQ info with userspace")
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Chandramohan Akula <[email protected]>
Reviewed-by: Selvin Xavier <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py')
0 files changed, 0 insertions, 0 deletions
