summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTao Zhu <taox.zhu@intel.com>2019-07-18 14:21:43 +0000
committerAkhil Goyal <akhil.goyal@nxp.com>2019-07-19 14:15:21 +0200
commit37a29f0039f4c52af9ef7f1c863eb7dc8a503066 (patch)
tree947153d83053523d80f892d524f2ee40e8a7d036 /examples
parent186b14d6850654eb84a8ae9ea29b736f0ba5e093 (diff)
downloaddpdk-37a29f0039f4c52af9ef7f1c863eb7dc8a503066.zip
dpdk-37a29f0039f4c52af9ef7f1c863eb7dc8a503066.tar.gz
dpdk-37a29f0039f4c52af9ef7f1c863eb7dc8a503066.tar.xz
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 <taox.zhu@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ipsec-secgw/ipsec-secgw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index b1ecbb9..05fffa9 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}
};