numam-dpdk/lib/librte_net
Bill Hong 9ea1b3ccfc net: fix Tx VLAN flag for offload emulation
A PMD might use rte_vlan_insert to implement Tx VLAN offload. Typically
the PMD will insert the VLAN header in the transmit path and then
attempt to send the packets. If this fails, the packets are returned to
the application which may attempt to send these packets again. If the
PKT_TX_VLAN flag is not cleared, the transmit path may attempt to insert
the VLAN header again.

Fixes: 47aa48b969 ("net: fix stripped VLAN flag for offload emulation")
Cc: stable@dpdk.org

Signed-off-by: Bill Hong <bhong@brocade.com>
Signed-off-by: Chas Williams <chas3@att.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-04-05 17:45:22 +02:00
..
Makefile net: add MPLS header structure 2018-10-26 22:14:06 +02:00
meson.build net: add MPLS header structure 2018-10-26 22:14:06 +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 add experimental tag to appropriate functions 2018-01-29 23:35:29 +01:00
rte_arp.h net: use SPDX tags 2018-02-01 02:27:22 +01:00
rte_esp.h net: add ESP trailer structure definition 2019-01-10 16:57:22 +01:00
rte_ether.h net: fix Tx VLAN flag for offload emulation 2019-04-05 17:45:22 +02:00
rte_gre.h net: fix build with pedantic 2018-11-05 15:01:25 +01:00
rte_icmp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_ip.h net: fix underflow for checksum of invalid IPv4 packets 2018-12-21 16:22:41 +01: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 lib: clear experimental version tag in linker scripts 2018-05-14 03:37:28 +02:00
rte_net.c net: support MPLS in software packet type parser 2018-10-26 22:14:06 +02:00
rte_net.h mbuf: remove Intel offload checks from generic API 2019-04-02 16:42:52 +02:00
rte_sctp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_tcp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_udp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00