Home
last modified time | relevance | path

Searched refs:maxmtu (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pci.c36 /* Set the maxmtu to a default of JUMBO_LEN */ in common_default_data()
37 plat->maxmtu = JUMBO_LEN; in common_default_data()
89 /* Set the maxmtu to a default of JUMBO_LEN */ in snps_gmac5_default_data()
90 plat->maxmtu = JUMBO_LEN; in snps_gmac5_default_data()
H A Ddwmac-loongson.c32 /* Set the maxmtu to a default of JUMBO_LEN */ in common_default_data()
33 plat->maxmtu = JUMBO_LEN; in common_default_data()
H A Ddwmac-intel.c218 /* Set the maxmtu to a default of JUMBO_LEN */ in common_default_data()
219 plat->maxmtu = JUMBO_LEN; in common_default_data()
328 /* Set the maxmtu to a default of JUMBO_LEN */ in intel_mgbe_common_data()
329 plat->maxmtu = JUMBO_LEN; in intel_mgbe_common_data()
H A Dstmmac_platform.c471 /* Set the maxmtu to a default of JUMBO_LEN in case the in stmmac_probe_config_dt()
474 plat->maxmtu = JUMBO_LEN; in stmmac_probe_config_dt()
498 of_property_read_u32(np, "max-frame-size", &plat->maxmtu); in stmmac_probe_config_dt()
H A Ddwmac-mediatek.c419 plat_dat->maxmtu = ETH_DATA_LEN; in mediatek_dwmac_probe()
H A Dstmmac_main.c5151 /* Will not overwrite ndev->max_mtu if plat->maxmtu > ndev->max_mtu in stmmac_dvr_probe()
5152 * as well as plat->maxmtu < ndev->min_mtu which is a invalid range. in stmmac_dvr_probe()
5154 if ((priv->plat->maxmtu < ndev->max_mtu) && in stmmac_dvr_probe()
5155 (priv->plat->maxmtu >= ndev->min_mtu)) in stmmac_dvr_probe()
5156 ndev->max_mtu = priv->plat->maxmtu; in stmmac_dvr_probe()
5157 else if (priv->plat->maxmtu < ndev->min_mtu) in stmmac_dvr_probe()
5159 "%s: warning: maxmtu having invalid value (%d)\n", in stmmac_dvr_probe()
5160 __func__, priv->plat->maxmtu); in stmmac_dvr_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pci.c36 /* Set the maxmtu to a default of JUMBO_LEN */ in common_default_data()
37 plat->maxmtu = JUMBO_LEN; in common_default_data()
89 /* Set the maxmtu to a default of JUMBO_LEN */ in snps_gmac5_default_data()
90 plat->maxmtu = JUMBO_LEN; in snps_gmac5_default_data()
H A Ddwmac-loongson.c24 /* Set the maxmtu to a default of JUMBO_LEN */ in loongson_default_data()
25 plat->maxmtu = JUMBO_LEN; in loongson_default_data()
H A Dstmmac_platform.c473 /* Set the maxmtu to a default of JUMBO_LEN in case the in stmmac_probe_config_dt()
476 plat->maxmtu = JUMBO_LEN; in stmmac_probe_config_dt()
500 of_property_read_u32(np, "max-frame-size", &plat->maxmtu); in stmmac_probe_config_dt()
H A Ddwmac-intel.c431 /* Set the maxmtu to a default of JUMBO_LEN */ in common_default_data()
432 plat->maxmtu = JUMBO_LEN; in common_default_data()
559 /* Set the maxmtu to a default of JUMBO_LEN */ in intel_mgbe_common_data()
560 plat->maxmtu = JUMBO_LEN; in intel_mgbe_common_data()
H A Ddwmac-mediatek.c596 plat->maxmtu = ETH_DATA_LEN; in mediatek_dwmac_common_data()
H A Dstmmac_main.c7547 /* Will not overwrite ndev->max_mtu if plat->maxmtu > ndev->max_mtu in stmmac_dvr_probe()
7548 * as well as plat->maxmtu < ndev->min_mtu which is a invalid range. in stmmac_dvr_probe()
7550 if ((priv->plat->maxmtu < ndev->max_mtu) && in stmmac_dvr_probe()
7551 (priv->plat->maxmtu >= ndev->min_mtu)) in stmmac_dvr_probe()
7552 ndev->max_mtu = priv->plat->maxmtu; in stmmac_dvr_probe()
7553 else if (priv->plat->maxmtu < ndev->min_mtu) in stmmac_dvr_probe()
7555 "%s: warning: maxmtu having invalid value (%d)\n", in stmmac_dvr_probe()
7556 __func__, priv->plat->maxmtu); in stmmac_dvr_probe()
/kernel/linux/linux-5.10/include/linux/
H A Dstmmac.h169 int maxmtu; member
/kernel/linux/linux-6.6/include/linux/
H A Dstmmac.h262 int maxmtu; member

Completed in 39 milliseconds