Home
last modified time | relevance | path

Searched refs:ETH_DATA_LEN (Results 1 – 25 of 110) sorted by relevance

12345

/openbmc/linux/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.h48 #define QCAFRM_MAX_MTU ETH_DATA_LEN
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.h59 if (mtu > ETH_DATA_LEN) in emac_rx_size()
62 return mal_rx_size(ETH_DATA_LEN + EMAC_MTU_OVERHEAD); in emac_rx_size()
/openbmc/u-boot/include/linux/
H A Dif_ether.h36 #define ETH_DATA_LEN 1500 /* Max. octets in payload */ macro
/openbmc/linux/include/uapi/linux/
H A Dif_ether.h36 #define ETH_DATA_LEN 1500 /* Max. octets in payload */ macro
/openbmc/linux/drivers/net/ipa/
H A Dipa_endpoint.h25 #define IPA_MTU ETH_DATA_LEN
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_xdp.c17 if (dev->mtu > ETH_DATA_LEN) { in igc_xdp_set_prog()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_xdp.c112 if (prog && dev->mtu > ETH_DATA_LEN) { in stmmac_xdp_set_prog()
/openbmc/linux/net/batman-adv/
H A Dmain.h93 #define BATADV_TP_PACKET_LEN ETH_DATA_LEN
H A Dhard-interface.c624 return min_t(int, min_mtu - batadv_max_header_len(), ETH_DATA_LEN); in batadv_hardif_min_mtu()
643 limit_mtu = ETH_DATA_LEN; in batadv_update_min_mtu()
H A Dsoft-interface.c775 atomic_set(&bat_priv->packet_size_max, ETH_DATA_LEN); in batadv_softif_init_late()
1014 dev->mtu = ETH_DATA_LEN; in batadv_softif_init_early()
/openbmc/linux/net/ethernet/
H A Deth.c353 dev->mtu = ETH_DATA_LEN; in ether_setup()
355 dev->max_mtu = ETH_DATA_LEN; in ether_setup()
/openbmc/linux/net/dsa/
H A Dmaster.c353 err = dev_set_mtu(dev, ETH_DATA_LEN); in dsa_master_reset_mtu()
366 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
/openbmc/linux/tools/testing/selftests/net/
H A Dtap.c316 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()
H A Dudpgso_bench_tx.c328 const int max_nr_msg = ETH_MAX_MTU / ETH_DATA_LEN; in send_udp_sendmmsg()
540 cfg_mss = ETH_DATA_LEN - hdrlen; in parse_opts()
/openbmc/linux/drivers/net/xen-netback/
H A Dinterface.c354 int max = vif->can_sg ? ETH_MAX_MTU - VLAN_ETH_HLEN : ETH_DATA_LEN; in xenvif_change_mtu()
605 if (!vif->can_sg && vif->dev->mtu > ETH_DATA_LEN) in xenvif_carrier_on()
606 dev_set_mtu(vif->dev, ETH_DATA_LEN); in xenvif_carrier_on()
/openbmc/linux/drivers/net/ethernet/actions/
H A Dowl-emac.h20 #define OWL_EMAC_MTU_MAX ETH_DATA_LEN
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_wwan.c153 iosm_dev->mtu = ETH_DATA_LEN; in ipc_wwan_setup()
/openbmc/linux/net/l2tp/
H A Dl2tp_eth.c240 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_emaclite.c416 if (proto_type > ETH_DATA_LEN) { in xemaclite_recv_data()
423 length = min_t(u16, length, ETH_DATA_LEN); in xemaclite_recv_data()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_netdev.c198 adapter->info.vesw.eth_mtu = ETH_DATA_LEN; in opa_vnic_set_pod_values()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcm4908_enet.c34 #define ENET_MTU_MAX ETH_DATA_LEN /* Is it possible to support 2044? */
752 netdev->mtu = ETH_DATA_LEN; in bcm4908_enet_probe()
/openbmc/linux/drivers/staging/wlan-ng/
H A Dp80211conv.c113 if (proto <= ETH_DATA_LEN) { in skb_ether_to_p80211()
/openbmc/linux/drivers/net/ethernet/intel/
H A De100.c2021 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.h24 #define MAC_DEFAULT_MTU (ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN + ETH_DATA_LEN)
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_netdev.c226 dev->mtu = ETH_DATA_LEN; in t7xx_ccmni_wwan_setup()

12345