Home
last modified time | relevance | path

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

12345

/linux/net/batman-adv/
A Dhard-interface.c609 return min_t(int, min_mtu - batadv_max_header_len(), ETH_DATA_LEN); in batadv_hardif_min_mtu()
720 hard_iface->net_dev->mtu < ETH_DATA_LEN + max_header_len) in batadv_hardif_enable_interface()
724 ETH_DATA_LEN + max_header_len); in batadv_hardif_enable_interface()
727 hard_iface->net_dev->mtu < ETH_DATA_LEN + max_header_len) in batadv_hardif_enable_interface()
731 ETH_DATA_LEN + max_header_len); in batadv_hardif_enable_interface()
A Dmain.h93 #define BATADV_TP_PACKET_LEN ETH_DATA_LEN
A Dsoft-interface.c774 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/drivers/net/ethernet/ibm/emac/
A Dcore.h60 if (mtu > ETH_DATA_LEN) in emac_rx_size()
63 return mal_rx_size(ETH_DATA_LEN + EMAC_MTU_OVERHEAD); in emac_rx_size()
A Dcore.c628 if (dev->ndev->mtu > ETH_DATA_LEN) { in emac_configure()
1089 mr1_jumbo_bit_change = (new_mtu > ETH_DATA_LEN) || in emac_resize_rx_ring()
1090 (dev->ndev->mtu > ETH_DATA_LEN); in emac_resize_rx_ring()
1092 mr1_jumbo_bit_change = (new_mtu > ETH_DATA_LEN) ^ in emac_resize_rx_ring()
1093 (dev->ndev->mtu > ETH_DATA_LEN); in emac_resize_rx_ring()
2863 dev->max_mtu = ETH_DATA_LEN; in emac_init_config()
/linux/drivers/net/ethernet/qualcomm/
A Dqca_7k_common.h48 #define QCAFRM_MAX_MTU ETH_DATA_LEN
/linux/drivers/net/ipa/
A Dipa_endpoint.h25 #define IPA_MTU ETH_DATA_LEN
/linux/include/uapi/linux/
A Dif_ether.h36 #define ETH_DATA_LEN 1500 /* Max. octets in payload */ macro
/linux/net/ethernet/
A Deth.c363 dev->mtu = ETH_DATA_LEN; in ether_setup()
365 dev->max_mtu = ETH_DATA_LEN; in ether_setup()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_xdp.c112 if (prog && dev->mtu > ETH_DATA_LEN) { in stmmac_xdp_set_prog()
A Ddwmac-mediatek.c419 plat_dat->maxmtu = ETH_DATA_LEN; in mediatek_dwmac_probe()
/linux/drivers/net/ethernet/intel/igc/
A Digc_xdp.c16 if (dev->mtu > ETH_DATA_LEN) { in igc_xdp_set_prog()
/linux/net/dsa/
A Dmaster.c338 err = dev_set_mtu(dev, ETH_DATA_LEN); in dsa_master_reset_mtu()
354 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
/linux/drivers/net/xen-netback/
A Dinterface.c369 int max = vif->can_sg ? ETH_MAX_MTU - VLAN_ETH_HLEN : ETH_DATA_LEN; in xenvif_change_mtu()
622 if (!vif->can_sg && vif->dev->mtu > ETH_DATA_LEN) in xenvif_carrier_on()
623 dev_set_mtu(vif->dev, ETH_DATA_LEN); in xenvif_carrier_on()
/linux/drivers/net/ethernet/actions/
A Dowl-emac.h20 #define OWL_EMAC_MTU_MAX ETH_DATA_LEN
/linux/tools/testing/selftests/net/
A Dudpgso_bench_tx.c312 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/net/l2tp/
A Dl2tp_eth.c237 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_wwan.c165 iosm_dev->mtu = ETH_DATA_LEN; in ipc_wwan_setup()
/linux/drivers/net/ethernet/xilinx/
A Dxilinx_emaclite.c425 if (proto_type > ETH_DATA_LEN) { in xemaclite_recv_data()
433 length = min_t(u16, length, ETH_DATA_LEN); in xemaclite_recv_data()
/linux/drivers/net/ethernet/broadcom/
A Dbcm4908_enet.c34 #define ENET_MTU_MAX ETH_DATA_LEN /* Is it possible to support 2044? */
725 netdev->mtu = ETH_DATA_LEN; in bcm4908_enet_probe()
/linux/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_netdev.c199 adapter->info.vesw.eth_mtu = ETH_DATA_LEN; in opa_vnic_set_pod_values()
/linux/drivers/net/ethernet/intel/
A De100.c2025 if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) in e100_rx_indicate()
2034 } else if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) { in e100_rx_indicate()
2376 if (!(skb = netdev_alloc_skb(nic->netdev, ETH_DATA_LEN))) { in e100_loopback_test()
2380 skb_put(skb, ETH_DATA_LEN); in e100_loopback_test()
2381 memset(skb->data, 0xFF, ETH_DATA_LEN); in e100_loopback_test()
2390 skb->data, ETH_DATA_LEN)) in e100_loopback_test()
/linux/drivers/staging/wlan-ng/
A Dp80211conv.c134 if (proto <= ETH_DATA_LEN) { in skb_ether_to_p80211()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_mac.h24 #define MAC_DEFAULT_MTU (ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN + ETH_DATA_LEN)
/linux/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.h32 #define ENET_MAX_MTU_SIZE (ETH_DATA_LEN + ETH_HLEN + VLAN_HLEN + \

Completed in 51 milliseconds

12345