Searched refs:ETH_MAX_MTU (Results 1 – 25 of 39) sorted by relevance
12
28 #ifndef ETH_MAX_MTU29 #define ETH_MAX_MTU 0xFFFFU macro48 #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 …]
30 #ifndef ETH_MAX_MTU31 #define ETH_MAX_MTU 0xFFFFU macro88 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()
250 static char rbuf[ETH_MAX_MTU]; in do_flush_udp()
50 #define TEST_SZ (sizeof(struct virtio_net_hdr) + ETH_HLEN + ETH_MAX_MTU + 1)
31 #define TEST_PACKET_SZ (sizeof(struct virtio_net_hdr) + ETH_HLEN + ETH_MAX_MTU)
41 #define ETH_MAX_MTU 0xFFFFU /* 65535, same as IP_MAX_MTU */ macro
225 dev->max_mtu = ETH_MAX_MTU; in bnep_net_setup()
99 netdev->max_mtu = ETH_MAX_MTU; in do_setup()
155 iosm_dev->max_mtu = ETH_MAX_MTU; in ipc_wwan_setup()
280 dev->max_mtu = ETH_MAX_MTU; in l2tp_eth_create()
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()
437 ndev->max_mtu = ETH_MAX_MTU; in ntb_netdev_probe()
1448 return mtu >= ETH_MIN_MTU && mtu <= ETH_MAX_MTU; in is_valid_veth_mtu()1666 peer->max_mtu = ETH_MAX_MTU; in veth_xdp_set()1772 dev->max_mtu = ETH_MAX_MTU; in veth_setup()
277 return ETH_MAX_MTU; in dsa_loop_port_max_mtu()
315 dev->max_mtu = ETH_MAX_MTU; in nsim_setup()
91 ndev->max_mtu = ETH_MAX_MTU; in wwan_hwsim_netdev_setup()
532 dev->max_mtu = ETH_MAX_MTU; in br_dev_setup()
656 netdev->max_mtu = ETH_MAX_MTU; in br2684_setup_routed()
674 dev->max_mtu = ETH_MAX_MTU; in ipvlan_link_setup()
314 mr_route->min_mtu = ETH_MAX_MTU; in mlxsw_sp_mr_route_create()
1132 dev->max_mtu = ETH_MAX_MTU; in vlan_setup()
323 net->max_mtu = ETH_MAX_MTU; in qmi_wwan_netdev_setup()
812 dev->max_mtu = ETH_MAX_MTU; in lan966x_probe_port()
3225 dev->max_mtu = ETH_MAX_MTU; in vxlan_setup()3311 if (mtu < ETH_MIN_MTU || mtu > ETH_MAX_MTU) { in vxlan_validate()3733 int max_mtu = ETH_MAX_MTU; in vxlan_config_apply()
1731 netdev->max_mtu = ETH_MAX_MTU - IBMVETH_BUFF_OH; in ibmveth_probe()