[dpdk-dev] [PATCH v3] mbuf: outer offsets are undefined for non-tunnel packets
Thomas Monjalon
thomas at monjalon.net
Mon Jul 1 16:37:38 CEST 2019
01/07/2019 15:10, Olivier Matz:
> On Fri, Jun 28, 2019 at 12:06:18AM +0300, Ivan Malov wrote:
> > The default policy for offload-specific fields is that
> > they are undefined unless the corresponding offloads are
> > requested in mbuf ol_flags. This is also the case for outer
> > L2 and L3 length fields which must not be assumed to contain
> > zeros for non-tunnel packets. The patch clarifies this behaviour
> > in the comments and also adds appropriate checks to the PMDs which
> > do not check any tunnel-related offloads before using the said fields.
> >
> > Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> > Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>
> > Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
>
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
Applied, thanks
More information about the dev
mailing list