From 33d5f47e781c6986232378b7f8cadd17ac8894fe Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Fri, 29 May 2020 00:06:45 +0200 Subject: 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 --- VNFs/DPPD-PROX/prox_port_cfg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'VNFs/DPPD-PROX/prox_port_cfg.h') diff --git a/VNFs/DPPD-PROX/prox_port_cfg.h b/VNFs/DPPD-PROX/prox_port_cfg.h index 94f2c41a..9d025999 100644 --- a/VNFs/DPPD-PROX/prox_port_cfg.h +++ b/VNFs/DPPD-PROX/prox_port_cfg.h @@ -85,6 +85,8 @@ struct prox_port_cfg { uint32_t ip; int fd; uint32_t vlan_tag; + uint8_t prefix; + uint8_t is_vdev; }; extern rte_atomic32_t lsc; -- cgit 1.2.3-korg