net/bnxt: fix outer UDP checksum Rx offload capability
authorLance Richardson <lance.richardson@broadcom.com>
Thu, 17 Dec 2020 19:24:31 +0000 (14:24 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:06 +0000 (16:03 +0100)
commite750acef45e7e21036750e81f4c72ae609c6470f
tree94674efebafb34215eed3f9a1c432c1ade935bca
parentc86e930165c36ff08814676535804b34a310e950
net/bnxt: fix outer UDP checksum Rx offload capability

Rx outer UDP checksum offload has been supported for
some time, but this has not been advertised in offload
capability flags. Fix this, and allow vector mode
receive to be enabled when DEV_RX_OFFLOAD_OUTER_UDP_CKSUM
is requested.

Fixes: 04a681426d49 ("net/bnxt: fix L4 checksum error indication in Rx")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c