Home
last modified time | relevance | path

Searched refs:ETH_DATA_LEN (Results 76 – 100 of 104) sorted by relevance

12345

/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c1801 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 Dxgene_enet_main.c1530 frame_size = (new_mtu > ETH_DATA_LEN) ? (new_mtu + 18) : 0x600; in xgene_change_mtu()
/openbmc/linux/net/ipv6/
H A Dip6_tunnel.c1894 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6_tnl_dev_init_gen()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dniu.c4453 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 Dsungem.c2482 #define GEM_MAX_MTU ETH_DATA_LEN
/openbmc/linux/drivers/net/
H A Dvirtio_net.c36 #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 Datl2.c1379 netdev->max_mtu = ETH_DATA_LEN + VLAN_HLEN; in atl2_probe()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c2618 net->max_mtu = ETH_DATA_LEN; in netvsc_probe()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot.c2784 ocelot_port_set_maxlen(ocelot, port, ETH_DATA_LEN); in ocelot_init_port()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Db44.c62 #define B44_MAX_MTU ETH_DATA_LEN
H A Dtg3.c8315 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 Dbnx2.h6534 #define MAX_ETHERNET_PACKET_SIZE ETH_DATA_LEN
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c544 netdev->max_mtu = ETH_DATA_LEN; in atl1c_set_max_mtu()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c3368 net_dev->mtu = min(dpaa_get_max_mtu(), ETH_DATA_LEN); in dpaa_eth_probe()
/openbmc/linux/net/ipv4/
H A Dipmr.c535 dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8; in reg_vif_setup()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.c1519 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 Dice_lib.c1701 (vsi->netdev->mtu <= ETH_DATA_LEN)) { in ice_vsi_cfg_frame_size()
/openbmc/linux/drivers/s390/net/
H A Dqeth_core_main.c2429 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 Dstmmac_main.c5707 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 Dixgbevf_main.c4655 netdev->max_mtu = ETH_DATA_LEN + ETH_FCS_LEN; in ixgbevf_probe()
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c2361 if (dev->mtu <= ETH_DATA_LEN) in myri10ge_open()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c738 (netdev->mtu <= ETH_DATA_LEN)) in iavf_configure_rx()
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_main.c4602 ndev->min_mtu = ETH_DATA_LEN; in qlge_probe()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c1735 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 Dmtk_eth_soc.c2608 rx_data_len = ETH_DATA_LEN; in mtk_rx_alloc()

12345