VLAN support with vdev devices + few other changes 34/70234/3
authorXavier Simonart <xavier.simonart@intel.com>
Thu, 28 May 2020 22:06:45 +0000 (00:06 +0200)
committerXavier Simonart <xavier.simonart@intel.com>
Fri, 29 May 2020 21:51:04 +0000 (23:51 +0200)
commit33d5f47e781c6986232378b7f8cadd17ac8894fe
tree3d120cd0d22dfae25dd01a372b1ecfb49ee970e8
parent51fd77bfea70da57af93390e1992b16022e2c88f
VLAN support with vdev devices + few other changes

- vdev devices now support VLAN.
- kernel tap device can be configured with a netmask (/24 was
  always used in previous version).
- when sending a (fake) packet to the kernel, this packet will now
  not be routed by the kernel (i.e. it will leave through the
  interface configured by PROX). This might change in the futture
  when PROX supports multiple VLANs per port. But today it prevents
  ARP being sent on management interfaces.
- Log error in case kernel unable to send packet.
- Added support for comments (';') in lua sections.
- Prevent duplication of local_ipv4 - should now be configured in port section
  local_ipv4 in core section still supported

Change-Id: I8f9a40fe6ad6f3013ff91b58b44627c7f34081e6
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
13 files changed:
VNFs/DPPD-PROX/arp.h
VNFs/DPPD-PROX/cfgfile.c
VNFs/DPPD-PROX/handle_arp.c
VNFs/DPPD-PROX/handle_master.c
VNFs/DPPD-PROX/packet_utils.c
VNFs/DPPD-PROX/packet_utils.h
VNFs/DPPD-PROX/parse_utils.c
VNFs/DPPD-PROX/parse_utils.h
VNFs/DPPD-PROX/prox_args.c
VNFs/DPPD-PROX/prox_port_cfg.c
VNFs/DPPD-PROX/prox_port_cfg.h
VNFs/DPPD-PROX/tx_pkt.c
VNFs/DPPD-PROX/tx_pkt.h