OSDN Git Service

RDMA/hns: Rename the idx field of db
authoroulijun <oulijun@huawei.com>
Tue, 22 May 2018 12:47:16 +0000 (20:47 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 24 May 2018 15:39:25 +0000 (09:39 -0600)
commitcc3391cb5356edad235555e5930723cb4c0ac9af
treed87a35d6cdd4cf398f8a5a96cf9fe21b125c78c3
parent0252f73334f9ef68868e4684200bea3565a4fcee
RDMA/hns: Rename the idx field of db

The lower 15 bit of paramter of db structure means different
meanings when db type is sq, rq and srq.

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