numam-dpdk/lib/librte_net
Dilshod Urazov 42caa11b37 net: adjust L2 length on soft VLAN insertion
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: c974021a59 ("ether: add soft vlan encap/decap")
Cc: stable@dpdk.org

Signed-off-by: Dilshod Urazov <dilshod.urazov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2019-07-23 14:31:35 +02:00
..
Makefile net: deinline non-critical ethernet functions 2019-07-08 21:26:52 +02:00
meson.build net: deinline non-critical ethernet functions 2019-07-08 21:26:52 +02:00
net_crc_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
net_crc_sse.h add missing static keyword to globals 2018-10-29 02:01:08 +01:00
rte_arp.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_arp.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_esp.h net: add rte prefix to ESP structure 2019-05-24 13:34:45 +02:00
rte_ether.c net: add function to convert string to ethernet address 2019-07-08 21:26:52 +02:00
rte_ether.h net: adjust L2 length on soft VLAN insertion 2019-07-23 14:31:35 +02:00
rte_gre.h net: add rte prefix to GRE structure 2019-05-24 13:34:45 +02:00
rte_icmp.h net: add rte prefix to ICMP defines 2019-05-24 13:34:46 +02:00
rte_ip.h ipsec: support header construction 2019-07-05 15:28:14 +02:00
rte_mpls.h net: add MPLS header structure 2018-10-26 22:14:06 +02:00
rte_net_crc.c lib: fix shifting 32-bit signed variable 31 times 2018-11-06 01:14:05 +01:00
rte_net_crc.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_net_version.map net: add function to convert string to ethernet address 2019-07-08 21:26:52 +02:00
rte_net.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_net.h net: fix how L4 checksum choice is tested 2019-06-28 20:32:18 +02:00
rte_sctp.h net: add rte prefix to SCTP structure 2019-05-24 13:34:46 +02:00
rte_tcp.h net: move TCP flags from ethdev header 2019-07-03 12:57:30 +02:00
rte_udp.h net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00