]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: macb: Add support for jumbo frames
authorHarini Katakam <harini.katakam@xilinx.com>
Wed, 6 May 2015 16:57:17 +0000 (22:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 21:41:54 +0000 (17:41 -0400)
commit98b5a0f4a2282fb82907bee467636b8114677472
tree9e2c3c71cf419545db56fb442adb31fb118e2dca
parent7b61f9c132accab315014c38c9a33e38620c90bd
net: macb: Add support for jumbo frames

Enable jumbo frame support for Zynq Ultrascale+ MPSoC.
Update the NWCFG register and descriptor length masks accordingly.
Jumbo max length register should be set according to support in SoC; it is
set to 10240 for Zynq Ultrascale+ MPSoC.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h