.. index:: pair: group; VLAN strip offload .. _doxid-group__usecases-vlan__strip: VLAN strip offload ================== .. toctree:: :hidden: group_usecases-vlan_strip_ip4-run.rst group_usecases-vlan_strip_ip6-run.rst Check VLAN strip offload Check the successful VLAN header stripping #. Initialize EAL #. Check VLAN strip capability #. Enable VLAN strip offload if **vlan_strip** is ``TRUE`` #. Check QinQ strip capability if **qinq_strip** is ``TRUE`` #. Enable QinQ strip offload if **qinq_strip** is ``TRUE`` #. Configure and start the Ethernet device #. Configure UDP tunnel port number if need be #. Enable promiscuous mode if supported #. Ensure that interface is UP on Tester side #. Transmit a packet from **tst_if** towards **iut_port** #. Transform the pattern due to expected offloads #. Receive packets on **iut_port** and match the pattern #. Obtain mbuf flags and check them .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - vlan_strip - Test with VLAN strip offload enabled * - qinq_strip - Test with QinQ strip offload enabled * - tmpl - Traffic template | :ref:`vlan_strip_ip4` | :ref:`vlan_strip_ip6`