]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Update some fields of qp context
authorLijun Ou <oulijun@huawei.com>
Sun, 30 Sep 2018 09:00:35 +0000 (17:00 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Oct 2018 22:21:18 +0000 (16:21 -0600)
commitbbcd1267343bf1155b404af5d67deda4ed92f718
treea0cf6cb2d26a74c4b167691ad4ce9898378d01cf
parentd1850d576708bbb2bac4c1db110f4044a3ca75be
RDMA/hns: Update some fields of qp context

The hip08 hardware has two version. the version id are 0x20 and 0x21
according to the pci revision. It needs to adjust some fields for
extending new features. The specific updates include:

1. Add some fields for supporting new features by enabling some reserved
   fields in 0x20 version.
2. remove some fields which the user is not visiable in order to support
   the extend features.
3. Init some fields with zero.

These updates is compatible with 0x20 version.

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