Searched refs:mtu_max (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/net/hsr/ |
D | hsr_main.c | 38 int mtu_max; in hsr_netdev_notify() local 97 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify() 99 master->dev->mtu = mtu_max; in hsr_netdev_notify()
|
D | hsr_device.c | 111 unsigned int mtu_max; in hsr_get_max_mtu() local 114 mtu_max = ETH_DATA_LEN; in hsr_get_max_mtu() 117 mtu_max = min(port->dev->mtu, mtu_max); in hsr_get_max_mtu() 119 if (mtu_max < HSR_HLEN) in hsr_get_max_mtu() 121 return mtu_max - HSR_HLEN; in hsr_get_max_mtu()
|
/Linux-v6.6/drivers/net/wireless/ath/wil6210/ |
D | main.c | 47 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; variable 59 if (mtu_max < 68 || mtu_max > WIL_MAX_ETH_MTU) in mtu_max_set() 70 module_param_cb(mtu_max, &mtu_max_ops, &mtu_max, 0444); 71 MODULE_PARM_DESC(mtu_max, " Max MTU value.");
|
D | txrx.c | 1039 if (mtu_max > wil->rx_buf_len) { in wil_rx_buf_len_init() 1044 wil_info(wil, "Override RX buffer to mtu_max(%d)\n", mtu_max); in wil_rx_buf_len_init() 1045 wil->rx_buf_len = mtu_max; in wil_rx_buf_len_init() 1144 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_tx() 1246 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_tx_vring_modify() 1328 cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_vring_init_bcast()
|
D | rx_reorder.c | 289 (mtu_max + WIL_MAX_MPDU_OVERHEAD)); in wil_agg_size()
|
D | netdev.c | 197 dev->max_mtu = mtu_max; in wil_dev_setup()
|
D | wil6210.h | 22 extern unsigned int mtu_max;
|
D | wmi.c | 3896 .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_wmi_tx_desc_ring_add() 3943 .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)), in wil_wmi_bcast_desc_ring_add()
|
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/ |
D | prestera.h | 301 u32 mtu_max; member
|
D | prestera_main.c | 645 dev->mtu = min_t(unsigned int, sw->mtu_max, PRESTERA_MTU_DEFAULT); in prestera_port_create() 647 dev->max_mtu = sw->mtu_max; in prestera_port_create()
|
D | prestera_hw.c | 244 __le32 mtu_max; member 1075 sw->mtu_max = __le32_to_cpu(resp.mtu_max); in prestera_hw_switch_init()
|