From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20066.outbound.protection.outlook.com [40.107.2.66]) by dpdk.org (Postfix) with ESMTP id 5923A1BDD4 for ; Thu, 21 Jun 2018 15:26:17 +0200 (CEST) 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=T5tu9uDW+NDf0lxE+71Nomw5taDTvW5Dj7gisBepuLI=; b=OtiBo4uAABw5bn+3Lxdu9tpsCbvr+uLI+PAZJ20JUGzHKDdgF7PCuKVf8TPZZa9LBTMo7NJm2L7U3hha0EfxFXn66PBNLKx/Kjwfra47Ybe7xO49zW4oqZA/WDAO2LH1ZttEBkfqTlryugaPB8xg7SD9gutCUmGS4hEGoAESMHg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.142.187.166) by HE1PR04MB1387.eurprd04.prod.outlook.com (2a01:111:e400:535b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Thu, 21 Jun 2018 13:26:14 +0000 To: Konstantin Ananyev , dev@dpdk.org Cc: radu.nicolau@intel.com References: <1528208163-31560-1-git-send-email-konstantin.ananyev@intel.com> From: Akhil Goyal Message-ID: <652c20fb-b0c9-b216-7e35-387f19e2c2ab@nxp.com> Date: Thu, 21 Jun 2018 18:55:54 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1528208163-31560-1-git-send-email-konstantin.ananyev@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BMXPR01CA0021.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::31) To HE1PR04MB1387.eurprd04.prod.outlook.com (2a01:111:e400:535b::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6530b83d-3835-41c5-aefd-08d5d77a9069 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1387; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1387; 3:izNju5PQl9oNV7/XL9N6JETpvIPW/4Gg6H2XAHB/0vkd5QDMHzWKJ9Q4K5bpbZGo6gzUOPB4TjqhwrCYkxNk9zmSPPkutFsU7oq6Lle/kcKRR7SFwHHb2HglRPj2/25aNV3iUA8M2AkMbDDLS9nTIjRNgOl75ekIubPACxHxz9oFOADuh1NqczMROEC9PvMVljfDPzPQovda+2K7BrYtkVtnIsVc2vwlx5enbp1FTVybNnD/PdvH7C9fSoS6ltGY; 25:DRnGYB4Nw9N/Lyqb9J0EiRpvipI1XRcS3n1snUZvVQOff3C8pKDZNVIqTTA6vwhXwwNTTSs0fN4T+f913b0w/WlSxk3TzCVPqyhQ2dYBlL5NFtRhZ0BxDPj7BJZVMLdxAdILhebPXKBkO+sgG8ZT7nUTe+qcP2aA///eHM3lVS1EWLTTJrDz8pwg6iIp+tQnQu+YNwAfOq8HNt0BdYwNJBsnd1wy18ZPKqzVEsnTn/Z7k81SIcrItgrZmSPC0a40Hw374tYZ5TjW/P5gELX6Nhir2LcLHmR0gqio7B3o4maPqnUEjTN+0lLdLyy0I1Ih3Ii0GXkWUtmZgIszGLls6g==; 31:CkHXyztB5LsUQZ1KZzbZn4uPIRVp7qsZjHz09DWWHOoYbdzPyoQ3l1hQxrFDtIgEA0M4+qTUER0NFrWVZpT5PbIUklUUWs/jqWedmRJJzksx1eeJ2TgXLcC2URnyp9zJ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Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:HE1PR04MB1387; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1387; X-Forefront-PRVS: 07106EF9B9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(39860400002)(396003)(39380400002)(366004)(376002)(346002)(199004)(189003)(5660300001)(5009440100003)(476003)(6246003)(31686004)(16526019)(3260700006)(77096007)(53936002)(186003)(105586002)(4326008)(6116002)(478600001)(36756003)(106356001)(25786009)(230700001)(956004)(65826007)(11346002)(2616005)(305945005)(6666003)(3846002)(26005)(8936002)(81166006)(2906002)(97736004)(16576012)(6486002)(2486003)(81156014)(50466002)(8676002)(64126003)(76176011)(44832011)(52116002)(486006)(31696002)(68736007)(65806001)(58126008)(67846002)(47776003)(229853002)(52146003)(386003)(53546011)(66066001)(316002)(55236004)(23676004)(446003)(86362001)(65956001)(7736002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1387; H:[10.232.134.144]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA0TUIxMzg3OzIzOkpaR1dQdHU4SFhJMGl5Vy9yRWJoRExBS3gx?= =?utf-8?B?VjE4am5oVllyMHZsc25UMUhhL0IrZ1dGSUsrTTU5T0ZzVmF2UFhlZTU2azRi?= =?utf-8?B?cXhXVzZlUjRlci8wZ0xPalZBYi9Vd0RLbnZITjFz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pJBaBgYluiqrnoG38jA1Ljvcihv1vh7WCgL8f+9YnG6WTCoDOQo8zXX5aesEpEmVysUSK76XE3FB2SEKaXvc/x649w5lKr22oRH8CfaJ3uF87VV10tTpa3GLvn0ymvNlmKI=; 24:VCakleQ8qwb5ENjjPpsQam5IPPLVtiBmWBjud8g+/o5MPiLzNr6KdOL332firRpoM0tHJ3osMQaTPnPgdyLPgwPSdlJB7EBsucsxUW5r1uA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1387; 7:4NpsBmckjLcOvN8X9sOj7fh7GnDVWYsxEgdJ8b+lmP31vfM7mU6G5Os0r5PDjcywB3qcVNATnnk8/pd6Ohbw9J4CvBEeklXX9RToRfKg4fkzR/KMuAaOU0SMdGhXZYBsU52yx5P8vsuQcTG4Vji7aoXOW4omwdlosO5FUsEbqz6JiCywQtg/1JXWi86V+uUs1rEZHXSI1gNU2DT5D1mrhUKmPh08+AvuMNsbEQmS2ildpoJQVMlDv9i6MEAaon8M X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2018 13:26:14.3143 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6530b83d-3835-41c5-aefd-08d5d77a9069 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1387 Subject: Re: [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: fix bypass rule processing for outbound port 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: Thu, 21 Jun 2018 13:26:17 -0000 On 6/5/2018 7:46 PM, Konstantin Ananyev wrote: > For outbound ports BYPASS rule is erroneously treated as PROTECT one > with SA idx zero. > > Fixes: 2a5106af132b ("examples/ipsec-secgw: fix corner case for SPI value") > > Signed-off-by: Konstantin Ananyev > --- > Acked-by: Akhil Goyal