From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C15F4D4A6; Wed, 16 May 2018 16:23:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2018 07:23:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,406,1520924400"; d="scan'208";a="224719962" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga005.jf.intel.com with ESMTP; 16 May 2018 07:23:02 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.179]) by IRSMSX102.ger.corp.intel.com ([169.254.2.83]) with mapi id 14.03.0319.002; Wed, 16 May 2018 15:23:01 +0100 From: "Trahe, Fiona" To: "DAS, SANJIB" , "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+LRAAEfnCMAAA9RGwAVXiN6AADoUfIA== Date: Wed, 16 May 2018 14:23:01 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B43589483C6D@IRSMSX103.ger.corp.intel.com> References: <348A99DA5F5B7549AA880327E580B4358947982E@IRSMSX103.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B4358947DD1D@IRSMSX103.ger.corp.intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWQxNjQyMTAtOTAyZS00N2EyLTlhZDktMWYwMmI4YWI5YTVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ims5NTZKYXcxcE5nVEFzVUw3aXFJa3F3MlZhNEM4U3M5bko5T1d5VHZcLytrPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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, 16 May 2018 14:23:05 -0000 Sorry Sanjib, I'm not familiar with that API or error. Fiona > -----Original Message----- > From: DAS, SANJIB [mailto:sanjib.das@hpe.com] > Sent: Wednesday, May 16, 2018 8:35 AM > To: Trahe, Fiona ; users@dpdk.org; dts@dpdk.org; t= est-report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > ; DAS, SANJIB > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > Hi Fiona, >=20 > One query with dpsk-17.11.2 ipsec-secgw. >=20 > I do see API ixgbe_crypto_enable_ipsec() returning me error for both rx/t= x > (dev_conf.rxmode.offloads/dev_conf.txmode.offloads) offload on my target = X86 system. >=20 > It fails to read value whatever it writes either on IXGBE_SECRXCTRL or IX= GBE_SECTXCTRL. > I am currently debugging this issue, but if I ignore these errors it cont= inues & I can see > its handling packets also. >=20 > Does ignoring these errors mean simply its not enabling hw offloads for b= oth rx/tx? > Is my understanding correct? Other than that does it have any other side = effect? >=20 >=20 > Thanks, > Sanjib >=20 >=20 > -----Original Message----- > From: DAS, SANJIB > Sent: Wednesday, May 9, 2018 5:48 PM > To: 'Trahe, Fiona' ; users@dpdk.org; dts@dpdk.org;= test-report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > Thanks a lot Fiona. It worked. >=20 > Thanks, > Sanjib >=20 > my page-0 wiki >=20 >=20 >=20 > -----Original Message----- > From: Trahe, Fiona [mailto:fiona.trahe@intel.com] > Sent: Wednesday, May 9, 2018 5:22 PM > To: DAS, SANJIB ; users@dpdk.org; dts@dpdk.org; test-= report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > ; Trahe, Fiona > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > 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 >=20 >=20 > > -----Original Message----- > > From: DAS, SANJIB [mailto:sanjib.das@hpe.com] > > Sent: Wednesday, May 9, 2018 4:19 AM > > To: Trahe, Fiona ; users@dpdk.org; > > dts@dpdk.org; test-report@dpdk.org > > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > > ; DAS, SANJIB > > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM > > > > Thanks Fiona, > > > > Recently I was trying with "dpdk-test-crypto-perf" application & PMD a= s openssl. > > But I do see it fails for CCM (dpdk-17.11.2). This API fails > > rte_cryptodev_sym_capability_check_aead(). It all works fine with GCM. > > > > > > I used this command > > > > ./dpdk-test-crypto-perf -l 1-2 --vdev crypto_openssl -w 0000:00:00.0 > > -- --devtype crypto_openssl --aead- algo aes-ccm --aead-key-sz 16 > > --aead-iv-sz 16 --aead-op encrypt --aead-aad-sz 16 --digest-sz 16 > > --optype aead --silent --ptest throughput --total-ops 1000000 > > > > Not sure if others too faced this issue. > > > > Thanks, > > Sanjib > > > > my page-0 wiki > > > > > > -----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; > > test-report@dpdk.org > > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > > > > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM > > > > Hi Sanjib, > > > > Copying Pablo who added unit tests for it in this commit - this should > > give you an example of how to get it working: > > 77a217a19bb72860e26b9aefb19dce92239e0820 > > > > Also copying Fan who added CCM to aesni_mb PMD. > > > > Fiona > > > > > -----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 > > > application for different crypto > > algorithms. > > > I was able to execute the tests for crypto algorithms CBC & GCM, but > > > as such dint find much pointers on CCM. From ipsec-secgw sample > > > application source code (DPDK-18.02.1) also it looks CCM support is > > > not there. Could you kindly share your comments on that. Can we > > > actually execute ipsec-secgw > > application for crypto algorithm CCM? > > > > > > > > Thanks, > > > Sanjib > > > > > > my page-0 > > > wiki > > i_ > > > space> > > > > > > > > > > > >=20