Searched refs:SIZE_OF_CRC (Results 1 – 12 of 12) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | ud.c | 341 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()
|
D | common.h | 329 #define SIZE_OF_CRC 1 macro
|
D | rc.c | 783 *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()
|
D | ruc.c | 781 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()
|
D | verbs.c | 828 (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()
|
D | uc.c | 326 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv()
|
D | hfi.h | 2407 return -(hdr_size + payload + (SIZE_OF_CRC << 2) + in hfi1_get_16b_padding()
|
/drivers/infiniband/hw/qib/ |
D | qib_common.h | 742 #define SIZE_OF_CRC 1 macro
|
D | qib_ruc.c | 647 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()
|
D | qib_ud.c | 360 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
|
D | qib_rc.c | 662 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()
|
D | qib_iba7322.c | 1421 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo() 1437 (hdrwords + SIZE_OF_CRC); in flush_fifo()
|