net/tap: add Rx/Tx checksum offload support
authorPascal Mazon <pascal.mazon@6wind.com>
Mon, 22 May 2017 11:20:43 +0000 (13:20 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:26 +0000 (10:41 +0100)
commit8ae3023387e9eb1b70900b0ff5c65032f59d7734
tree3822d3510ceea2fb741c1c93f8c920030794a33b
parentf96fe1ab35b74b1e0914bc8a99aac633c5b15807
net/tap: add Rx/Tx checksum offload support

This patch adds basic offloading support, widely expected in a PMD.

Verify IPv4 and UDP/TCP checksums upon packet reception, and set
ol_flags accordingly.

On Tx, set IPv4 and UDP/TCP checksums when required, considering
ol_flags.

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
doc/guides/nics/features/tap.ini
drivers/net/tap/rte_eth_tap.c