Searched refs:IPOIB_ENCAP_LEN (Results 1 – 4 of 4) sorted by relevance
64 IPOIB_ENCAP_LEN = 4, enumerator66 IPOIB_UD_HEAD_SIZE = IB_GRH_BYTES + IPOIB_ENCAP_LEN,70 IPOIB_CM_BUF_SIZE = IPOIB_CM_MTU + IPOIB_ENCAP_LEN,388 #define IPOIB_UD_MTU(ib_mtu) (ib_mtu - IPOIB_ENCAP_LEN)
289 skb_pull(skb, IPOIB_ENCAP_LEN); in ipoib_ib_handle_rx_wc()549 if (unlikely(skb->len > priv->mcast_mtu + IPOIB_ENCAP_LEN)) { in ipoib_send()551 skb->len, priv->mcast_mtu + IPOIB_ENCAP_LEN); in ipoib_send()
662 skb_pull(skb, IPOIB_ENCAP_LEN); in ipoib_cm_handle_rx_wc()717 ipoib_cm_skb_too_long(dev, skb, tx->mtu - IPOIB_ENCAP_LEN); in ipoib_cm_send()957 if (p->mtu <= IPOIB_ENCAP_LEN) { in ipoib_cm_rep_handler()959 p->mtu, IPOIB_ENCAP_LEN); in ipoib_cm_rep_handler()
998 dev->hard_header_len = IPOIB_ENCAP_LEN + INFINIBAND_ALEN; in ipoib_setup()