From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id AA6DF1B1BC for ; Wed, 24 Jan 2018 16:42:23 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 608F42241B; Wed, 24 Jan 2018 10:42:23 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=+vEAtsE2pM676NWO7 g4wm+Dy9LYOAe05V0lFfyPHD1E=; b=I8Es9+JuDn/DgjO+sFxqoMQv7I3nW8HZ9 8P+uUZMUiGi8xyb9soVEEs5wYqZpYDfq9T0qchDO7wj5+LjLXh1bMjBq5qyCj2PZ DDZsj4gDwiFNsMz3uXAEMuVAVZEauhZc4XZ3lyvlixiSztYMBUrBorrhShjG4O+a GIKAXtOijQlkuA+f3BnDLTIT6WvoS6TLYLkIF6tOiRdXCWpmt1ODy4duq1/IehA+ WsJeGbmNa5v93cxkJ4SjUgfMd4Qbuyw8PYq5h7F2FsqKvPZQ1MaIMY+DEmjB6Lnn st6ZWzUfLVv2ex/AaxAzChRxXHEKr9hxVaIjYk/bC2q46M8SPLOPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=+vEAtsE2pM676NWO7g4wm+Dy9LYOAe05V0lFfyPHD1E=; b=Cx1dZ+y1 ApXzAWm94FJnWF4h46f0ncrq70Vx0GW7lTKRGJWmXp/j+KKMijZd2gHXwgJU9fyL HZLmIrpbuOFzYjblCimQhmjB3OgT+RgWKaFijH+l4wYO5NvJ+U26BvW1C4SqRE1B pwp1tKC9UMim0fzkGN87gqmZLX5pscQu8Y52X7+EB+AQgWjFdVkeybrk9bpMPAKj fu1ZuJRLC479NA2C4p2ygMTxYXojT0FgwGjBulrCPuKI82KHj6G8rHEIdwWyDZyu jYyFgcu1SrVy6xL3ThTxsJ2F/+3To4TaIs42l66kA1WmxYqkHthOJy+2I7O1u1OC jDaPjj6606blXg== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id DD61A7E3DB; Wed, 24 Jan 2018 10:42:20 -0500 (EST) From: Yuanhan Liu To: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Cc: Radu Nicolau , Anoob Joseph , dpdk stable Date: Wed, 24 Jan 2018 23:33:33 +0800 Message-Id: <1516808026-25523-145-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/ipsec-secgw: fix missing ingress flow attribute' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:42:23 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 797eff1f01476d251a8f7c326f4ae55c0aab0e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Date: Mon, 18 Dec 2017 11:24:35 +0100 Subject: [PATCH] examples/ipsec-secgw: fix missing ingress flow attribute [ upstream commit a4cde424aa89cab213e12dfbb93e47871fcfe5dc ] Generic flow API have both direction bits, ingress and egress for rules which may work on both sides. Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload") Signed-off-by: Nelio Laranjeiro Acked-by: Radu Nicolau Acked-by: Anoob Joseph --- examples/ipsec-secgw/ipsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c index 70ed227..0797c2c 100644 --- a/examples/ipsec-secgw/ipsec.c +++ b/examples/ipsec-secgw/ipsec.c @@ -198,6 +198,8 @@ create_session(struct ipsec_ctx *ipsec_ctx, struct ipsec_sa *sa) sa->attr.egress = (sa->direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS); + sa->attr.ingress = (sa->direction == + RTE_SECURITY_IPSEC_SA_DIR_INGRESS); sa->flow = rte_flow_create(sa->portid, &sa->attr, sa->pattern, sa->action, &err); if (sa->flow == NULL) { -- 2.7.4