Lines Matching full:mtu
24 /* GPRS PDP connection has MTU to 1500 */
205 if (skb->len > priv->netdev->mtu) { in chnl_net_start_xmit()
206 pr_warn("Size of skb exceeded MTU\n"); in chnl_net_start_xmit()
245 int llifindex, headroom, tailroom, mtu; in chnl_net_open() local
280 * MTU, head-room etc is not know before we have a in chnl_net_open()
281 * CAIF link layer device available. MTU calculation may in chnl_net_open()
283 * MTU is minimum of current mtu, link layer mtu pluss in chnl_net_open()
284 * CAIF head and tail, and PDP GPRS contexts max MTU. in chnl_net_open()
286 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
287 mtu = min_t(int, GPRS_PDP_MTU, mtu); in chnl_net_open()
288 dev_set_mtu(dev, mtu); in chnl_net_open()
290 if (mtu < 100) { in chnl_net_open()
291 pr_warn("CAIF Interface MTU too small (%d)\n", mtu); in chnl_net_open()
383 dev->mtu = GPRS_PDP_MTU; in ipcaif_net_setup()