net/cnxk: allow zero UDP6 checksum for non-inline device
authorSrujana Challa <schalla@marvell.com>
Fri, 1 Oct 2021 13:40:19 +0000 (19:10 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 2 Oct 2021 13:45:28 +0000 (15:45 +0200)
commit2a6d9fa8bce4a6c32dfd06c504104f579b76314c
tree0f0cc688fea0a47f802da4b901420d30ff59fe29
parent9d422a38be596d571270efc7e2d7b25a877e8beb
net/cnxk: allow zero UDP6 checksum for non-inline device

Sets IP6_UDP_OPT in NIX RX config to allow optional
UDP checksum for IPv6 in case of security offload.
Also disable drop_re when inline inbound is enabled.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/cnxk/cn10k_ethdev.c
drivers/net/cnxk/cnxk_ethdev.c
drivers/net/cnxk/cnxk_ethdev.h