From: Tao Zhu Date: Thu, 18 Jul 2019 14:21:43 +0000 (+0000) Subject: examples/ipsec-secgw: fix --mtu option parsing X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=37a29f0039f4c52af9ef7f1c863eb7dc8a503066;p=dpdk.git examples/ipsec-secgw: fix --mtu option parsing This patch add parameter --mtu parse key and enumeration value. Fixes: b01d1cd213d2 ("examples/ipsec-secgw: support fragmentation and reassembly") Signed-off-by: Tao Zhu Acked-by: Konstantin Ananyev Tested-by: Konstantin Ananyev --- diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index b1ecbb975d..05fffa9677 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -159,6 +159,7 @@ static const struct option lgopts[] = { {CMD_LINE_OPT_RX_OFFLOAD, 1, 0, CMD_LINE_OPT_RX_OFFLOAD_NUM}, {CMD_LINE_OPT_TX_OFFLOAD, 1, 0, CMD_LINE_OPT_TX_OFFLOAD_NUM}, {CMD_LINE_OPT_REASSEMBLE, 1, 0, CMD_LINE_OPT_REASSEMBLE_NUM}, + {CMD_LINE_OPT_MTU, 1, 0, CMD_LINE_OPT_MTU_NUM}, {NULL, 0, 0, 0} };