Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dud.c280 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_9B()
369 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_16B()
609 SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in return_cnp_16B()
673 (hwords - LRH_9B_DWORDS + SIZE_OF_CRC) << 2); in return_cnp()
693 hfi1_make_ib_hdr(&hdr.ibh, lrh0, hwords + SIZE_OF_CRC, dlid, slid); in return_cnp()
832 extra_bytes = packet->pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_ud_rcv()
H A Dcommon.h233 #define SIZE_OF_CRC 1 macro
H A Druc.c246 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B()
331 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_9B()
H A Dipoib_tx.c280 payload_dwords = ((skb->len + pad_cnt) >> 2) + SIZE_OF_CRC; in hfi1_ipoib_build_ib_tx_headers()
344 dwords - SIZE_OF_CRC + in hfi1_ipoib_build_ib_tx_headers()
H A Drc.c1242 *hwords - 2, SIZE_OF_CRC); in hfi1_make_rc_ack_9B()
1256 hfi1_make_ib_hdr(hdr, lrh0, *hwords + SIZE_OF_CRC, in hfi1_make_rc_ack_9B()
1294 *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_rc_ack_16B()
2321 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in rc_rcv_resp()
2784 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_rc_rcv()
H A Duc.c274 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv()
H A Dverbs.c736 (SIZE_OF_CRC << 2) + SIZE_OF_LT; in build_verbs_tx_desc()
815 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) + in hfi1_verbs_send_dma()
960 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
H A Dhfi.h2603 return -(hdr_size + payload + (SIZE_OF_CRC << 2) + in hfi1_get_16b_padding()
H A Ddriver.c1680 extra_bytes = ib_bth_get_pad(packet->ohdr) + (SIZE_OF_CRC << 2) + in hfi1_ipoib_ib_rcv()
H A Dtid_rdma.c2496 (SIZE_OF_CRC << 2); in hfi1_rc_rcv_tid_rdma_read_resp()
4317 (SIZE_OF_CRC << 2); in hfi1_rc_rcv_tid_rdma_write_data()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_ruc.c190 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
232 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ruc_header()
H A Dqib_common.h742 #define SIZE_OF_CRC 1 macro
H A Dqib_ud.c354 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
H A Dqib_rc.c650 hdr.lrh[2] = cpu_to_be16(hwords + SIZE_OF_CRC); in qib_send_rc_ack()
663 control = dd->f_setpbc_control(ppd, hwords + SIZE_OF_CRC, in qib_send_rc_ack()
H A Dqib_iba7322.c1405 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo()
1421 (hdrwords + SIZE_OF_CRC); in flush_fifo()