Searched refs:mtu_max (Results 1 – 2 of 2) sorted by relevance
38 int mtu_max; in hsr_netdev_notify() local106 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()108 WRITE_ONCE(master->dev->mtu, mtu_max); in hsr_netdev_notify()
104 unsigned int mtu_max; in hsr_get_max_mtu() local107 mtu_max = ETH_DATA_LEN; in hsr_get_max_mtu()110 mtu_max = min(port->dev->mtu, mtu_max); in hsr_get_max_mtu()112 if (mtu_max < HSR_HLEN) in hsr_get_max_mtu()114 return mtu_max - HSR_HLEN; in hsr_get_max_mtu()
Completed in 6 milliseconds