]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit233a15875396fd88203644fd9fba8d179aa40119
tree4d300c4dd9577f9ab08ea01652ca2654266f28ef
parent6d03d67a86cfd0afe2aa9f50911bc6929ce4bf15
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