Home
last modified time | relevance | path

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

/net/hsr/
A Dhsr_main.c38 int mtu_max; in hsr_netdev_notify() local
106 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()
108 WRITE_ONCE(master->dev->mtu, mtu_max); in hsr_netdev_notify()
A Dhsr_device.c104 unsigned int mtu_max; in hsr_get_max_mtu() local
107 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