Improve error message printing in krping.
Don't print completion queue flush as an error. MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
This commit is contained in:
parent
e903478919
commit
aca12148b1
@ -362,10 +362,6 @@ static void krping_cq_event_handler(struct ib_cq *cq, void *ctx)
|
||||
int ret;
|
||||
|
||||
BUG_ON(cb->cq != cq);
|
||||
if (cb->state == ERROR) {
|
||||
printk(KERN_ERR PFX "cq completion in ERROR state\n");
|
||||
return;
|
||||
}
|
||||
if (cb->frtest) {
|
||||
printk(KERN_ERR PFX "cq completion event in frtest!\n");
|
||||
return;
|
||||
@ -384,7 +380,10 @@ static void krping_cq_event_handler(struct ib_cq *cq, void *ctx)
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
if (cb->state == ERROR) {
|
||||
printk(KERN_ERR PFX "cq completion in ERROR state\n");
|
||||
return;
|
||||
}
|
||||
switch (wc.opcode) {
|
||||
case IB_WC_SEND:
|
||||
DEBUG_LOG("send completion\n");
|
||||
|
Loading…
Reference in New Issue
Block a user