summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/rdma_core.c
diff options
context:
space:
mode:
authorMark Zhang <markzhang@nvidia.com>2023-03-30 10:23:51 +0300
committerLeon Romanovsky <leon@kernel.org>2023-04-09 12:52:57 +0300
commitbd9de1badac7e4ff6780365d4aa38983f5e2a436 (patch)
tree6fd97d8f427b82371c3de2ced238afea76ca328f /drivers/infiniband/core/rdma_core.c
parentf13bcef04ba0467b7901998c22408d5847d314a1 (diff)
downloadlinux-bd9de1badac7e4ff6780365d4aa38983f5e2a436.tar.xz
RDMA/cm: Trace icm_send_rej event before the cm state is reset
Trace icm_send_rej event before the cm state is reset to idle, so that correct cm state will be logged. For example when an incoming request is rejected, the old trace log was: icm_send_rej: local_id=961102742 remote_id=3829151631 state=IDLE reason=REJ_CONSUMER_DEFINED With this patch: icm_send_rej: local_id=312971016 remote_id=3778819983 state=MRA_REQ_SENT reason=REJ_CONSUMER_DEFINED Fixes: 8dc105befe16 ("RDMA/cm: Add tracepoints to track MAD send operations") Signed-off-by: Mark Zhang <markzhang@nvidia.com> Link: https://lore.kernel.org/r/20230330072351.481200-1-markzhang@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.c')
0 files changed, 0 insertions, 0 deletions