]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/bnxt_re: Avoid clearing VLAN_ID mask in modify qp path
authorSaravanan Vajravel <saravanan.vajravel@broadcom.com>
Tue, 11 Mar 2025 05:16:36 +0000 (22:16 -0700)
committerLeon Romanovsky <leon@kernel.org>
Wed, 12 Mar 2025 13:51:06 +0000 (09:51 -0400)
commit81c0db302a674f8004ed805393d17fd76f552e83
treedd80f0f6d9fd9b02dacbe655d6bdf273972c67b1
parent556f93b90c1872ad85e216e613c0b33803e621cb
RDMA/bnxt_re: Avoid clearing VLAN_ID mask in modify qp path

Driver is always clearing the mask that sets the VLAN ID/Service Level
in the adapter. Recent change for supporting multiple traffic class
exposed this issue.

Allow setting SL and VLAN_ID while QP is moved from INIT to RTR state.

Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Fixes: c64b16a37b6d ("RDMA/bnxt_re: Support different traffic class")
Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1741670196-2919-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/qplib_fp.c