]> 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)
commitd6d1d203dee6eab2eb55a57a5cd508160f41b012
treea1d5febd46e6333c573683cb9e55417eed8576fa
parentf3e84c3fee345ab631b3badae7bcd167f84ea67a
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