[dpdk-stable] [dpdk-dev] [PATCH v2] net: adjust layer 2 length on soft VLAN insertion

Ferruh Yigit ferruh.yigit at intel.com
Tue Jul 16 17:32:47 CEST 2019


On 7/5/2019 3:51 PM, Olivier Matz wrote:
> On Mon, Jun 24, 2019 at 02:46:02PM +0100, Andrew Rybchenko wrote:
>> From: Dilshod Urazov <Dilshod.Urazov at oktetlabs.ru>
>>
>> Layer 2 length must be updated after the prepend to mbuf to keep
>> the length right to be used by other Tx offloads.
>>
>> If the packet has tunnel encapsulation, outer_l2_len should be
>> updated. Otherwise l2_len should be updated.
>>
>> Fixes: c974021a5949 ("ether: add soft vlan encap/decap")
>> Cc: stephen at networkplumber.org
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Dilshod Urazov <Dilshod.Urazov at oktetlabs.ru>
>> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
> 

Applied to dpdk-next-net/master, thanks.



More information about the stable mailing list