RDMA/cxgb3: Remove BUG_ON() on CQ rearm failure
Failure to rearm a CQ means the cxgb3 device is wedged, but we shouldn't kill the whole system with a BUG_ON() if this happens. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
676ad58553
commit
2542322485
|
@ -109,7 +109,6 @@ int cxio_hal_cq_op(struct cxio_rdev *rdev_p, struct t3_cq *cq,
|
||||||
while (!CQ_VLD_ENTRY(rptr, cq->size_log2, cqe)) {
|
while (!CQ_VLD_ENTRY(rptr, cq->size_log2, cqe)) {
|
||||||
udelay(1);
|
udelay(1);
|
||||||
if (i++ > 1000000) {
|
if (i++ > 1000000) {
|
||||||
BUG_ON(1);
|
|
||||||
printk(KERN_ERR "%s: stalled rnic\n",
|
printk(KERN_ERR "%s: stalled rnic\n",
|
||||||
rdev_p->dev_name);
|
rdev_p->dev_name);
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
Loading…
Reference in a new issue