RDMA/hns: Assign the value for vlan field of qp context
authorLijun Ou <oulijun@huawei.com>
Mon, 30 Jul 2018 12:20:27 +0000 (20:20 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 02:42:44 +0000 (20:42 -0600)
commitc8e46f8d632c30e2b1cda0afa6697cfea16d57c0
treeaeaf986108110a82069ceb550d747c91b2b2d8d5
parent610b89677f422e8a07b2343a0750a1b3faca7922
RDMA/hns: Assign the value for vlan field of qp context

This patch mainly fills the correct value into the vlan id field of qp
context as well as update the vlan field name according to the latest
hardware user manual.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h