1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
7 * Accepts pointer to struct rte_mbuf as an input parameter.
8 * cleanup mbuf's vlan_tci and all related RX flags
9 * (PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED).
10 * Doesn't touch contents of packet data.
12 * clang -O2 -I${RTE_SDK}/${RTE_TARGET}/include \
13 * -target bpf -Wno-int-to-void-pointer-cast -c t2.c
18 #include <rte_config.h>
28 mb->ol_flags &= ~(PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED);