Skip to contentSkip to conversation

examples/ipsec-secgw: add parameter --mtu parse option

PATCH Applied [email protected] 4 participants 4 messages Jul 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examples/ipsec-secgw: add parameter --mtu parse option

From: Zhu Tao <[email protected]>

This patch add parameter --mtu parse key and enumeration value.

---
 examples/ipsec-secgw/ipsec-secgw.c | 1 +
 1 file changed, 1 insertion(+)
examples/ipsec-secgw/ipsec-secgw.c +1 -0
index b1ecbb975..05fffa967 100644
@@ -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}
 };
 
Signature · 1 line
2.17.1
#1 lore raw

Hi Tao

Quoted 34 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, July 18, 2019 3:22 PM
To: Nicolau, Radu <[email protected]>; [email protected]
Cc: [email protected]; Zhu, TaoX <[email protected]>
Subject: [dpdk-dev] [PATCH] examples/ipsec-secgw: add parameter --mtu parse option

From: Zhu Tao <[email protected]>

This patch add parameter --mtu parse key and enumeration value.

---
 examples/ipsec-secgw/ipsec-secgw.c | 1 +
 1 file changed, 1 insertion(+)
examples/ipsec- renamed from examples/ipsec-secgw/ipsec-secgw.c +0 -0

secgw/ipsec-secgw.c
index b1ecbb975..05fffa967 100644

examples/ipsec-secgw/ipsec-secgw.c +1 -0
@@ -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}
};

Quoted 2 lines

--
2.17.1

This patch looks like a fix, if so it should have a fixes line and Cc: [email protected] if it is to be back ported.

Also
./devtools/check-git-log.sh -1
Wrong headline lowercase:

        examples/ipsec-secgw: add parameter --mtu parse option

Regards,

Bernard.

Acked-by Tested-by
#2 lore raw

Hi guys,

Quoted 37 lines

Hi Tao

Quoted 34 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, July 18, 2019 3:22 PM
To: Nicolau, Radu <[email protected]>; [email protected]
Cc: [email protected]; Zhu, TaoX <[email protected]>
Subject: [dpdk-dev] [PATCH] examples/ipsec-secgw: add parameter --mtu parse option

From: Zhu Tao <[email protected]>

This patch add parameter --mtu parse key and enumeration value.

---
 examples/ipsec-secgw/ipsec-secgw.c | 1 +
 1 file changed, 1 insertion(+)
examples/ipsec- renamed from examples/ipsec-secgw/ipsec-secgw.c +0 -0

secgw/ipsec-secgw.c
index b1ecbb975..05fffa967 100644

examples/ipsec-secgw/ipsec-secgw.c +1 -0
@@ -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}
};

Quoted 2 lines
Quoted 2 lines

--
2.17.1

Thanks for fixing it for me, don't know where I lost that line.

Quoted 2 lines

This patch looks like a fix, if so it should have a fixes line and Cc: [email protected] if it is to be back ported.

I am agree with Bernard about fixes line, though no need to CC stable, as this bug was introduced in 19.08 timeframe.

Quoted 6 lines

Also
./devtools/check-git-log.sh -1
Wrong headline lowercase:

        examples/ipsec-secgw: add parameter --mtu parse option

Apart from the nits mentioned above:

Applied
#3 lore raw
Quoted 62 lines

Hi guys,

Quoted 37 lines

Hi Tao

Quoted 34 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, July 18, 2019 3:22 PM
To: Nicolau, Radu <[email protected]>; [email protected]
Cc: [email protected]; Zhu, TaoX <[email protected]>
Subject: [dpdk-dev] [PATCH] examples/ipsec-secgw: add parameter --mtu parse option

From: Zhu Tao <[email protected]>

This patch add parameter --mtu parse key and enumeration value.

---
 examples/ipsec-secgw/ipsec-secgw.c | 1 +
 1 file changed, 1 insertion(+)
examples/ipsec- renamed from examples/ipsec-secgw/ipsec-secgw.c +0 -0

secgw/ipsec-secgw.c
index b1ecbb975..05fffa967 100644

examples/ipsec-secgw/ipsec-secgw.c +1 -0
@@ -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}
};

Quoted 2 lines
Quoted 2 lines

--
2.17.1

Thanks for fixing it for me, don't know where I lost that line.

Quoted 2 lines

This patch looks like a fix, if so it should have a fixes line and Cc:

[email protected] if it is to be back ported.

I am agree with Bernard about fixes line, though no need to CC stable, as this bug was introduced in 19.08 timeframe.

Quoted 6 lines

Also
./devtools/check-git-log.sh -1
Wrong headline lowercase:

        examples/ipsec-secgw: add parameter --mtu parse option
Quoted 3 lines

Apart from the nits mentioned above:

Changed the subject and added fixes line

Applied to dpdk-next-crypto

Thanks.