[dpdk-dev] [PATCH v2] mbuf: move headers not fragmented check to checksum
Thomas Monjalon
thomas at monjalon.net
Tue Apr 2 16:48:36 CEST 2019
29/03/2019 15:18, Olivier Matz:
> On Fri, Mar 29, 2019 at 01:42:14PM +0000, Andrew Rybchenko wrote:
> > 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 at solarflare.com>
>
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
>
> Thanks!
Applied with a more explicit title:
mbuf: remove Intel offload checks from generic API
More information about the dev
mailing list