RDMA/hns: Fix incorrect vlan enable bit in QPC
authorWeihang Li <liweihang@huawei.com>
Wed, 23 Jun 2021 08:50:01 +0000 (16:50 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 23 Jun 2021 17:37:53 +0000 (14:37 -0300)
commite7c07d5e0750e921d60e63dd181886c479a0ee19
tree14382ae22776b051e1c8d4c74619b4d6d3b2f2a1
parentc95f60a875d3bd5778c56e862512168893010b04
RDMA/hns: Fix incorrect vlan enable bit in QPC

The QPC_RQ/SQ_VLAN_EN bit in QPC should be enabled, not the QPC mask.

Fixes: f0cb411aad23 ("RDMA/hns: Use new interface to modify QP context")
Link: https://lore.kernel.org/r/1624438201-11915-1-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c