Searched refs:mtu_max (Results 1 - 11 of 11) sorted by relevance

/linux-master/net/hsr/
H A Dhsr_main.c38 int mtu_max; local
97 mtu_max = hsr_get_max_mtu(port->hsr);
99 WRITE_ONCE(master->dev->mtu, mtu_max);
H A Dhsr_device.c98 unsigned int mtu_max; local
101 mtu_max = ETH_DATA_LEN;
104 mtu_max = min(port->dev->mtu, mtu_max);
106 if (mtu_max < HSR_HLEN)
108 return mtu_max - HSR_HLEN;
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dmain.c47 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; variable
52 /* sets mtu_max directly. no need to restore it in case of
59 if (mtu_max < 68 || mtu_max > WIL_MAX_ETH_MTU)
70 module_param_cb(mtu_max, &mtu_max_ops, &mtu_max, 0444);
71 MODULE_PARM_DESC(mtu_max, " Max MTU value.");
H A Dtxrx.c1039 if (mtu_max > wil->rx_buf_len) {
1040 /* do not allow RX buffers to be smaller than mtu_max, for
1041 * backward compatibility (mtu_max parameter was also used
1044 wil_info(wil, "Override RX buffer to mtu_max(%d)\n", mtu_max);
1045 wil->rx_buf_len = mtu_max;
1144 cpu_to_le16(wil_mtu2macbuf(mtu_max)),
1246 cpu_to_le16(wil_mtu2macbuf(mtu_max)),
1328 cpu_to_le16(wil_mtu2macbuf(mtu_max)),
H A Drx_reorder.c289 (mtu_max + WIL_MAX_MPDU_OVERHEAD));
H A Dnetdev.c197 dev->max_mtu = mtu_max;
H A Dwil6210.h22 extern unsigned int mtu_max;
H A Dwmi.c3894 .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)),
3941 .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)),
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera.h301 u32 mtu_max; member in struct:prestera_switch
H A Dprestera_main.c645 dev->mtu = min_t(unsigned int, sw->mtu_max, PRESTERA_MTU_DEFAULT);
647 dev->max_mtu = sw->mtu_max;
H A Dprestera_hw.c244 __le32 mtu_max; member in struct:prestera_msg_switch_init_resp
1077 sw->mtu_max = __le32_to_cpu(resp.mtu_max);

Completed in 1000 milliseconds