git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
virtio: use soft vlan encap/decap
[dpdk.git]
/
lib
/
librte_pmd_virtio
/
virtio_ethdev.c
diff --git
a/lib/librte_pmd_virtio/virtio_ethdev.c
b/lib/librte_pmd_virtio/virtio_ethdev.c
index
b7f541a
..
cb8764d
100644
(file)
--- a/
lib/librte_pmd_virtio/virtio_ethdev.c
+++ b/
lib/librte_pmd_virtio/virtio_ethdev.c
@@
-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");