|
@@ -2035,7 +2035,6 @@ void hfi1_rc_rcv(struct hfi1_packet *packet)
|
|
|
struct rvt_qp *qp = packet->qp;
|
|
|
struct hfi1_ibport *ibp = rcd_to_iport(rcd);
|
|
|
struct ib_other_headers *ohdr = packet->ohdr;
|
|
|
- u32 bth0 = be32_to_cpu(ohdr->bth[0]);
|
|
|
u32 opcode = packet->opcode;
|
|
|
u32 hdrsize = packet->hlen;
|
|
|
u32 psn = ib_bth_get_psn(packet->ohdr);
|
|
@@ -2233,7 +2232,7 @@ send_last:
|
|
|
wc.port_num = 0;
|
|
|
/* Signal completion event if the solicited bit is set. */
|
|
|
rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc,
|
|
|
- (bth0 & IB_BTH_SOLICITED) != 0);
|
|
|
+ ib_bth_is_solicited(ohdr));
|
|
|
break;
|
|
|
|
|
|
case OP(RDMA_WRITE_ONLY):
|