From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130075.outbound.protection.outlook.com [40.107.13.75]) by dpdk.org (Postfix) with ESMTP id CAAC72C16 for ; Fri, 21 Dec 2018 15:25:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3/Dtl/s48drvZvgQsrsgpL1NNbyP45siTA9/4xK8s6M=; b=tVjXvdjPjqzC0BNOmtTS9Lo8KLsgWmmA4++ILPZh1FlejQeDhwYFnDKYsGvuAuLGQK5PH8U/fYxX2wx+lnVOrGABXyrncbaBeuwztNHUuonBXD7YEQhZWgNcWy5LqwTtI/erLTg9gx3hswxskGCvZgiScXRzPHKtR6ZtrO5tRXU= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB3263.eurprd04.prod.outlook.com (10.170.231.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Fri, 21 Dec 2018 14:25:44 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b%4]) with mapi id 15.20.1446.022; Fri, 21 Dec 2018 14:25:44 +0000 From: Akhil Goyal To: Konstantin Ananyev , "dev@dpdk.org" CC: "radu.nicolau@intel.com" Thread-Topic: [dpdk-dev] [PATCH v4 4/9] examples/ipsec-secgw: fix outbound codepath for single SA Thread-Index: AQHUk8u+UvFpYr3F+0mIPfpkXPRaXaWJSoCA Date: Fri, 21 Dec 2018 14:25:44 +0000 Message-ID: References: <1544111691-7481-1-git-send-email-konstantin.ananyev@intel.com> <1544805623-18150-5-git-send-email-konstantin.ananyev@intel.com> In-Reply-To: <1544805623-18150-5-git-send-email-konstantin.ananyev@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PN1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::21) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB3263; 6:92fn8UW4tXfXesHC9YgYlOrpp+sw/a/i3Raypk4zfpdDDWxIlg08dUIiKyuVVLGImTOBqAxOu+xEk/nSC6Unu9mxZYssL01u2tBB5gcS2jwgl5xcWYfCdppumJHgAsfIso1FS2O83zSxlyn232+2/J8E+ICfshMSAY/NppRmPmjHqWHtLMx6hSiSfFb6hfVZQU6jtJWxUQe/L/twMkeT3ix6CX9/mtCP/Dj4r7+vpoLlOx8Nt5/Cd5aJiYnN8eks85ILGKujgrhulAid0iuS5OlBIt2XHK+r98P4bM8P35TPXv2kiTdDwje7oxmRjukqp5D8WPLJwM8MHm2hzonF5qOWFYDm/Hm6loslg90U9hQyYQAbwE4HDr3w3SJgPuXY3dbgjqk286FYRf3tmIzGYPssnJm0RmPP1h/zRSxgmP//dijMUpx4FBZEgZCeTvFMu73SHbNrLFexvFSF1fpAxQ==; 5:0tEwRcHHcmWFxGV0WVkmuGSUTRtEtxnGC98l2auALCm+AIcIPCCzVPgG50jqsv0HhhhcRiGwsobjIS8+fHdrhveLsqptMRQpYK8G0pfMyk7HI7qUli4dOsQN56f8fkBWCI2pzpl3QP07RS59WA8oYpLmxiWX1WoDEFJfVhPUbuo=; 7:BdRvjbtlljav01z6WQ5kzRdkKZNncKUMvcG51wAEWeVhjFJbZWYli10654uGqGQ5yvLZzN7+kX6WrWnpz3g3BSZeLSoQfIMAgCu17qCsM3s9zTXfPftPJq6CIg56pGTaOGX+HexMrIB5dizlxs6jQg== x-ms-office365-filtering-correlation-id: a7b3e7c3-5652-46b1-c277-08d667503118 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB3263; x-ms-traffictypediagnostic: VI1PR04MB3263: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB3263; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB3263; x-forefront-prvs: 0893636978 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(366004)(136003)(39860400002)(189003)(199004)(305945005)(81156014)(105586002)(8676002)(106356001)(8936002)(81166006)(36756003)(14454004)(26005)(76176011)(478600001)(25786009)(7736002)(6116002)(110136005)(2616005)(97736004)(31686004)(476003)(3846002)(2906002)(44832011)(256004)(316002)(99286004)(11346002)(446003)(486006)(6506007)(6246003)(68736007)(71200400001)(71190400001)(4326008)(2501003)(86362001)(31696002)(5660300001)(78486014)(6436002)(6486002)(55236004)(66066001)(102836004)(53546011)(53936002)(52116002)(229853002)(6512007)(186003)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3263; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: h4wuXSI5oIdlBVQdyLcDpV1wvsfxQIfq2ST+ZTh9ucgmmEvFsTS6JH++5hUBXgiJgTtHEmbEpyWYDURsXbG01jLKd7aeCZaqHhk4Zrmn0siY8NuG9XpIMrpv6JVNkga3ix7KNzJogdIQ+zzZdNUY9wwzYsBC3U4gz9Kr4pD+a4Ub24qUwXXVVv4a+7b8PyU6tHxTJIqff5i10cNg7KROfbChaVv9XKYz3PI31xYeV61wd70/dypDPENaeL15s41Gl7rW+i6UoXgm7D62TlzMvnd4UH0bWovf/5zCyBuu0osZQU/2txWEusxkVP20/Hk0 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <285D24BA5FB75F40984BA8DBB3240671@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7b3e7c3-5652-46b1-c277-08d667503118 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2018 14:25:44.1587 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3263 Subject: Re: [dpdk-dev] [PATCH v4 4/9] examples/ipsec-secgw: fix outbound codepath for single SA X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2018 14:25:46 -0000 DQoNCk9uIDEyLzE0LzIwMTggMTA6MTAgUE0sIEtvbnN0YW50aW4gQW5hbnlldiB3cm90ZToNCj4g TG9va2luZyBhdCBwcm9jZXNzX3BrdHNfb3V0Ym91bmRfbm9zcCgpIHRoZXJlIHNlZW1zIGZldyBp c3N1ZXM6DQo+IC0gYWNjZXNzaW5nIG1idWYgY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