Home
last modified time | relevance | path

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

/linux-4.4.14/net/hsr/
Dhsr_main.c29 int mtu_max; in hsr_netdev_notify() local
83 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()
85 master->dev->mtu = mtu_max; in hsr_netdev_notify()
Dhsr_device.c124 unsigned int mtu_max; in hsr_get_max_mtu() local
127 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()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dmain.c48 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; variable
60 if (mtu_max < 68 || mtu_max > WIL_MAX_ETH_MTU) in mtu_max_set()
71 module_param_cb(mtu_max, &mtu_max_ops, &mtu_max, S_IRUGO);
72 MODULE_PARM_DESC(mtu_max, " Max MTU value.");
Dnetdev.c48 if (new_mtu < 68 || new_mtu > mtu_max) { in wil_change_mtu()
Dtxrx.c221 unsigned int sz = mtu_max + ETH_HLEN + wil_rx_snaplen(); in wil_vring_alloc_skb()
385 unsigned int sz = mtu_max + ETH_HLEN + snaplen; in wil_vring_reap_rx()
728 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_tx()
808 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_bcast()
Drx_reorder.c276 (mtu_max + WIL_MAX_MPDU_OVERHEAD)); in wil_agg_size()
Dwil6210.h28 extern unsigned int mtu_max;
Dwmi.c1102 .max_mpdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wmi_rx_chain_add()