]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Fix for notify send CQ failure messages
authorAlex Estrin <alex.estrin@intel.com>
Wed, 3 Jan 2018 12:39:50 +0000 (07:39 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Jan 2018 17:38:07 +0000 (10:38 -0700)
commit756fceb332cd4e153e0d11e002177806767749d5
tree66ff2438e397d1b1b1e8f368c019f01dc8d88388
parentd0e32b317c557279c9c8c79fcdf8dbd09e3d4384
IB/ipoib: Fix for notify send CQ failure messages

If IB_CQ_REPORT_MISSED_EVENTS flag is passed in ib_req_notify_cq()
it may return positive value indicating non-empty CQ.
If return code not verified the log might be flooded with false
warning messages "request notify on send CQ failed".

Fixes: b60226cd2a41 ("IB/ipoib: Use NAPI in UD/TX flows")
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c
drivers/infiniband/ulp/ipoib/ipoib_ib.c