 /* * For SRQs, all WQEs generate a CQE, so we're always at the * end of the doorbell chain. */ if (qp->ibqp.srq) { *new_wqe = 0; return 0; } 
int mthca_free_err_wqe(struct mthca_dev *dev, struct mthca_qp *qp, int is_send,		       int index, int *dbd, __be32 *new_wqe){	struct mthca_next_seg *next;	if (is_send)		next = get_send_wqe(qp, index);	else		next = get_recv_wqe(qp, index);	*dbd = !!(next->ee_nds & cpu_to_be32(MTHCA_NEXT_DBD));	if (next->ee_nds & cpu_to_be32(0x3f))		*new_wqe = (next->nda_op & cpu_to_be32(~0x3f)) |			(next->ee_nds & cpu_to_be32(0x3f));	else		*new_wqe = 0;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ec34a922d243c3401a694450734e9effb2bafbfe/mthca_qp.c/buggy/drivers/infiniband/hw/mthca/mthca_qp.c