virtio: use soft vlan encap/decap
[dpdk.git] / lib / librte_pmd_virtio / virtio_ethdev.c
index b7f541a..cb8764d 100644 (file)
@@ -1049,6 +1049,8 @@ virtio_dev_configure(struct rte_eth_dev *dev)
                return (-EINVAL);
        }
 
+       hw->vlan_strip = rxmode->hw_vlan_strip;
+
        ret = vtpci_irq_config(hw, 0);
        if (ret != 0)
                PMD_DRV_LOG(ERR, "failed to set config vector");