]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: Adding Support for Jumbo Frames up to 10240 Bytes in SAMA5D3
authorvishnuvardhan <vardhanraj4143@gmail.com>
Wed, 5 Jul 2017 15:36:16 +0000 (17:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jul 2017 09:39:46 +0000 (10:39 +0100)
commitadaa2c421f010f321be1a114ec8fa1b8c9d48395
tree4d300c4dd9577f9ab08ea01652ca2654266f28ef
parentd4f63bd68f32e37fb4da5c5010ed7d2be8d0657b
net: macb: Adding Support for Jumbo Frames up to 10240 Bytes in SAMA5D3

As per the SAMA5D3 device specification it supports Jumbo frames.
But the suggested flag and length of bytes it supports was not updated
in this driver config_structure.
The maximum jumbo frames the device supports :
10240 bytes as per the device spec.

While changing the MTU value greater than 1500, it threw error:
sudo ifconfig eth1 mtu 9000
SIOCSIFMTU: Invalid argument

Add this support to driver so that it works as expected and designed.

Signed-off-by: vishnuvardhan <vardhanraj4143@gmail.com>
[nicolas.ferre@microchip.com: modify slightly commit msg]
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c