Home
last modified time | relevance | path

Searched refs:IPOIB_CM_HEAD_SIZE (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c88 ib_dma_unmap_single(priv->ca, mapping[0], IPOIB_CM_HEAD_SIZE, DMA_FROM_DEVICE); in ipoib_cm_dma_unmap_rx()
151 skb = dev_alloc_skb(ALIGN(IPOIB_CM_HEAD_SIZE + IPOIB_PSEUDO_LEN, 16)); in ipoib_cm_alloc_rx_skb()
161 mapping[0] = ib_dma_map_single(priv->ca, skb->data, IPOIB_CM_HEAD_SIZE, in ipoib_cm_alloc_rx_skb()
186 ib_dma_unmap_single(priv->ca, mapping[0], IPOIB_CM_HEAD_SIZE, DMA_FROM_DEVICE); in ipoib_cm_alloc_rx_skb()
338 sge[0].length = IPOIB_CM_HEAD_SIZE; in ipoib_cm_init_rx_wr()
644 min_t(u32, wc->byte_len, IPOIB_CM_HEAD_SIZE)) / in ipoib_cm_handle_rx_wc()
665 skb_put_frags(skb, IPOIB_CM_HEAD_SIZE, wc->byte_len, newskb); in ipoib_cm_handle_rx_wc()
Dipoib.h73 IPOIB_CM_HEAD_SIZE = IPOIB_CM_BUF_SIZE % PAGE_SIZE, enumerator
Dipoib_main.c2617 BUILD_BUG_ON(IPOIB_CM_COPYBREAK > IPOIB_CM_HEAD_SIZE); in ipoib_init_module()