diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2020-05-11 00:20:51 +0200 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2020-05-29 23:36:49 +0200 |
commit | f7148d3d3a0a9dedf24cb4d7a5a72b63c17e6add (patch) | |
tree | 4fd8ba153545f8810f78b2fcb42ec0ce9e0b1014 /VNFs/DPPD-PROX/prox_port_cfg.h | |
parent | 1614130d60abfaa89a41ba8eed5f9bbf41d9a4f4 (diff) |
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>
Diffstat (limited to 'VNFs/DPPD-PROX/prox_port_cfg.h')
-rw-r--r-- | VNFs/DPPD-PROX/prox_port_cfg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_port_cfg.h b/VNFs/DPPD-PROX/prox_port_cfg.h index d6090a35..ad3d9380 100644 --- a/VNFs/DPPD-PROX/prox_port_cfg.h +++ b/VNFs/DPPD-PROX/prox_port_cfg.h @@ -83,6 +83,7 @@ struct prox_port_cfg { int dpdk_mapping; uint32_t ip; int fd; + uint32_t vlan_tag; }; extern rte_atomic32_t lsc; |