Searched refs:old_mtu (Results 1 – 8 of 8) sorted by relevance
1341 int old_mtu; in xgmac_change_mtu() local1348 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()
1684 static inline unsigned short guess_mtu(unsigned short old_mtu) in guess_mtu() argument1689 if (old_mtu > mtu_plateau[i]) in guess_mtu()1698 unsigned short old_mtu = ntohs(iph->tot_len); in ip_rt_frag_needed() local1706 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()
1307 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()
452 unsigned int old_mtu; member
410 int old_mtu = netdev->mtu; in atl1e_change_mtu() local419 if (old_mtu != new_mtu && netif_running(netdev)) { in atl1e_change_mtu()
525 int old_mtu = netdev->mtu; in atl1c_change_mtu() local535 if (old_mtu != new_mtu && netif_running(netdev)) { in atl1c_change_mtu()
2938 int old_mtu; in nv_change_mtu() local2943 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()
2658 int old_mtu = netdev->mtu; in atl1_change_mtu() local2674 if ((old_mtu != new_mtu) && netif_running(netdev)) { in atl1_change_mtu()