Home
last modified time | relevance | path

Searched refs:IPOIB_ENCAP_LEN (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/infiniband/ulp/ipoib/
Dipoib.h64 IPOIB_ENCAP_LEN = 4, enumerator
66 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)
Dipoib_ib.c289 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()
Dipoib_cm.c662 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()
Dipoib_main.c998 dev->hard_header_len = IPOIB_ENCAP_LEN + INFINIBAND_ALEN; in ipoib_setup()