Added initial VLAN support with vdev devices 75/70175/4
authorXavier Simonart <xavier.simonart@intel.com>
Sun, 10 May 2020 22:20:51 +0000 (00:20 +0200)
committerXavier Simonart <xavier.simonart@intel.com>
Fri, 29 May 2020 21:36:49 +0000 (23:36 +0200)
commitf7148d3d3a0a9dedf24cb4d7a5a72b63c17e6add
tree4fd8ba153545f8810f78b2fcb42ec0ce9e0b1014
parent1614130d60abfaa89a41ba8eed5f9bbf41d9a4f4
Added initial VLAN support with vdev devices

For kernel supported devices, add for vlan tag support
This can be configured through port parameter:
vlan tag=<vlan tag>
If this parameter is set, a vlan tagged interface is created
on top of the tap device
This is only supported for vdev tap devices

When sending (untagged) packet to the tap device (through socket)
the tap should react in sending tagged packet

Note that receiving in L3 mode (w/o tap support) a tagged packet
is not yet supported.

Change-Id: I363fa2f8d2341ac41ef23620222ece1d944bf336
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/prox_args.c
VNFs/DPPD-PROX/prox_port_cfg.c
VNFs/DPPD-PROX/prox_port_cfg.h
VNFs/DPPD-PROX/rx_pkt.c