IB/hfi1: Indicate DMA wait when txq is queued for wakeup
authorMike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Thu, 15 Jul 2021 16:04:40 +0000 (12:04 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 30 Jul 2021 12:27:54 +0000 (09:27 -0300)
commite9901043b25000ed21c7073373a7d9fd64f3d1e3
tree04a73e8543b894417c2ef0d4793d4a096bb609c6
parent07d0f314ba75cba17c3fad0a3d4e640e757897d7
IB/hfi1: Indicate DMA wait when txq is queued for wakeup

There is no counter for dmawait in AIP, which hampers debugging
performance issues.

Add the counter increment when the txq is queued.

Fixes: d99dc602e2a5 ("IB/hfi1: Add functions to transmit datagram ipoib packets")
Link: https://lore.kernel.org/r/20210715160440.142451.8278.stgit@awfm-01.cornelisnetworks.com
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/ipoib_tx.c