Commit 2223966b authored by Junxian Huang's avatar Junxian Huang Committed by Juan Zhou
Browse files

RDMA/hns: Don't set the HW stats ops for VF and HIP08

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DJVZ



--------------------------------------------------------------------------

As HW stats are not supported for VF and HIP08, just don't set the
HW stats ops to ib-core in these cases.

Fixes: 8681236b9ca9 ("Revert "RDMA/hns: Add dfx cnt stats"")
Fixes: 05491dda ("RDMA/hns: Support hns HW stats")
Signed-off-by: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
parent 5e7ecc38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment