mbuf: fix Tx checksum offload API doc
authorThomas Monjalon <thomas@monjalon.net>
Thu, 19 Apr 2018 23:39:52 +0000 (01:39 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 23 Apr 2018 10:54:51 +0000 (12:54 +0200)
commitf00dcb7b0a74928b8b846f73b37386d7b1bb4869
treead97d41da5de762d7f1a73141e4cf05f4da6dcf4
parentd1a83cd8dc50cc69119f815941db456db1fa8ef1
mbuf: fix Tx checksum offload API doc

When introducing rte_eth_tx_prepare(), the constraints on checksum
pre-filling for Tx offloads were relaxed because implemented in
the PMDs with rte_net_intel_cksum_flags_prepare() helper.
As a consequence, these old requirements are removed for:
- PKT_TX_OUTER_IP_CKSUM
- PKT_TX_IP_CKSUM
- PKT_TX_[L4]_CKSUM
- PKT_TX_TCP_SEG

Not sure SCTP offload is properly implemented though.

A reference to rte_eth_tx_prepare() is added in rte_eth_tx_burst() doc.

Fixes: 609dd68ef14f ("mbuf: enhance the API documentation of offload flags")
Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_ether/rte_ethdev.h
lib/librte_mbuf/rte_mbuf.h