Searched refs:mtu_max (Results 1 – 2 of 2) sorted by relevance
38 int mtu_max; in hsr_netdev_notify() local97 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()99 master->dev->mtu = mtu_max; in hsr_netdev_notify()
111 unsigned int mtu_max; in hsr_get_max_mtu() local114 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()