RDMA/hns: Only record vlan info for HIP08
authorWeihang Li <liweihang@huawei.com>
Mon, 16 Nov 2020 11:33:22 +0000 (19:33 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 26 Nov 2020 19:24:47 +0000 (15:24 -0400)
commit7406c0036f851ee1cd93cb08349f24b051b4cbf8
tree5eb2b79f4bd396903ca135a539a5ae78721f42ce
parent8138a4c21b090ae400916a9fdf0e59296aae01c6
RDMA/hns: Only record vlan info for HIP08

Information about vlan is stored in GMV(GID/MAC/VLAN) table for HIP09, so
there is no need to copy it to address vector.

Link: https://lore.kernel.org/r/1605526408-6936-2-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_ah.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c