IB/rxe: Avoid accessing timers for non RC QPs
authorParav Pandit <parav@mellanox.com>
Sun, 19 Mar 2017 09:20:56 +0000 (11:20 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Apr 2017 14:43:28 +0000 (10:43 -0400)
commit99fc12f60edb9cace424a4021720fa50013c0c56
tree2ac56526f476172e03d9840dc15d35846e4bbc9c
parent0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0
IB/rxe: Avoid accessing timers for non RC QPs

This patch avoids RNR NAK timer and retransmit timer initialization and
cleanup for non RC QPs (such as UD QP, GSI QP).

Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_qp.c