/linux-6.1.9/net/batman-adv/ |
D | hard-interface.c | 623 return min_t(int, min_mtu - batadv_max_header_len(), ETH_DATA_LEN); in batadv_hardif_min_mtu() 737 hard_iface->net_dev->mtu < ETH_DATA_LEN + max_header_len) in batadv_hardif_enable_interface() 741 ETH_DATA_LEN + max_header_len); in batadv_hardif_enable_interface() 744 hard_iface->net_dev->mtu < ETH_DATA_LEN + max_header_len) in batadv_hardif_enable_interface() 748 ETH_DATA_LEN + max_header_len); in batadv_hardif_enable_interface()
|
D | main.h | 93 #define BATADV_TP_PACKET_LEN ETH_DATA_LEN
|
D | soft-interface.c | 774 atomic_set(&bat_priv->packet_size_max, ETH_DATA_LEN); in batadv_softif_init_late() 1013 dev->mtu = ETH_DATA_LEN; in batadv_softif_init_early()
|
/linux-6.1.9/drivers/net/ethernet/ibm/emac/ |
D | core.h | 60 if (mtu > ETH_DATA_LEN) in emac_rx_size() 63 return mal_rx_size(ETH_DATA_LEN + EMAC_MTU_OVERHEAD); in emac_rx_size()
|
/linux-6.1.9/drivers/net/ethernet/qualcomm/ |
D | qca_7k_common.h | 48 #define QCAFRM_MAX_MTU ETH_DATA_LEN
|
/linux-6.1.9/include/uapi/linux/ |
D | if_ether.h | 36 #define ETH_DATA_LEN 1500 /* Max. octets in payload */ macro
|
/linux-6.1.9/drivers/net/ipa/ |
D | ipa_endpoint.h | 25 #define IPA_MTU ETH_DATA_LEN
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_xdp.c | 112 if (prog && dev->mtu > ETH_DATA_LEN) { in stmmac_xdp_set_prog()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_xdp.c | 17 if (dev->mtu > ETH_DATA_LEN) { in igc_xdp_set_prog()
|
/linux-6.1.9/net/ethernet/ |
D | eth.c | 363 dev->mtu = ETH_DATA_LEN; in ether_setup() 365 dev->max_mtu = ETH_DATA_LEN; in ether_setup()
|
/linux-6.1.9/net/dsa/ |
D | master.c | 350 err = dev_set_mtu(dev, ETH_DATA_LEN); in dsa_master_reset_mtu() 363 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | tap.c | 316 vh->gso_size = ETH_DATA_LEN - sizeof(struct iphdr); in build_test_packet_valid_udp_gso() 351 vh->gso_size = ETH_DATA_LEN - sizeof(struct iphdr); in build_test_packet_crash_tap_invalid_eth_proto()
|
D | udpgso_bench_tx.c | 312 const int max_nr_msg = ETH_MAX_MTU / ETH_DATA_LEN; in send_udp_sendmmsg() 518 cfg_mss = ETH_DATA_LEN - hdrlen; in parse_opts()
|
/linux-6.1.9/drivers/net/xen-netback/ |
D | interface.c | 356 int max = vif->can_sg ? ETH_MAX_MTU - VLAN_ETH_HLEN : ETH_DATA_LEN; in xenvif_change_mtu() 609 if (!vif->can_sg && vif->dev->mtu > ETH_DATA_LEN) in xenvif_carrier_on() 610 dev_set_mtu(vif->dev, ETH_DATA_LEN); in xenvif_carrier_on()
|
/linux-6.1.9/drivers/net/ethernet/actions/ |
D | owl-emac.h | 20 #define OWL_EMAC_MTU_MAX ETH_DATA_LEN
|
/linux-6.1.9/drivers/net/wwan/iosm/ |
D | iosm_ipc_wwan.c | 155 iosm_dev->mtu = ETH_DATA_LEN; in ipc_wwan_setup()
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_eth.c | 237 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
|
/linux-6.1.9/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 416 if (proto_type > ETH_DATA_LEN) { in xemaclite_recv_data() 423 length = min_t(u16, length, ETH_DATA_LEN); in xemaclite_recv_data()
|
/linux-6.1.9/drivers/net/wwan/t7xx/ |
D | t7xx_netdev.c | 166 dev->mtu = ETH_DATA_LEN; in t7xx_ccmni_wwan_setup()
|
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_netdev.c | 198 adapter->info.vesw.eth_mtu = ETH_DATA_LEN; in opa_vnic_set_pod_values()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bcm4908_enet.c | 34 #define ENET_MTU_MAX ETH_DATA_LEN /* Is it possible to support 2044? */ 729 netdev->mtu = ETH_DATA_LEN; in bcm4908_enet_probe()
|
/linux-6.1.9/drivers/staging/wlan-ng/ |
D | p80211conv.c | 134 if (proto <= ETH_DATA_LEN) { in skb_ether_to_p80211()
|
/linux-6.1.9/drivers/net/ethernet/intel/ |
D | e100.c | 2021 if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) in e100_rx_indicate() 2030 } else if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) { in e100_rx_indicate() 2372 if (!(skb = netdev_alloc_skb(nic->netdev, ETH_DATA_LEN))) { in e100_loopback_test() 2376 skb_put(skb, ETH_DATA_LEN); in e100_loopback_test() 2377 memset(skb->data, 0xFF, ETH_DATA_LEN); in e100_loopback_test() 2386 skb->data, ETH_DATA_LEN)) in e100_loopback_test()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.h | 24 #define MAC_DEFAULT_MTU (ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN + ETH_DATA_LEN)
|
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 32 #define ENET_MAX_MTU_SIZE (ETH_DATA_LEN + ETH_HLEN + VLAN_HLEN + \
|