]> git.baikalelectronics.ru Git - kernel.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)
commite2850a02756214d6413c465c94fc358a05f0ab22
tree9e2c3c71cf419545db56fb442adb31fb118e2dca
parentfb94d87c299c68a85002412596c6ca69201d71c9
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