freebsd-dev/sys/ofed/drivers/infiniband
Hans Petter Selasky cb678cb911 Fix endless loop in ipoib_poll().
ib_req_notify_cq may return negative value which will indicate a
failure. In the case of uncorrectable error, we will end up in an
endless loop. Fix that, by going to another loop with poll_more
only if there is anything left to poll.

Submitted by:	slavash@
MFC after:	3 days
Sponsored by:	Mellanox Technologies
2019-05-08 10:42:05 +00:00
..
core Make sure to error out when arming the CQ fails in ibcore. 2019-05-08 10:32:45 +00:00
ulp Fix endless loop in ipoib_poll(). 2019-05-08 10:42:05 +00:00
util sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00