octeontx2-af: Enable inner IPv4 checksum and its error code
authorJerin Jacob <jerinjacobk@gmail.com>
Sun, 2 Dec 2018 12:47:42 +0000 (18:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2018 00:23:08 +0000 (16:23 -0800)
commit962e1bd6b74d6c1725761d1974698e1437565fb6
tree982a29f461ea944e3bf37b4bc1b630ac7a4d0a82
parente2703c5f581a8d970c46251914e837db192b80d4
octeontx2-af: Enable inner IPv4 checksum and its error code

This patch enables the inner IPv4 checksum and
defines the error code for Rx inner and outer checksum errors.
Setting ERRCODE as 1 so that CQE descriptor can be embedded
valid checksum error code and the driver can interpret
checksum error as ERRLEV = LID + 1 and ERRCODE = 1.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c