Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infiniband: do not make assumptions about counters based on HCA name
Some users have reported cases of systemd "predictable network interface naming" apparently also renaming the HCA device. This means we can no longer make assumptions about which counter(s) should be present based on the HCA name (i.e., irdma*, mlx5_*). The previous approach was quite brittle anyway, since there will undoubtedly be other IB / RoCE drivers in future which implement the hw_counters directory (but not the older counters directory). Signed-off-by: Daniel Swarbrick <[email protected]>
- Loading branch information