linux/drivers/net/mhi
Richard Laing 5c2c853159 bus: mhi: pci-generic: configurable network interface MRU
The MRU value used by the MHI MBIM network interface affects
the throughput performance of the interface. Different modem
models use different default MRU sizes based on their bandwidth
capabilities. Large values generally result in higher throughput
for larger packet sizes.

In addition if the MRU used by the MHI device is larger than that
specified in the MHI net device the data is fragmented and needs
to be re-assembled which generates a (single) warning message about
the fragmented packets. Setting the MRU on both ends avoids the
extra processing to re-assemble the packets.

This patch allows the documented MRU for a modem to be automatically
set as the MHI net device MRU avoiding fragmentation and improving
throughput performance.

Signed-off-by: Richard Laing <richard.laing@alliedtelesis.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-15 10:14:44 -07:00
..
Makefile net: mhi: Add mbim proto 2021-02-10 15:11:51 -08:00
mhi.h net: mhi: Allow decoupled MTU/MRU 2021-03-29 16:26:16 -07:00
net.c bus: mhi: pci-generic: configurable network interface MRU 2021-07-15 10:14:44 -07:00
proto_mbim.c bus: mhi: pci-generic: configurable network interface MRU 2021-07-15 10:14:44 -07:00