[dpdk-dev] [RFC 06/10] virtio: use software vlan stripping

Stephen Hemminger stephen at networkplumber.org
Tue Aug 26 18:24:20 CEST 2014

On Tue, 26 Aug 2014 08:37:11 +0000
"Ouyang, Changchun" <changchun.ouyang at intel.com> wrote:

> Hi Stephen,
> Would you please describe the use scenario for the front end rx vlan strip and tx vlan insertion?
> In our current implementation, backend will strip vlan tag for RX, and insert vlan tag for TX.
> Thanks
> Changchun

First, we don't have to do software VLAN strip on our backend if we do this.
And this way we can always use VLAN insert on transmit. Otherwise you have to
introduce special case because there is no DPDK API to determine if device does or does not
do VLAN handling.

More information about the dev mailing list