From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0058.outbound.protection.outlook.com [104.47.40.58]) by dpdk.org (Postfix) with ESMTP id 767391B323 for ; Mon, 12 Feb 2018 08:02:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+xX4RKFqcAoz2wABFKIUuGr6kfyEBSvqqIikvbfsjb8=; b=Rf+4meKyUyK9XfKm3tr9ZIGblAJr0MUOiRmqkReAPAgWGGf2KpVzfaDQ1mteAR+xVvI+peV1mokwwxFiVGN8pOlQKkY5w+j+oS1zgAJQ0XjagXnDhEygSOHVwYOXU+PY0x3LZVGp6lhlB0DEtBKvcfMuug1l2ytXEWVVqbE/GvA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from hyd1ajoseph-dt.caveonetworks.com (115.113.156.2) by CO2PR0701MB1061.namprd07.prod.outlook.com (10.160.8.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Mon, 12 Feb 2018 07:02:32 +0000 To: Radu Nicolau , dev@dpdk.org Cc: akhil.goyal@nxp.com, declan.doherty@intel.com, pablo.de.lara.guarch@intel.com References: <1518172805-17461-1-git-send-email-radu.nicolau@intel.com> From: Anoob Joseph Message-ID: <1e65bca1-641b-224b-f369-e85f88f08e01@caviumnetworks.com> Date: Mon, 12 Feb 2018 12:32:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1518172805-17461-1-git-send-email-radu.nicolau@intel.com> Content-Language: en-US X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MWHPR12CA0055.namprd12.prod.outlook.com (10.175.47.145) To CO2PR0701MB1061.namprd07.prod.outlook.com (10.160.8.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0544adf6-d645-4408-fb4c-08d571e697a9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:CO2PR0701MB1061; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1061; 3:Ecu8HmeQJigahKN/u5stBUxSgwHZzyMSfSWHbKIuF7gnDer9DUb4ZlCBo+KUI5eYdXlKJkzkw1ceocmvYrm9GOHoHAgkMg6JKo6VDCQ24mz7qsxhxQMSYtgyxYE1bXsHCBF6F0hz9DoFk/wws0NzLzDuDo9t4kx544r1+hVU3mnndMpNoUVPWW6fNBV6ELVm7JRgYw2kALu2M06REDYShsU/BznCf1a80sITGy6uGsQx4NVJsuyhAEM7lWH0Isqh; 25:hnVMzmDMnYAviFNxAtOyxz1AKdgWFwUYE1+0bcVnE/rxtXHyxUmSaMhiXvkI/hKogKhpMWgEteNYJThazttCwOPuLx5bDU8XGjPeOJARliZ26RceCvmcirRozZGa9r0LRJTk/a5cgR7QNl4QUFZWD3yZ1ictoL+TH2H+j3VdC0RJ8gmp0oOcEigPosrYUv+Zk2LJDumiIDSgU75FTv89INqMM5mZNFewyV/8sSdNih8shQbja/kePjLkzY2SoPjkes4RQ9ewe0IZ+8YSF9r7V1P4rweVlSHlpul5Qa3zq2BVE9eLcJ9qjG/7L8Q6lP0TxTHsyhqPE2ipMYk9Jftpyg==; 31:9kFwWTiO3JDUgzpbQSo+y10stMsWVW5GuYYveh6bBRzGEMLBajXPW1+598hkMxD2Lrm5/DqcDqT/jrBJ3zOyBRzrHsIb4Yc250uiyHb+C7XsyWVMPuCL1x48NDOdC0uQSMWUzUl6XEFKidqj3dzawM4RR0iYjQR7gUiL51z0HP6emRo6qP/lL312YoiqMl7y136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microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(3231101)(944501161)(3002001)(93006095)(6041288)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(6072148)(201708071742011); SRVR:CO2PR0701MB1061; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0701MB1061; X-Forefront-PRVS: 0581B5AB35 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(39380400002)(396003)(39830400003)(199004)(189003)(66066001)(69596002)(65806001)(36756003)(105586002)(5660300001)(31696002)(65956001)(106356001)(72206003)(53416004)(65826007)(478600001)(31686004)(6246003)(76176011)(7736002)(52116002)(6666003)(2950100002)(6116002)(3846002)(54896002)(83506002)(16586007)(316002)(53936002)(6486002)(8656006)(42882006)(6512007)(236005)(37036004)(58126008)(2906002)(16526019)(186003)(270700001)(229853002)(68736007)(55236004)(386003)(33964004)(64126003)(53546011)(59450400001)(26005)(6506007)(84326002)(575784001)(97736004)(4326008)(25786009)(8676002)(81156014)(8936002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0701MB1061; H:hyd1ajoseph-dt.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR0701MB1061; 23:jwEjBJmCrjyNoT0R2UA0DG/zca/rIqIDvHeAbfo?= =?us-ascii?Q?OGUKlAwsa4HhrVvEbRPA/DY9YxKWCmWRCjic6Ue5UYG6kT/Rt42jMg4sUkY1?= =?us-ascii?Q?A6w+o7mt7mrntW1xahimBdnskpCCxWAwF/Oeg+5IbyREIcsOXhuPtQy1Lct6?= =?us-ascii?Q?UntmMUgSoice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ZtPoPMZuwyD3KUvpAejvfDbzP7TLBfiCB98Z1C0Zc=; 24:ot1YgdeMwYPFlgy6OdHZvPaDxwCSJTGjhLvFtAh36Y7QjEMm1mA65i9fBn3OWAPwthsVZriNY8WhluoWyTri08tLfa9WkteOy8MPIO0e1Zk=; 7:JOIIySN/QJDm0iaJDkdHQ5QNYJg/0JAhWnYqaVvRgqvQBKJEvHUyfCf9sK1695Sdb8tQj8a6jy12z69Ifc3/lGSo9zyC/sLIiUvevZEN27Iqtt1uFlVDfwD8xrsbdqiCQJjxN7MAmC/tXVIp5f/0LB9/VXX93pbd9H/lJeS2WegCmBau0TN+96OpZSTU3nOSGDLwqpUfRe9biBIBptfbzk+Tqlqc89KqDrBLCtcr8usLQba4cyYTv4gbYd0SahTK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2018 07:02:32.7303 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0544adf6-d645-4408-fb4c-08d571e697a9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0701MB1061 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: print correct crypto name 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: Mon, 12 Feb 2018 07:02:38 -0000 On 09/02/18 16:10, Radu Nicolau wrote: > When AES-256 was used aes-128 was printed in the console > > Fixes: fa9088849e12 ("examples/ipsec-secgw: support AES 256") > Signed-off-by: Radu Nicolau Acked-by: Anoob Joseph > --- > examples/ipsec-secgw/sa.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c > index 21239dd..d9dcc0e 100644 > --- a/examples/ipsec-secgw/sa.c > +++ b/examples/ipsec-secgw/sa.c > @@ -631,7 +631,8 @@ print_one_sa_rule(const struct ipsec_sa *sa, int inbound) > printf("\tspi_%s(%3u):", inbound?"in":"out", sa->spi); > > for (i = 0; i < RTE_DIM(cipher_algos); i++) { > - if (cipher_algos[i].algo == sa->cipher_algo) { > + if (cipher_algos[i].algo == sa->cipher_algo && > + cipher_algos[i].key_len == sa->cipher_key_len) { > printf("%s ", cipher_algos[i].keyword); > break; > }