]> 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)
commit45eafaf8829baf959f7b7d1a6877fc1ef36a30b4
tree9e2c3c71cf419545db56fb442adb31fb118e2dca
parentf47bdd095dcedafe4bd7105ac298cdc306f90a90
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