RDMA/efa: Group keep alive received counter with other SW stats
authorGal Pressman <galpress@amazon.com>
Tue, 15 Sep 2020 14:14:48 +0000 (17:14 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Sep 2020 23:21:11 +0000 (20:21 -0300)
commit215b88ac4512487b7a9b8bb8fc7edfb1ce758b41
tree7b6a4d3062004bfdc6a743cfb8ce3a185deafa89
parentb09c4d70122091c1865cb63a9c4dad1a94a8e339
RDMA/efa: Group keep alive received counter with other SW stats

The keep alive received counter is a software stat, keep it grouped with
all other software stats.  Since all stored stats are software stats,
remove the efa_sw_stats struct and use efa_stats instead.

Link: https://lore.kernel.org/r/20200915141449.8428-2-galpress@amazon.com
Reviewed-by: Daniel Kranzdorf <dkkranzd@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.h
drivers/infiniband/hw/efa/efa_verbs.c