summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/defaults.c
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@gmail.com>2022-02-11 19:55:41 +0100
committerLuc Provoost <luc.provoost@gmail.com>2022-02-11 19:55:41 +0100
commit0a07d296d453c11a31356844a0aae140fe012324 (patch)
tree505c0e94a4f6416aac242f98f9ac914c3abf4f87 /VNFs/DPPD-PROX/defaults.c
parentf7e3c60f502521862045a2de4bd25b6e5b2a49be (diff)
Fix issues when handling unkown ipv6 packets
In order to fix this, a new parameter has been introduced: "ipv6 mask length". This can be specified in the port section of the config file. The default value is 8 (bytes). Signed-off-by: Luc Provoost <luc.provoost@gmail.com> Change-Id: I88b0b3906cc247ae5653ad59b8aa425f0cddf347
Diffstat (limited to 'VNFs/DPPD-PROX/defaults.c')
-rw-r--r--VNFs/DPPD-PROX/defaults.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/defaults.c b/VNFs/DPPD-PROX/defaults.c
index 2156a74f..b93b7275 100644
--- a/VNFs/DPPD-PROX/defaults.c
+++ b/VNFs/DPPD-PROX/defaults.c
@@ -222,6 +222,7 @@ void set_port_defaults(void)
prox_port_cfg[i].tx_ring[0] = '\0';
prox_port_cfg[i].mtu = PROX_MTU;
prox_port_cfg[i].dpdk_mapping = NO_VDEV_PORT;
+ prox_port_cfg[i].v6_mask_length = 8;
// CRC_STRIP becoming the default behavior in DPDK 18.08, and
// DEV_RX_OFFLOAD_CRC_STRIP define has been deleted