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

Olivier Matz olivier.matz at 6wind.com
Fri Jul 5 16:51:34 CEST 2019


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>


More information about the stable mailing list