Home
last modified time | relevance | path

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

/net/hsr/
Dhsr_main.c38 int mtu_max; in hsr_netdev_notify() local
97 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()
99 master->dev->mtu = mtu_max; in hsr_netdev_notify()
Dhsr_device.c111 unsigned int mtu_max; in hsr_get_max_mtu() local
114 mtu_max = ETH_DATA_LEN; in hsr_get_max_mtu()
117 mtu_max = min(port->dev->mtu, mtu_max); in hsr_get_max_mtu()
119 if (mtu_max < HSR_HLEN) in hsr_get_max_mtu()
121 return mtu_max - HSR_HLEN; in hsr_get_max_mtu()