diff options
author | Wenpeng Liang <liangwenpeng@huawei.com> | 2020-12-11 04:37:28 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-12-11 22:21:33 +0300 |
commit | 4ddeacf68a3dd05f346b63f4507e1032a15cc3cc (patch) | |
tree | 0862ea9d9c925c5d96af4c9a842c1d5ad16118ad /block/t10-pi.c | |
parent | 1c0ca9cd1741687f529498ddb899805fc2c51caa (diff) | |
download | linux-4ddeacf68a3dd05f346b63f4507e1032a15cc3cc.tar.xz |
RDMA/hns: Normalization the judgment of some features
Whether to enable the these features should better depend on the enable
flags, not the value of related fields.
Fixes: 5c1f167af112 ("RDMA/hns: Init SRQ table for hip08")
Fixes: 3cb2c996c9dc ("RDMA/hns: Add support for SCCC in size of 64 Bytes")
Link: https://lore.kernel.org/r/1607650657-35992-3-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions