net: mvpp2: set maximum packet size for 10G ports
authorStefan Chulski <stefanc@marvell.com>
Tue, 22 Aug 2017 17:08:26 +0000 (19:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:32:19 +0000 (14:32 -0700)
commit76eb1b1de5b6467c78bb72311dbf29eea1f10a3a
tree14fdbcbdf1daa5162504bf57797919f9a9248c67
parent77321959feb9bdcfeeb2a2154d6fb831fb1991c2
net: mvpp2: set maximum packet size for 10G ports

Set maximum packet size for XLG 10G ports. Missing maximum packet size
for XLG configuration will cause kernel panic if oversized packet is
received by port.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c