mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
b7f5eb6ba2
Packets sent by rmnet to the real device have variable MAP header lengths based on the data format configured. This patch adds checks to ensure that the real device MTU is sufficient to transmit the MAP packet comprising of the MAP header and the IP packet. This check is enforced when rmnet devices are created and updated and during MTU updates of both the rmnet and real device. Additionally, rmnet devices now have a default MTU configured which accounts for the real device MTU and the headroom based on the data format. Signed-off-by: Sean Tranchetti <stranche@codeaurora.org> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Tested-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
emac | ||
rmnet | ||
Kconfig | ||
Makefile | ||
qca_7k_common.c | ||
qca_7k_common.h | ||
qca_7k.c | ||
qca_7k.h | ||
qca_debug.c | ||
qca_debug.h | ||
qca_spi.c | ||
qca_spi.h | ||
qca_uart.c |