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

/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pci.c36 /* Set the maxmtu to a default of JUMBO_LEN */
37 plat->maxmtu = JUMBO_LEN;
89 /* Set the maxmtu to a default of JUMBO_LEN */
90 plat->maxmtu = JUMBO_LEN;
H A Ddwmac-loongson.c24 /* Set the maxmtu to a default of JUMBO_LEN */
25 plat->maxmtu = JUMBO_LEN;
H A Ddwmac-intel.c431 /* Set the maxmtu to a default of JUMBO_LEN */
432 plat->maxmtu = JUMBO_LEN;
559 /* Set the maxmtu to a default of JUMBO_LEN */
560 plat->maxmtu = JUMBO_LEN;
H A Dstmmac_platform.c506 /* Set the maxmtu to a default of JUMBO_LEN in case the
509 plat->maxmtu = JUMBO_LEN;
533 of_property_read_u32(np, "max-frame-size", &plat->maxmtu);
H A Ddwmac-mediatek.c596 plat->maxmtu = ETH_DATA_LEN;
H A Dstmmac_main.c7703 /* Will not overwrite ndev->max_mtu if plat->maxmtu > ndev->max_mtu
7704 * as well as plat->maxmtu < ndev->min_mtu which is a invalid range.
7706 if ((priv->plat->maxmtu < ndev->max_mtu) &&
7707 (priv->plat->maxmtu >= ndev->min_mtu))
7708 ndev->max_mtu = priv->plat->maxmtu;
7709 else if (priv->plat->maxmtu < ndev->min_mtu)
7711 "%s: warning: maxmtu having invalid value (%d)\n",
7712 __func__, priv->plat->maxmtu);
/linux-master/include/linux/
H A Dstmmac.h263 int maxmtu; member in struct:plat_stmmacenet_data

Completed in 177 milliseconds