RDMA/efa: Split hardware stats to device and port stats
authorGal Pressman <galpress@amazon.com>
Mon, 12 Jul 2021 10:59:23 +0000 (13:59 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 15 Jul 2021 18:21:20 +0000 (15:21 -0300)
commit8c1b4316c3faa38cb66bde200a8f2942fa6728b6
treeeba8c665a9d917b1020063c6affee9dd35059f58
parent916071185b178b052e0ca8bcdf269161b6848da9
RDMA/efa: Split hardware stats to device and port stats

The hardware stats API distinguishes between device and port statistics,
split the EFA stats accordingly instead of always dumping everything.

Link: https://lore.kernel.org/r/20210712105923.17389-1-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/efa/efa_verbs.c