]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Remove redundant 'num_mtt_segs' and 'max_extend_sg'
authorYangyang Li <liyangyang20@huawei.com>
Thu, 22 Sep 2022 12:33:11 +0000 (20:33 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 27 Sep 2022 13:15:25 +0000 (10:15 -0300)
commitd75c403a59d3badecfd1abf2a88faeb86f06f535
treeb20174b39dcdd06976377ddf64eedee64f3c32e4
parent7e4916b2ca482c5492e44204ffef52f8a6b5067c
RDMA/hns: Remove redundant 'num_mtt_segs' and 'max_extend_sg'

The num_mtt_segs and max_extend_sg used to be used for HIP06,
remove them since the HIP06 code has been removed.

Link: https://lore.kernel.org/r/20220922123315.3732205-9-xuhaoyue1@hisilicon.com
Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h