* [dpdk-dev] [PATCH] examples/ipsec-secgw: fix rte flow egress
@ 2017-09-17 12:16 Boris Pismenny
2017-10-10 11:18 ` De Lara Guarch, Pablo
0 siblings, 1 reply; 2+ messages in thread
From: Boris Pismenny @ 2017-09-17 12:16 UTC (permalink / raw)
To: dev
Cc: akhil.goyal, declan.doherty, pablo.de.lara.guarch,
hemant.agrawal, radu.nicolau, borisp, aviadye, thomas,
sandeep.malik, jerin.jacob
This patch ensures that the egress flag is set for outbound inline
flows.
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
---
examples/ipsec-secgw/ipsec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c
index 3d241a2..b3694a5 100644
--- a/examples/ipsec-secgw/ipsec.c
+++ b/examples/ipsec-secgw/ipsec.c
@@ -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) {
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix rte flow egress
2017-09-17 12:16 [dpdk-dev] [PATCH] examples/ipsec-secgw: fix rte flow egress Boris Pismenny
@ 2017-10-10 11:18 ` De Lara Guarch, Pablo
0 siblings, 0 replies; 2+ messages in thread
From: De Lara Guarch, Pablo @ 2017-10-10 11:18 UTC (permalink / raw)
To: Boris Pismenny, dev
Cc: akhil.goyal, Doherty, Declan, hemant.agrawal, Nicolau, Radu,
aviadye, thomas, sandeep.malik, jerin.jacob
> -----Original Message-----
> From: Boris Pismenny [mailto:borisp@mellanox.com]
> Sent: Sunday, September 17, 2017 1:17 PM
> To: dev@dpdk.org
> Cc: akhil.goyal@nxp.com; Doherty, Declan <declan.doherty@intel.com>; De
> Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>;
> hemant.agrawal@nxp.com; Nicolau, Radu <radu.nicolau@intel.com>;
> borisp@mellanox.com; aviadye@mellanox.com; thomas@monjalon.net;
> sandeep.malik@nxp.com; jerin.jacob@caviumnetworks.com
> Subject: [dpdk-dev] [PATCH] 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 <borisp@mellanox.com>
> ---
This patch can be rejected, as it is part of the rte_security patchset.
Pablo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-10 11:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-17 12:16 [dpdk-dev] [PATCH] examples/ipsec-secgw: fix rte flow egress Boris Pismenny
2017-10-10 11:18 ` De Lara Guarch, Pablo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).