OSDN Git Service

RDMA/hns: Configure capacity of hns device
authorLijun Ou <oulijun@huawei.com>
Sun, 3 Feb 2019 08:13:07 +0000 (16:13 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 14 Feb 2019 20:20:19 +0000 (13:20 -0700)
commitdad1f9802ecee3a21143293b2505e1b57b1ae525
tree49c31bf0479fd14de582d5a5c88493383c50a96a
parente95c716c7faa0d0eede5eabb6fea2504709e25b6
RDMA/hns: Configure capacity of hns device

This patch adds new device capability for IB_DEVICE_MEM_MGT_EXTENSIONS to
indicate device support for the following features:

1. Fast register memory region.
2. send with remote invalidate by frmr
3. local invalidate memory regsion

As well as adds the max depth of frmr page list len.

Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_main.c