Home
last modified time | relevance | path

Searched refs:ETH_MAX_MTU (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/testing/selftests/net/
A Dudpgso.c28 #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 …]
A Dudpgso_bench_tx.c30 #ifndef ETH_MAX_MTU
31 #define ETH_MAX_MTU 0xFFFFU macro
87 static char buf[NUM_PKT][ETH_MAX_MTU];
312 const int max_nr_msg = ETH_MAX_MTU / ETH_DATA_LEN; in send_udp_sendmmsg()
519 max_len = ETH_MAX_MTU - hdrlen; in parse_opts()
A Dudpgso_bench_rx.c252 static char rbuf[ETH_MAX_MTU]; in do_flush_udp()
A Dpsock_snd.c50 #define TEST_SZ (sizeof(struct virtio_net_hdr) + ETH_HLEN + ETH_MAX_MTU + 1)
/linux/include/uapi/linux/
A Dif_ether.h41 #define ETH_MAX_MTU 0xFFFFU /* 65535, same as IP_MAX_MTU */ macro
/linux/net/bluetooth/bnep/
A Dnetdev.c225 dev->max_mtu = ETH_MAX_MTU; in bnep_net_setup()
/linux/net/openvswitch/
A Dvport-internal_dev.c99 netdev->max_mtu = ETH_MAX_MTU; in do_setup()
/linux/net/l2tp/
A Dl2tp_eth.c280 dev->max_mtu = ETH_MAX_MTU; in l2tp_eth_create()
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_wwan.c167 iosm_dev->max_mtu = ETH_MAX_MTU; in ipc_wwan_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()
549 dev->max_mtu = ETH_MAX_MTU - VLAN_ETH_HLEN; in xenvif_alloc()
/linux/drivers/net/dsa/
A Ddsa_loop.c275 return ETH_MAX_MTU; in dsa_loop_port_max_mtu()
/linux/drivers/net/netdevsim/
A Dnetdev.c297 dev->max_mtu = ETH_MAX_MTU; in nsim_setup()
/linux/drivers/net/
A Dntb_netdev.c437 ndev->max_mtu = ETH_MAX_MTU; in ntb_netdev_probe()
A Dveth.c1310 return mtu >= ETH_MIN_MTU && mtu <= ETH_MAX_MTU; in is_valid_veth_mtu()
1507 peer->max_mtu = ETH_MAX_MTU; in veth_xdp_set()
1580 dev->max_mtu = ETH_MAX_MTU; in veth_setup()
A Dvxlan.c3311 dev->max_mtu = ETH_MAX_MTU; in vxlan_setup()
3394 if (mtu < ETH_MIN_MTU || mtu > ETH_MAX_MTU) { in vxlan_validate()
3792 int max_mtu = ETH_MAX_MTU; in vxlan_config_apply()
A Dmacvlan.c1182 dev->max_mtu = ETH_MAX_MTU; in macvlan_common_setup()
/linux/drivers/net/wwan/
A Dwwan_hwsim.c90 ndev->max_mtu = ETH_MAX_MTU; in wwan_hwsim_netdev_setup()
/linux/net/bridge/
A Dbr_device.c527 dev->max_mtu = ETH_MAX_MTU; in br_dev_setup()
/linux/net/atm/
A Dbr2684.c656 netdev->max_mtu = ETH_MAX_MTU; in br2684_setup_routed()
/linux/net/8021q/
A Dvlan_dev.c869 dev->max_mtu = ETH_MAX_MTU; in vlan_setup()
/linux/drivers/net/ipvlan/
A Dipvlan_main.c673 dev->max_mtu = ETH_MAX_MTU; in ipvlan_link_setup()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_mr.c314 mr_route->min_mtu = ETH_MAX_MTU; in mlxsw_sp_mr_route_create()
/linux/drivers/net/usb/
A Dqmi_wwan.c323 net->max_mtu = ETH_MAX_MTU; in qmi_wwan_netdev_setup()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_main.c1219 netdev->max_mtu = ETH_MAX_MTU; in nic_dev_init()
/linux/drivers/net/ethernet/ibm/
A Dibmveth.c1710 netdev->max_mtu = ETH_MAX_MTU - IBMVETH_BUFF_OH; in ibmveth_probe()

Completed in 62 milliseconds

12