OSDN Git Service

RDMA/hns: Add vlan enable bit for hip08
authorLijun Ou <oulijun@huawei.com>
Sun, 30 Sep 2018 09:00:37 +0000 (17:00 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Oct 2018 22:21:18 +0000 (16:21 -0600)
commitcaf3e4064af086e2dda3fc5cf598a06708aa997c
tree9b9afce024609ef958f5cda457e8ac4a7a5454e4
parente93df01085791e5c8a079c94a15af2a677176b81
RDMA/hns: Add vlan enable bit for hip08

In order to extend vlan device range, the design add two field of qp
context for checking vlan packet in sender and in recevicer.

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