Searched refs:mtu_max (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/net/hsr/ |
D | hsr_main.c | 24 int mtu_max; in hsr_netdev_notify() local 79 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify() 81 master->dev->mtu = mtu_max; in hsr_netdev_notify()
|
D | hsr_device.c | 117 unsigned int mtu_max; in hsr_get_max_mtu() local 120 mtu_max = ETH_DATA_LEN; in hsr_get_max_mtu() 124 mtu_max = min(port->dev->mtu, mtu_max); in hsr_get_max_mtu() 127 if (mtu_max < HSR_HLEN) in hsr_get_max_mtu() 129 return mtu_max - HSR_HLEN; in hsr_get_max_mtu()
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | main.c | 58 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; variable 70 if (mtu_max < 68 || mtu_max > WIL_MAX_ETH_MTU) in mtu_max_set() 81 module_param_cb(mtu_max, &mtu_max_ops, &mtu_max, 0444); 82 MODULE_PARM_DESC(mtu_max, " Max MTU value.");
|
D | txrx.c | 1071 if (mtu_max > wil->rx_buf_len) { in wil_rx_buf_len_init() 1076 wil_info(wil, "Override RX buffer to mtu_max(%d)\n", mtu_max); in wil_rx_buf_len_init() 1077 wil->rx_buf_len = mtu_max; in wil_rx_buf_len_init() 1176 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_tx() 1278 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_tx_vring_modify() 1360 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_bcast()
|
D | rx_reorder.c | 300 (mtu_max + WIL_MAX_MPDU_OVERHEAD)); in wil_agg_size()
|
D | netdev.c | 208 dev->max_mtu = mtu_max; in wil_dev_setup()
|
D | wil6210.h | 33 extern unsigned int mtu_max;
|
D | wmi.c | 3877 .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_wmi_tx_desc_ring_add() 3924 .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_wmi_bcast_desc_ring_add()
|