net: mvpp2: fix the packet size configuration for 10G
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Fri, 25 Aug 2017 13:24:46 +0000 (15:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Aug 2017 03:10:42 +0000 (20:10 -0700)
commitec15ecdee5eb9e33a565e1e8eaef39fd4de565cb
treef5552d2fd3726c42f78b892ad84fd6c41180ade3
parent49107fcbf436bb37861a924b7ec190a92fb95e36
net: mvpp2: fix the packet size configuration for 10G

The MVPP22_XLG_CTRL1_FRAMESIZELIMIT define is used as an offset, but is
defined as BIT(0). Updated its name to contains "OFFS" as in offset and
fix its value using the offset value, 0.

Reported-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Fixes: 76eb1b1de5b6 ("net: mvpp2: set maximum packet size for 10G ports")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c