IB/hfi1: Move common receive IRQ code to function
authorGrzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Mon, 6 Jan 2020 13:41:57 +0000 (08:41 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Jan 2020 14:57:16 +0000 (10:57 -0400)
commit7b8a8b72c9eaa631d2065ad50f15eb448b43c352
treefc0a1d8b3f9f945e8427673ff392080296846b06
parent01c7fc501b8f13a1c5d126d6015ef0908527516e
IB/hfi1: Move common receive IRQ code to function

Tracing interrupts, incrementing interrupt counter and ASPM are part that
will be reused by HFI1 receive IRQ handlers.

Create common function to have shared code in one place.

Link: https://lore.kernel.org/r/20200106134157.119356.32656.stgit@awfm-01.aw.intel.com
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Grzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/chip.c