ethdev: add Rx offload outer UDP checksum definition
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 9 Oct 2018 14:18:04 +0000 (14:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commitec7f71577febe59323cd29e9a086348ff3c791cb
tree056beeb510bf113915a82723b614f3a794f75db0
parent86123c2dfb94416b4fb17e07bf31d32172308623
ethdev: add Rx offload outer UDP checksum definition

Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM Rx offload flag and
PKT_RX_OUTER_L4_CKSUM_* mbuf ol_flags to detect outer UDP checksum
status.

- To use hardware Rx outer UDP checksum offload, the user needs to
configure DEV_RX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slowpath.

- Driver updates checksum status in mbuf ol_flag as
PKT_RX_OUTER_L4_CKSUM_* flags.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
app/test-pmd/config.c
doc/guides/nics/features.rst
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev.h
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h