Searched refs:mtu_max (Results 1 – 8 of 8) sorted by relevance
29 int mtu_max; in hsr_netdev_notify() local83 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()85 master->dev->mtu = mtu_max; in hsr_netdev_notify()
124 unsigned int mtu_max; in hsr_get_max_mtu() local127 mtu_max = ETH_DATA_LEN; in hsr_get_max_mtu()131 mtu_max = min(port->dev->mtu, mtu_max); in hsr_get_max_mtu()134 if (mtu_max < HSR_HLEN) in hsr_get_max_mtu()136 return mtu_max - HSR_HLEN; in hsr_get_max_mtu()
43 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; variable55 if (mtu_max < 68 || mtu_max > WIL_MAX_ETH_MTU) in mtu_max_set()66 module_param_cb(mtu_max, &mtu_max_ops, &mtu_max, S_IRUGO);67 MODULE_PARM_DESC(mtu_max, " Max MTU value.");
43 if (new_mtu < 68 || new_mtu > mtu_max) { in wil_change_mtu()
221 unsigned int sz = mtu_max + ETH_HLEN + wil_rx_snaplen(); in wil_vring_alloc_skb()378 unsigned int sz = mtu_max + ETH_HLEN + snaplen; in wil_vring_reap_rx()684 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_tx()760 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_bcast()
244 (mtu_max + WIL_MAX_MPDU_OVERHEAD)); in wil_agg_size()
27 extern unsigned int mtu_max;
1079 .max_mpdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wmi_rx_chain_add()