• Lijun Ou's avatar
    RDMA/hns: Update some fields of qp context · 2362ccee
    Lijun Ou authored
    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: default avatarLijun Ou <oulijun@huawei.com>
    Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
    2362ccee
hns_roce_hw_v2.c 162 KB