virtio: use soft vlan encap/decap
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 9 Feb 2015 01:13:55 +0000 (09:13 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Feb 2015 18:18:52 +0000 (19:18 +0100)
commit1d5ced917697f01857311f9bd21c6feba6a33e09
treefce0a153c75d0e32a91643beec4ec9e8cdf9bd0b
parentc974021a59493dce58aea1076d07243728e36e4d
virtio: use soft vlan encap/decap

Implement VLAN stripping in software. This allows application
to be device independent.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_virtio/virtio_ethdev.c
lib/librte_pmd_virtio/virtio_pci.h
lib/librte_pmd_virtio/virtio_rxtx.c