Home
last modified time | relevance | path

Searched refs:SIZE_OF_CRC (Results 1 – 12 of 12) sorted by relevance

/drivers/infiniband/hw/hfi1/
Dud.c341 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_9B()
415 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_16B()
649 SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in return_cnp_16B()
708 grh->paylen = cpu_to_be16((hwords - 2 + SIZE_OF_CRC) << 2); in return_cnp()
728 hfi1_make_ib_hdr(&hdr, lrh0, hwords + SIZE_OF_CRC, dlid, slid); in return_cnp()
871 extra_bytes = packet->pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_ud_rcv()
Dcommon.h329 #define SIZE_OF_CRC 1 macro
Drc.c783 *hwords - 2, SIZE_OF_CRC); in hfi1_make_rc_ack_9B()
797 hfi1_make_ib_hdr(hdr, lrh0, *hwords + SIZE_OF_CRC, in hfi1_make_rc_ack_9B()
829 *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_rc_ack_16B()
1562 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in rc_rcv_resp()
2061 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_rc_rcv()
Druc.c781 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B()
868 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_9B()
Dverbs.c828 (SIZE_OF_CRC << 2) + SIZE_OF_LT; in build_verbs_tx_desc()
902 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) + in hfi1_verbs_send_dma()
1046 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
Duc.c326 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv()
Dhfi.h2407 return -(hdr_size + payload + (SIZE_OF_CRC << 2) + in hfi1_get_16b_padding()
/drivers/infiniband/hw/qib/
Dqib_common.h742 #define SIZE_OF_CRC 1 macro
Dqib_ruc.c647 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
689 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ruc_header()
Dqib_ud.c360 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
Dqib_rc.c662 hdr.lrh[2] = cpu_to_be16(hwords + SIZE_OF_CRC); in qib_send_rc_ack()
675 control = dd->f_setpbc_control(ppd, hwords + SIZE_OF_CRC, in qib_send_rc_ack()
Dqib_iba7322.c1421 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo()
1437 (hdrwords + SIZE_OF_CRC); in flush_fifo()