net: macb: Add change_mtu callback with jumbo support
authorHarini Katakam <harini.katakam@xilinx.com>
Wed, 6 May 2015 16:57:18 +0000 (22:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 21:41:54 +0000 (17:41 -0400)
commita5898ea09aaded8a8236b12f3920f4e6f9b8fc13
treea0b7d4354e6f642006bfdb4546943ba36a1be948
parent98b5a0f4a2282fb82907bee467636b8114677472
net: macb: Add change_mtu callback with jumbo support

Add macb_change_mtu callback; if jumbo frame support is present allow
mtu size changes upto (jumbo max length allowed - headers).

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