]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Add CM of vlan device support
authorLijun Ou <oulijun@huawei.com>
Sat, 22 Sep 2018 08:21:07 +0000 (16:21 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 26 Sep 2018 20:59:13 +0000 (14:59 -0600)
commit5092bbdbb3654b40b45adf70416ba9f96a934c62
treea1d5febd46e6333c573683cb9e55417eed8576fa
parentdfd7cf49e6be84e9374ecc0fc731c3a49526010d
RDMA/hns: Add CM of vlan device support

This patch mainly sets the vlan_id field in the WC for rdma_listen() to
work over vlan. This is required by ib_init_ah_attr_from_wc() which is
called by the CM REQ handler.

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