/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 1801 if (adapter->netdev->mtu <= ETH_DATA_LEN) in e1000_setup_rctl() 1858 if (adapter->netdev->mtu > ETH_DATA_LEN) { in e1000_configure_rx()
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_main.c | 1530 frame_size = (new_mtu > ETH_DATA_LEN) ? (new_mtu + 18) : 0x600; in xgene_change_mtu()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_tunnel.c | 1894 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6_tnl_dev_init_gen()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 4453 if (np->dev->mtu > ETH_DATA_LEN) { in niu_size_rbr() 5566 if (np->dev->mtu > ETH_DATA_LEN) in niu_init_tx_mac() 6751 orig_jumbo = (dev->mtu > ETH_DATA_LEN); in niu_change_mtu() 6752 new_jumbo = (new_mtu > ETH_DATA_LEN); in niu_change_mtu()
|
H A D | sungem.c | 2482 #define GEM_MAX_MTU ETH_DATA_LEN
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 36 #define GOOD_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN) 4407 if (mtu > ETH_DATA_LEN || guest_gso) { in virtnet_set_big_packets()
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.c | 1379 netdev->max_mtu = ETH_DATA_LEN + VLAN_HLEN; in atl2_probe()
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 2618 net->max_mtu = ETH_DATA_LEN; in netvsc_probe()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 2784 ocelot_port_set_maxlen(ocelot, port, ETH_DATA_LEN); in ocelot_init_port()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 62 #define B44_MAX_MTU ETH_DATA_LEN
|
H A D | tg3.c | 8315 if (dev->mtu > ETH_DATA_LEN && tg3_flag(tp, 5780_CLASS)) in tg3_fix_features() 8396 tp->dev->mtu > ETH_DATA_LEN) in tg3_rx_prodring_alloc() 10122 if (tp->dev->mtu <= ETH_DATA_LEN) { in tg3_reset_hw() 10301 if (tp->dev->mtu <= ETH_DATA_LEN) { in tg3_reset_hw() 14229 if (new_mtu > ETH_DATA_LEN) { in tg3_set_mtu() 16705 if (tp->dev->mtu > ETH_DATA_LEN && !tg3_flag(tp, 5780_CLASS)) in tg3_get_invariants()
|
H A D | bnx2.h | 6534 #define MAX_ETHERNET_PACKET_SIZE ETH_DATA_LEN
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 544 netdev->max_mtu = ETH_DATA_LEN; in atl1c_set_max_mtu()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 3368 net_dev->mtu = min(dpaa_get_max_mtu(), ETH_DATA_LEN); in dpaa_eth_probe()
|
/openbmc/linux/net/ipv4/ |
H A D | ipmr.c | 535 dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8; in reg_vif_setup()
|
/openbmc/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 1519 vptr->rx.buf_sz = (mtu <= ETH_DATA_LEN) ? PKT_BUF_SZ : mtu + 32; in velocity_set_rxbufsize()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.c | 1701 (vsi->netdev->mtu <= ETH_DATA_LEN)) { in ice_vsi_cfg_frame_size()
|
/openbmc/linux/drivers/s390/net/ |
H A D | qeth_core_main.c | 2429 new_mtu = ETH_DATA_LEN; in qeth_update_max_mtu() 2431 new_mtu = ETH_DATA_LEN - 8; /* allow for LLC + SNAP */ in qeth_update_max_mtu()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 5707 if (stmmac_xdp_is_enabled(priv) && new_mtu > ETH_DATA_LEN) { in stmmac_change_mtu() 5765 if (priv->plat->bugged_jumbo && (dev->mtu > ETH_DATA_LEN)) in stmmac_fix_features()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 4655 netdev->max_mtu = ETH_DATA_LEN + ETH_FCS_LEN; in ixgbevf_probe()
|
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 2361 if (dev->mtu <= ETH_DATA_LEN) in myri10ge_open()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 738 (netdev->mtu <= ETH_DATA_LEN)) in iavf_configure_rx()
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_main.c | 4602 ndev->min_mtu = ETH_DATA_LEN; in qlge_probe()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 1735 err = mlxsw_sp_port_mtu_set(mlxsw_sp_port, ETH_DATA_LEN); in mlxsw_sp_port_create()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 2608 rx_data_len = ETH_DATA_LEN; in mtk_rx_alloc()
|