Home
last modified time | relevance | path

Searched refs:old_mtu (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/calxeda/
Dxgmac.c1341 int old_mtu; in xgmac_change_mtu() local
1348 old_mtu = dev->mtu; in xgmac_change_mtu()
1352 if (old_mtu <= ETH_DATA_LEN && new_mtu <= ETH_DATA_LEN) in xgmac_change_mtu()
1354 if (old_mtu == new_mtu) in xgmac_change_mtu()
/linux-3.4.99/net/ipv4/
Droute.c1684 static inline unsigned short guess_mtu(unsigned short old_mtu) in guess_mtu() argument
1689 if (old_mtu > mtu_plateau[i]) in guess_mtu()
1698 unsigned short old_mtu = ntohs(iph->tot_len); in ip_rt_frag_needed() local
1706 if (new_mtu < 68 || new_mtu >= old_mtu) { in ip_rt_frag_needed()
1712 old_mtu >= 68 + (iph->ihl << 2)) in ip_rt_frag_needed()
1713 old_mtu -= iph->ihl << 2; in ip_rt_frag_needed()
1714 mtu = guess_mtu(old_mtu); in ip_rt_frag_needed()
/linux-3.4.99/drivers/net/ethernet/
Djme.c1307 if (jme_check_link(netdev, 1) && jme->old_mtu == netdev->mtu) in jme_link_change_tasklet()
1310 jme->old_mtu = netdev->mtu; in jme_link_change_tasklet()
2324 if (new_mtu == jme->old_mtu) in jme_change_mtu()
3026 jme->old_mtu = netdev->mtu = 1500; in jme_init_one()
Djme.h452 unsigned int old_mtu; member
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c410 int old_mtu = netdev->mtu; in atl1e_change_mtu() local
419 if (old_mtu != new_mtu && netif_running(netdev)) { in atl1e_change_mtu()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c525 int old_mtu = netdev->mtu; in atl1c_change_mtu() local
535 if (old_mtu != new_mtu && netif_running(netdev)) { in atl1c_change_mtu()
/linux-3.4.99/drivers/net/ethernet/nvidia/
Dforcedeth.c2938 int old_mtu; in nv_change_mtu() local
2943 old_mtu = dev->mtu; in nv_change_mtu()
2947 if (old_mtu <= ETH_DATA_LEN && new_mtu <= ETH_DATA_LEN) in nv_change_mtu()
2949 if (old_mtu == new_mtu) in nv_change_mtu()
/linux-3.4.99/drivers/net/ethernet/atheros/atlx/
Datl1.c2658 int old_mtu = netdev->mtu; in atl1_change_mtu() local
2674 if ((old_mtu != new_mtu) && netif_running(netdev)) { in atl1_change_mtu()