/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgso.c | 28 #ifndef ETH_MAX_MTU 29 #define ETH_MAX_MTU 0xFFFFU macro 48 #define CONST_MAX_SEGS_V4 (ETH_MAX_MTU / CONST_MSS_V4) 49 #define CONST_MAX_SEGS_V6 (ETH_MAX_MTU / CONST_MSS_V6) 62 static char buf[ETH_MAX_MTU]; 119 .tlen = (ETH_MAX_MTU / CONST_MSS_V4) * CONST_MSS_V4, 121 .r_num_mss = (ETH_MAX_MTU / CONST_MSS_V4), 126 .tlen = ETH_MAX_MTU - CONST_HDRLEN_V4, 129 .r_len_last = ETH_MAX_MTU - CONST_HDRLEN_V4 - 134 .tlen = ETH_MAX_MTU - CONST_HDRLEN_V4 + 1, [all …]
|
H A D | udpgso_bench_tx.c | 30 #ifndef ETH_MAX_MTU 31 #define ETH_MAX_MTU 0xFFFFU macro 88 static char buf[NUM_PKT][ETH_MAX_MTU]; 328 const int max_nr_msg = ETH_MAX_MTU / ETH_DATA_LEN; in send_udp_sendmmsg() 541 max_len = ETH_MAX_MTU - hdrlen; in parse_opts()
|
H A D | udpgso_bench_rx.c | 250 static char rbuf[ETH_MAX_MTU]; in do_flush_udp()
|
H A D | psock_snd.c | 50 #define TEST_SZ (sizeof(struct virtio_net_hdr) + ETH_HLEN + ETH_MAX_MTU + 1)
|
H A D | tap.c | 31 #define TEST_PACKET_SZ (sizeof(struct virtio_net_hdr) + ETH_HLEN + ETH_MAX_MTU)
|
/openbmc/u-boot/include/linux/ |
H A D | if_ether.h | 41 #define ETH_MAX_MTU 0xFFFFU /* 65535, same as IP_MAX_MTU */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_ether.h | 41 #define ETH_MAX_MTU 0xFFFFU /* 65535, same as IP_MAX_MTU */ macro
|
/openbmc/linux/net/bluetooth/bnep/ |
H A D | netdev.c | 225 dev->max_mtu = ETH_MAX_MTU; in bnep_net_setup()
|
/openbmc/linux/net/openvswitch/ |
H A D | vport-internal_dev.c | 99 netdev->max_mtu = ETH_MAX_MTU; in do_setup()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_wwan.c | 155 iosm_dev->max_mtu = ETH_MAX_MTU; in ipc_wwan_setup()
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_eth.c | 283 dev->max_mtu = ETH_MAX_MTU; in l2tp_eth_create()
|
/openbmc/linux/drivers/net/xen-netback/ |
H A D | interface.c | 354 int max = vif->can_sg ? ETH_MAX_MTU - VLAN_ETH_HLEN : ETH_DATA_LEN; in xenvif_change_mtu() 532 dev->max_mtu = ETH_MAX_MTU - VLAN_ETH_HLEN; in xenvif_alloc()
|
/openbmc/linux/drivers/net/dsa/ |
H A D | dsa_loop.c | 277 return ETH_MAX_MTU; in dsa_loop_port_max_mtu()
|
/openbmc/linux/drivers/net/ |
H A D | ntb_netdev.c | 437 ndev->max_mtu = ETH_MAX_MTU; in ntb_netdev_probe()
|
H A D | veth.c | 1448 return mtu >= ETH_MIN_MTU && mtu <= ETH_MAX_MTU; in is_valid_veth_mtu() 1649 peer->max_mtu = ETH_MAX_MTU; in veth_xdp_set() 1755 dev->max_mtu = ETH_MAX_MTU; in veth_setup()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | netdev.c | 315 dev->max_mtu = ETH_MAX_MTU; in nsim_setup()
|
/openbmc/linux/drivers/net/wwan/ |
H A D | wwan_hwsim.c | 91 ndev->max_mtu = ETH_MAX_MTU; in wwan_hwsim_netdev_setup()
|
/openbmc/linux/net/bridge/ |
H A D | br_device.c | 538 dev->max_mtu = ETH_MAX_MTU; in br_dev_setup()
|
/openbmc/linux/net/atm/ |
H A D | br2684.c | 656 netdev->max_mtu = ETH_MAX_MTU; in br2684_setup_routed()
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvlan_main.c | 674 dev->max_mtu = ETH_MAX_MTU; in ipvlan_link_setup()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr.c | 314 mr_route->min_mtu = ETH_MAX_MTU; in mlxsw_sp_mr_route_create()
|
/openbmc/linux/net/8021q/ |
H A D | vlan_dev.c | 1132 dev->max_mtu = ETH_MAX_MTU; in vlan_setup()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 812 dev->max_mtu = ETH_MAX_MTU; in lan966x_probe_port()
|
/openbmc/linux/drivers/net/usb/ |
H A D | qmi_wwan.c | 324 net->max_mtu = ETH_MAX_MTU; in qmi_wwan_netdev_setup()
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 3249 dev->max_mtu = ETH_MAX_MTU; in vxlan_setup() 3335 if (mtu < ETH_MIN_MTU || mtu > ETH_MAX_MTU) { in vxlan_validate() 3757 int max_mtu = ETH_MAX_MTU; in vxlan_config_apply()
|