Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/octeon/
H A Dethernet.c247 int mtu_overhead = ETH_HLEN + ETH_FCS_LEN + vlan_bytes; in cvm_oct_common_change_mtu() local
256 int max_packet = new_mtu + mtu_overhead; in cvm_oct_common_change_mtu()
680 int mtu_overhead = ETH_HLEN + ETH_FCS_LEN; in cvm_oct_probe() local
683 mtu_overhead += VLAN_HLEN; in cvm_oct_probe()
782 dev->min_mtu = VLAN_ETH_ZLEN - mtu_overhead; in cvm_oct_probe()
783 dev->max_mtu = OCTEON_MAX_MTU - mtu_overhead; in cvm_oct_probe()
839 dev->min_mtu = VLAN_ETH_ZLEN - mtu_overhead; in cvm_oct_probe()
840 dev->max_mtu = OCTEON_MAX_MTU - mtu_overhead; in cvm_oct_probe()