linux/drivers/infiniband/hw/efa
Jason Gunthorpe 4b5f4d3fb4 RDMA: Split the alloc_hw_stats() ops to port and device variants
This is being used to implement both the port and device global stats,
which is causing some confusion in the drivers. For instance EFA and i40iw
both seem to be misusing the device stats.

Split it into two ops so drivers that don't support one or the other can
leave the op NULL'd, making the calling code a little simpler to
understand.

Link: https://lore.kernel.org/r/1955c154197b2a159adc2dc97266ddc74afe420c.1623427137.git.leonro@nvidia.com
Tested-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-16 20:58:29 -03:00
..
efa_admin_cmds_defs.h RDMA/efa: Remove unused syndrome enum values 2021-01-28 15:56:13 -04:00
efa_admin_defs.h RDMA/efa: Remove unnecessary indentation in defs comments 2021-01-28 15:56:13 -04:00
efa_com_cmd.c RDMA/efa: Add messages and RDMA read work requests HW stats 2020-09-22 20:21:11 -03:00
efa_com_cmd.h RDMA/efa: Add messages and RDMA read work requests HW stats 2020-09-22 20:21:11 -03:00
efa_com.c RDMA/efa: Remove duplication of upper/lower_32_bits 2021-01-28 15:56:13 -04:00
efa_com.h RDMA/efa: Count admin commands errors 2020-05-02 20:32:14 -03:00
efa_common_defs.h RDMA/efa: Unified getters/setters for device structs bitmask access 2020-02-28 12:12:04 -04:00
efa_main.c RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
efa_regs_defs.h RDMA/efa: Properly document the interrupt mask register 2020-02-28 12:12:12 -04:00
efa_verbs.c RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
efa.h RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
Kconfig RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00
Makefile RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00