Home
last modified time | relevance | path

Searched refs:MAX_MTU (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h107 #define MAX_MTU 1508 /* Allow fullsized pppoe packets over VLAN */ macro
111 #define PKT_MAXBUF_SIZE (MAX_MTU+ETH_HLEN+CRC_LEN)
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.h42 MAX_MTU = 9600, /* max MAC MTU, excluding header + FCS */ enumerator
Dcxgb4_main.c4131 if (new_mtu < 81 || new_mtu > MAX_MTU) /* accommodate SACK */ in cxgb_change_mtu()
/drivers/net/
Dveth.c26 #define MAX_MTU 65535 /* Max L3 MTU (arbitrary) */ macro
220 return new_mtu >= MIN_MTU && new_mtu <= MAX_MTU; in is_valid_veth_mtu()
Dvirtio_net.c1190 #define MAX_MTU 65535 macro
1194 if (new_mtu < MIN_MTU || new_mtu > MAX_MTU) in virtnet_change_mtu()
Dtun.c780 #define MAX_MTU 65535 macro
785 if (new_mtu < MIN_MTU || new_mtu + dev->hard_header_len > MAX_MTU) in tun_net_change_mtu()
/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c14 #define MAX_MTU 9600 macro
455 if (mtu > MAX_MTU) in mac_set_mtu()
/drivers/net/ethernet/calxeda/
Dxgmac.c399 #define MAX_MTU 9000 macro
1327 if ((new_mtu < 46) || (new_mtu > MAX_MTU)) { in xgmac_change_mtu()
1328 netdev_err(priv->dev, "invalid MTU, max MTU is: %d\n", MAX_MTU); in xgmac_change_mtu()
/drivers/net/ethernet/neterion/
Ds2io.h458 #define MAX_MTU (MAX_PYLD+18) macro
/drivers/tty/
Dn_gsm.c86 #define MAX_MTU 1500 macro
2488 if (c->mru > MAX_MRU || c->mtu > MAX_MTU || c->mru < 8 || c->mtu < 8) in gsmld_config()