examples/ipsec-secgw: fix rte flow egress
PATCH 1/1 examples/ipsec-secgw: fix rte flow egress
This patch ensures that the egress flag is set for outbound inline flows.
Signed-off-by Boris Pismenny <[email protected]>
--- examples/ipsec-secgw/ipsec.c | 3 +++ 1 file changed, 3 insertions(+)
examples/ipsec-secgw/ipsec.c +3 -0
@@ -171,6 +171,9 @@ sa->action[1 ].type =RTE_FLOW_ACTION_TYPE_END ; + sa->attr.egress = + (sa->direction == +RTE_SECURITY_IPSEC_SA_DIR_EGRESS ); sa->flow =rte_flow_create (sa->portid, &sa->attr, sa->pattern, sa->action, &err);if (sa->flow ==NULL ) {
Signature · 1 line
1.8.3.1
Quoted 13 lines
-----Original Message-----
From: Boris Pismenny [mailto:[email protected]]
Sent: Sunday, September 17, 2017 1:17 PM
To: [email protected]
Cc: [email protected]; Doherty, Declan <[email protected]>; De Lara Guarch, Pablo <[email protected]>; [email protected]; Nicolau, Radu <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix rte flow egress
Quoted 4 lines
This patch ensures that the egress flag is set for outbound inline flows.
Signed-off-by Boris Pismenny <[email protected]>---
This patch can be rejected, as it is part of the rte_security patchset.
Pablo