Searched refs:max_ib_mtu (Results 1 – 5 of 5) sorted by relevance
93 priv->max_ib_mtu = ppriv->max_ib_mtu; in ipoib_vlan_add()95 priv->dev->mtu = IPOIB_UD_MTU(priv->max_ib_mtu); in ipoib_vlan_add()
93 if (ipoib_ud_need_sg(priv->max_ib_mtu)) { in ipoib_ud_dma_unmap_rx()100 IPOIB_UD_BUF_SIZE(priv->max_ib_mtu), in ipoib_ud_dma_unmap_rx()108 if (ipoib_ud_need_sg(priv->max_ib_mtu)) { in ipoib_ud_skb_put_frags()157 if (ipoib_ud_need_sg(priv->max_ib_mtu)) in ipoib_alloc_rx_skb()160 buf_size = IPOIB_UD_BUF_SIZE(priv->max_ib_mtu); in ipoib_alloc_rx_skb()179 if (ipoib_ud_need_sg(priv->max_ib_mtu)) { in ipoib_alloc_rx_skb()
216 if (ipoib_ud_need_sg(priv->max_ib_mtu)) { in ipoib_transport_dev_init()222 priv->rx_sge[0].length = IPOIB_UD_BUF_SIZE(priv->max_ib_mtu); in ipoib_transport_dev_init()
191 if (new_mtu > IPOIB_UD_MTU(priv->max_ib_mtu)) in ipoib_change_mtu()1185 priv->max_ib_mtu = ib_mtu_enum_to_int(attr.max_mtu); in ipoib_add_port()1193 priv->dev->mtu = IPOIB_UD_MTU(priv->max_ib_mtu); in ipoib_add_port()
310 unsigned int max_ib_mtu; member