From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by dpdk.org (Postfix) with ESMTP id DAC761AFEB; Wed, 9 May 2018 14:18:17 +0200 (CEST) Received: from G1W8107.americas.hpqcorp.net (g1w8107.austin.hp.com [16.193.72.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2352.austin.hpe.com (Postfix) with ESMTPS id F07FAB2; Wed, 9 May 2018 12:18:16 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G1W8107.americas.hpqcorp.net (2002:10c1:483b::10c1:483b) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 9 May 2018 12:18:16 +0000 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (15.241.52.10) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Wed, 9 May 2018 12:18:16 +0000 Received: from TU4PR8401MB0655.NAMPRD84.PROD.OUTLOOK.COM (10.169.44.149) by TU4PR8401MB1149.NAMPRD84.PROD.OUTLOOK.COM (10.169.48.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Wed, 9 May 2018 12:18:14 +0000 Received: from TU4PR8401MB0655.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c980:6780:e5fc:241c]) by TU4PR8401MB0655.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c980:6780:e5fc:241c%13]) with mapi id 15.20.0735.019; Wed, 9 May 2018 12:18:14 +0000 From: "DAS, SANJIB" To: "Trahe, Fiona" , "users@dpdk.org" , "dts@dpdk.org" , "test-report@dpdk.org" CC: "Zhang, Roy Fan" , "De Lara Guarch, Pablo" Thread-Topic: Query on ipsec-secgw with crypto algorithm CCM Thread-Index: AdPiIIJ7nmx03B7KTHyDIqvoLFC5OQEkXUQQACR+LRAAEfnCMAAA9RGw Date: Wed, 9 May 2018 12:18:14 +0000 Message-ID: References: <348A99DA5F5B7549AA880327E580B4358947982E@IRSMSX103.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B4358947DD1D@IRSMSX103.ger.corp.intel.com> In-Reply-To: <348A99DA5F5B7549AA880327E580B4358947DD1D@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sanjib.das@hpe.com; x-originating-ip: [183.82.19.191] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; TU4PR8401MB1149; 7:+V1YD8nhfAA9+qvjAk3PqvCLGdOBW428FR6wKroKTIzAyz2QvKxCP2EiJHm610XnAHHo+OgF91fxurgf9PvzIiBWX0EYrFQyxaXLGKacFmN3Xc31EF7H8IeDtd5hvdVEHe4Qq7UIUDGaRQYBL+bg6DsPaibN4c7KbnS1+8yjPlb5UuNVoYk9xuYdjSMq2WJruZCRjWZ29+bauIQdLjaHmCNRQKdiywoz4XdcRF8JXPZhtJixlMJzZjCMgzbhakZH x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:(222181515654134); BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:TU4PR8401MB1149; x-ms-traffictypediagnostic: TU4PR8401MB1149: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(261408538637735)(227479698468861)(222181515654134)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:TU4PR8401MB1149; BCL:0; PCL:0; RULEID:; SRVR:TU4PR8401MB1149; x-forefront-prvs: 0667289FF8 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39380400002)(366004)(376002)(396003)(39860400002)(199004)(189003)(13464003)(105586002)(6436002)(25786009)(93886005)(3660700001)(6116002)(74316002)(97736004)(3846002)(486006)(2900100001)(3280700002)(66066001)(2906002)(347745004)(476003)(33656002)(4326008)(446003)(229853002)(11346002)(76176011)(6246003)(9686003)(16799955002)(26005)(2201001)(8936002)(316002)(81156014)(7696005)(6306002)(305945005)(14454004)(106356001)(68736007)(53936002)(186003)(7736002)(8676002)(5660300001)(99286004)(5250100002)(53346004)(53546011)(55016002)(6506007)(102836004)(478600001)(110136005)(86362001)(81166006)(54906003)(2501003); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR8401MB1149; H:TU4PR8401MB0655.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: CfFhjLlD2HY4YEmqtcbDvRh8FtLgTm/UgvgvyxoQ0MtjooxTCX+sqH6omPGLUN7gpH0m/IrnYbI8O59PTLtUk4f54Z5xStBF9mZChrobpU9KYigCrakg8w56+icX39WOUFn0hucj1kD/SRRonhzQtCvXqJPAO4gtpmHPCUZDW2UGaI9RfWfC2Ayr/Z9RwFfE spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 28776943-2ff0-43ee-e9ae-08d5b5a6f063 X-MS-Exchange-CrossTenant-Network-Message-Id: 28776943-2ff0-43ee-e9ae-08d5b5a6f063 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2018 12:18:14.3665 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB1149 X-OriginatorOrg: hpe.com X-Mailman-Approved-At: Thu, 10 May 2018 02:44:25 +0200 Subject: Re: [dpdk-users] Query on ipsec-secgw with crypto algorithm CCM X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 12:18:18 -0000 Thanks a lot Fiona. It worked. Thanks, Sanjib my page-0 wiki -----Original Message----- From: Trahe, Fiona [mailto:fiona.trahe@intel.com]=20 Sent: Wednesday, May 9, 2018 5:22 PM To: DAS, SANJIB ; users@dpdk.org; dts@dpdk.org; test-re= port@dpdk.org Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo ; Trahe, Fiona Subject: RE: Query on ipsec-secgw with crypto algorithm CCM CCM aead-iv-size should be between 7 and 13, you're setting to 16. See drivers/crypto/openssl/rte_openssl_pmd_ops.c for openssl capabilities > -----Original Message----- > From: DAS, SANJIB [mailto:sanjib.das@hpe.com] > Sent: Wednesday, May 9, 2018 4:19 AM > To: Trahe, Fiona ; users@dpdk.org;=20 > dts@dpdk.org; test-report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo=20 > ; DAS, SANJIB > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > Thanks Fiona, >=20 > Recently I was trying with "dpdk-test-crypto-perf" application & PMD as = openssl. > But I do see it fails for CCM (dpdk-17.11.2). This API fails=20 > rte_cryptodev_sym_capability_check_aead(). It all works fine with GCM. >=20 >=20 > I used this command >=20 > ./dpdk-test-crypto-perf -l 1-2 --vdev crypto_openssl -w 0000:00:00.0=20 > -- --devtype crypto_openssl --aead- algo aes-ccm --aead-key-sz 16=20 > --aead-iv-sz 16 --aead-op encrypt --aead-aad-sz 16 --digest-sz 16=20 > --optype aead --silent --ptest throughput --total-ops 1000000 >=20 > Not sure if others too faced this issue. >=20 > Thanks, > Sanjib >=20 > my page-0 wiki >=20 >=20 > -----Original Message----- > From: Trahe, Fiona [mailto:fiona.trahe@intel.com] > Sent: Tuesday, May 8, 2018 3:26 PM > To: DAS, SANJIB ; users@dpdk.org; dts@dpdk.org;=20 > test-report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo=20 > > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > Hi Sanjib, >=20 > Copying Pablo who added unit tests for it in this commit - this should=20 > give you an example of how to get it working: > 77a217a19bb72860e26b9aefb19dce92239e0820 >=20 > Also copying Fan who added CCM to aesni_mb PMD. >=20 > Fiona >=20 > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of DAS, SANJIB > > Sent: Wednesday, May 2, 2018 3:21 PM > > To: users@dpdk.org; dts@dpdk.org; test-report@dpdk.org > > Cc: DAS, SANJIB > > Subject: [dpdk-users] Query on ipsec-secgw with crypto algorithm CCM > > > > Hello team, > > > > I am currently executing performance testing using ipsec-secgw=20 > > application for different crypto > algorithms. > > I was able to execute the tests for crypto algorithms CBC & GCM, but=20 > > as such dint find much pointers on CCM. From ipsec-secgw sample=20 > > application source code (DPDK-18.02.1) also it looks CCM support is=20 > > not there. Could you kindly share your comments on that. Can we=20 > > actually execute ipsec-secgw > application for crypto algorithm CCM? > > >=20 > > Thanks, > > Sanjib > > > > my page-0 > > wiki > i_ > > space> > > > > > > >=20