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

2019-07-01 Thread Thomas Monjalon
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

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

2019-07-01 Thread 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 contai

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

2019-06-27 Thread Ivan Malov
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 i