Thread (11 messages) 11 messages, 5 authors, 2019-07-01

Re: [dpdk-dev] [PATCH v3] mbuf: outer offsets are undefined for non-tunnel packets

From: Thomas Monjalon <hidden>
Date: 2019-07-01 14:37:46

01/07/2019 15:10, Olivier Matz:
On Fri, Jun 28, 2019 at 12:06:18AM +0300, Ivan Malov wrote:
quoted
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 <redacted>
Reviewed-by: Andrew Rybchenko <redacted>
Acked-by: Konstantin Ananyev <redacted>
Acked-by: Olivier Matz <redacted>
Applied, thanks

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help