mbuf: remove Intel offload checks from generic API
authorAndrew Rybchenko <arybchenko@solarflare.com>
Fri, 29 Mar 2019 13:42:14 +0000 (13:42 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 2 Apr 2019 14:42:52 +0000 (16:42 +0200)
commitdfc6b2fd8da344095567c53f3e087cae3b4690b9
treef5db05f27dd5a17c74e9212ab0a1592e2563bb36
parent1e3380a2f48c6ca87528578f9665e89115bef05f
mbuf: remove Intel offload checks from generic API

rte_validate_tx_offload() is used in Tx prepare callbacks
(RTE_LIBRTE_ETHDEV_DEBUG only) to check Tx offloads consistency.
Requirement that packet headers should not be fragmented is not
documented and unclear where it comes from except
rte_net_intel_cksum_prepare() functions which relies on it.

It could be NIC vendor specific driver or hardware limitation, but,
if so, it should be documented and checked in corresponding Tx
prepare callbacks.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h
lib/librte_net/rte_net.h