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