Deleted Added
full compact
cq.c (273806) cq.c (297124)
1/*
2 * Copyright (c) 2006-2014 Chelsio, Inc. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 683 unchanged lines hidden (view full) ---

692 wc->status = IBV_WC_FATAL_ERR;
693 break;
694 case T4_ERR_SWFLUSH:
695 wc->status = IBV_WC_WR_FLUSH_ERR;
696 break;
697 default:
698 PDBG("Unexpected cqe_status 0x%x for QPID=0x%0x\n",
699 CQE_STATUS(&cqe), CQE_QPID(&cqe));
1/*
2 * Copyright (c) 2006-2014 Chelsio, Inc. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 683 unchanged lines hidden (view full) ---

692 wc->status = IBV_WC_FATAL_ERR;
693 break;
694 case T4_ERR_SWFLUSH:
695 wc->status = IBV_WC_WR_FLUSH_ERR;
696 break;
697 default:
698 PDBG("Unexpected cqe_status 0x%x for QPID=0x%0x\n",
699 CQE_STATUS(&cqe), CQE_QPID(&cqe));
700 ret = -EINVAL;
700 wc->status = IBV_WC_FATAL_ERR;
701 }
702 }
703 if (wc->status && wc->status != IBV_WC_WR_FLUSH_ERR)
704 syslog(LOG_NOTICE, "cxgb4 app err cqid %u qpid %u "
705 "type %u opcode %u status 0x%x\n",
706 chp->cq.cqid, CQE_QPID(&cqe), CQE_TYPE(&cqe),
707 CQE_OPCODE(&cqe), CQE_STATUS(&cqe));
708out:

--- 45 unchanged lines hidden ---
701 }
702 }
703 if (wc->status && wc->status != IBV_WC_WR_FLUSH_ERR)
704 syslog(LOG_NOTICE, "cxgb4 app err cqid %u qpid %u "
705 "type %u opcode %u status 0x%x\n",
706 chp->cq.cqid, CQE_QPID(&cqe), CQE_TYPE(&cqe),
707 CQE_OPCODE(&cqe), CQE_STATUS(&cqe));
708out:

--- 45 unchanged lines hidden ---