Searched refs:SIZE_OF_CRC (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 280 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 D | common.h | 233 #define SIZE_OF_CRC 1 macro
|
H A D | ruc.c | 246 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 D | ipoib_tx.c | 280 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 D | rc.c | 1242 *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 D | uc.c | 274 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv()
|
H A D | verbs.c | 736 (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 D | hfi.h | 2603 return -(hdr_size + payload + (SIZE_OF_CRC << 2) + in hfi1_get_16b_padding()
|
H A D | driver.c | 1680 extra_bytes = ib_bth_get_pad(packet->ohdr) + (SIZE_OF_CRC << 2) + in hfi1_ipoib_ib_rcv()
|
H A D | tid_rdma.c | 2496 (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 D | qib_ruc.c | 190 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 D | qib_common.h | 742 #define SIZE_OF_CRC 1 macro
|
H A D | qib_ud.c | 354 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
|
H A D | qib_rc.c | 650 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 D | qib_iba7322.c | 1405 .lrh[2] = cpu_to_be16(hdrwords + SIZE_OF_CRC), in flush_fifo() 1421 (hdrwords + SIZE_OF_CRC); in flush_fifo()
|