Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dud.c341 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_9B()
430 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_16B()
668 SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in return_cnp_16B()
729 (hwords - LRH_9B_DWORDS + SIZE_OF_CRC) << 2); in return_cnp()
749 hfi1_make_ib_hdr(&hdr, lrh0, hwords + SIZE_OF_CRC, dlid, slid); in return_cnp()
891 extra_bytes = packet->pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_ud_rcv()
Dcommon.h329 #define SIZE_OF_CRC 1 macro
Drc.c777 *hwords - 2, SIZE_OF_CRC); in hfi1_make_rc_ack_9B()
791 hfi1_make_ib_hdr(hdr, lrh0, *hwords + SIZE_OF_CRC, in hfi1_make_rc_ack_9B()
824 *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_rc_ack_16B()
1555 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in rc_rcv_resp()
2053 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_rc_rcv()
Druc.c615 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B()
699 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_9B()
Dverbs.c850 (SIZE_OF_CRC << 2) + SIZE_OF_LT; in build_verbs_tx_desc()
920 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) + in hfi1_verbs_send_dma()
1062 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
Duc.c319 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv()
Dhfi.h2421 return -(hdr_size + payload + (SIZE_OF_CRC << 2) + in hfi1_get_16b_padding()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_common.h742 #define SIZE_OF_CRC 1 macro
Dqib_ruc.c491 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
533 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ruc_header()
Dqib_ud.c358 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
Dqib_rc.c660 hdr.lrh[2] = cpu_to_be16(hwords + SIZE_OF_CRC); in qib_send_rc_ack()
673 control = dd->f_setpbc_control(ppd, hwords + SIZE_OF_CRC, in qib_send_rc_ack()
Dqib_iba7322.c1428 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo()
1444 (hdrwords + SIZE_OF_CRC); in flush_fifo()