freebsd-dev/sys/ofed/drivers/infiniband
Hans Petter Selasky ac4174e064 ibcore: Do not expose unsupported counters.
If the provider driver (such as rdma_rxe) doesn't support PMA counters,
avoid exposing its directory similar to optional hw_counters directory.
If core fails to read the PMA counter, return an error so that user can
retry later if needed.

Linux commit:
0f6ef65d1c6ec8deb5d0f11f86631ec4cfe8f22e

MFC after:	1 week
Reviewed by:	kib
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2021-07-12 14:22:31 +02:00
..
core ibcore: Do not expose unsupported counters. 2021-07-12 14:22:31 +02:00
ulp ipoib: Destroying a CQ should never fail. 2021-07-12 14:22:29 +02:00
util Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00