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 AB3272C10 for ; Sun, 18 Sep 2016 05:50:41 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 17 Sep 2016 20:50:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,354,1470726000"; d="scan'208";a="1042005251" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 17 Sep 2016 20:50:40 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 17 Sep 2016 20:50:39 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 17 Sep 2016 20:50:33 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.209]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.174]) with mapi id 14.03.0248.002; Sun, 18 Sep 2016 11:50:30 +0800 From: "Liu, Yong" To: "Jain, Deepak K" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "Jain, Deepak K" Thread-Topic: [dpdk-dev] [PATCH v2 0/2] Add HMAC_MD5 to Intel QuickAssist Technology driver Thread-Index: AdIRX8O8gardfveoRbylzMO1X7fr7g== Date: Sun, 18 Sep 2016 03:50:30 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E602C5362@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTQwMTA3OGQtOThmOC00NTE1LTk2NzEtNzRlNDYwYzdmOTZjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImN6bUp6dXlTcFJMVVwvNEdPTkhPNXJrWDFIUG5FTStPcmJ5N3RWRUJoNkpvPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 0/2] Add HMAC_MD5 to Intel QuickAssist Technology driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2016 03:50:42 -0000 Tested-by: Yong Liu - Tested Branch: dpdk-next-crypto/master - Tested Commit: 3e329d659b62097d15ec86ff92acc8effaf28cd2 - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc version 4.8.3 20140911 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Device Fortville [8086:1583] - QAT: Intel Corporation Coleto Creek PCIe Endpoint [8086:0435] - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 2 cases, 2 passed, 0 failed - Prerequisites command / instruction: Enable CONFIG_RTE_LIBRTE_PMD_QAT in config/common_base and rebuild dpdk Bind QAT VF devices to igb_uio - Case:=20 Description: HMAC_MD5 authentication unit test=20 Command / instruction: Start test application with normal eal parameter. ./$RTE_TARGET/app/test -c f -n 4 -- -i Run crypto QAT unit test suite and verify MD5_HMAC cases passed - Case:=20 Description: l2fwd_crypto with HMAC_MD5 authentication test Command / instruction: Start l2fwd_crypto with QAT technology enable. Authentication method is MD5_HMAC, auth key is also inputted in. l2fwd-crypto -c 0xf -n4 -- -p0x1 --chain HASH_ONLY --cdev_type HW \ --auth_algo MD5_HMAC --auth_op GENERATE \ --auth_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f Send 65 packets with random 64 bytes payload and capture forwarded pack= ets. Check all forwarded packets contained of 16 bytes hashed value. Check hash values are same as automatic calculated value. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Friday, September 09, 2016 11:45 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo; Jain, Deepak K > Subject: [dpdk-dev] [PATCH v2 0/2] Add HMAC_MD5 to Intel QuickAssist > Technology driver >=20 > This patchset add capability to use HMAC_MD5 hash algorithm to Intel > QuickAssist Technology driver and test cases to cryptodev test files. >=20 > This patchset depends on the following patches/patchsets: >=20 > "crypto/qat: make the session struct variable in size" > (http://dpdk.org/dev/patchwork/patch/15125/) >=20 > Arkadiusz Kusztal (2): > crypto/qat: add MD5 HMAC capability to Intel QAT driver > app/test: add test cases for MD5 HMAC for Intel QAT driver >=20 > Changes from v1: > * Added new feature information in release_16_11.rst file. >=20 > app/test/test_cryptodev.c | 185 > +++++++++++++++++++++++ > app/test/test_cryptodev_hmac_test_vectors.h | 121 +++++++++++++++ > doc/guides/cryptodevs/qat.rst | 1 + > doc/guides/rel_notes/release_16_11.rst | 5 + > drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 34 +++++ > drivers/crypto/qat/qat_crypto.c | 28 +++- > 6 files changed, 372 insertions(+), 2 deletions(-) > create mode 100644 app/test/test_cryptodev_hmac_test_vectors.h >=20 > -- > 2.5.5