From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8F519A0559; Mon, 16 Mar 2020 18:42:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC12E1C0B8; Mon, 16 Mar 2020 18:42:11 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id D948E1C07B for ; Mon, 16 Mar 2020 18:42:09 +0100 (CET) IronPort-SDR: bFzoK5jrNelJ2icbFuXgC0XIpveyADyXnKb+DGv60DcFKFFX1FyDM5juZ87zHJZ9dQctlyhNoC d9Xkn80klHrA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 10:42:09 -0700 IronPort-SDR: TSunU6G117H3yOS9bv8wDDr/dJxwy2lQguA6IjWp40OoKJQvPyKBZW+LYkMLXxaVJJ6tKOeT+T S92HV9TQyMcA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,561,1574150400"; d="scan'208";a="390768395" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by orsmga004.jf.intel.com with ESMTP; 16 Mar 2020 10:42:08 -0700 Received: from orsmsx123.amr.corp.intel.com (10.22.240.116) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Mar 2020 10:42:08 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX123.amr.corp.intel.com (10.22.240.116) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Mar 2020 10:42:08 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Mar 2020 10:42:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nALS4Gq/ByeDjWD/etcVdz+A+befiPEZmDkIZL4xUNqfQPLNevcvcGrI34hh2mhS5vqxaqtFaNTrCpuw5v8e5xeGRoWOhKD2Rt+IAMkknzYAjleaKMRMdbuICBVjjqqxUyzUPrKxFI/jDKtZyEviKg75umYYmP18H+lEFDs7CRwqTrgwZ6fKyAkaD60qDAW/l7R3U1WKGVmocxzeB/Tcsat6+2rtHO5FfRbtIl2o1d4jtJUVmhVib+qR2nM9unV/MfdEBPwLAqR7nVHr/ciiuvkkymYSiM1wsaD2NCK93+SKEMYsMUB7MCiCSLl+ApkHuEi3Qf33GBcpl6FlcBid6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yp5iDshpl7Svo6XTZwCt85OJhV4LyYJ87++vvkYPA/Y=; b=H5CZxPw16bgbpqLRVV33/FP+CqVb0vWOJrs5eV2HzjzdiimkC3dKjFFkPVnqXRTQCS0d+TBwhhPI4XDj4D3AgvT3joXlKYGBTWRLHng/x7Qh/o9ii1AONsD04b4tX/tkJ+uJGlHZBB4y1c7FVWpuYd4erI83uacNhm+LpzE50w4uc7I3uDooDU5jE0vhUlD1azNV5L2nTmBcve8ZKtUE2clag/Nr0+cVVpCx+DS9je5M9XQLcvaykEa54YW5QEQ0hdbynwmoOUfvolsQZY19gxvHFenDN4b1oSuWkVkjTpzP+BZ/mbbKdl3+wkd+ukD+1gska8aXkN44uP/gNHO76Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yp5iDshpl7Svo6XTZwCt85OJhV4LyYJ87++vvkYPA/Y=; b=bcIfXCVFcLPNLNds2My0ezkrNL46QZW7XwKYGavr9GXEgGcRcyjcG4tXvrj0O6qFgmNLdQ26/7Y9zepdX5iEBbdzHk6daWS/NB+ImqAJ15qJGDPwVpkxMB2CzVSqVhoGcRz93+P7EmO2JPNK64OEauHwVsZMGHGY4zd5aAz43Z0= Received: from SN6PR11MB2847.namprd11.prod.outlook.com (2603:10b6:805:55::31) by SN6PR11MB2592.namprd11.prod.outlook.com (2603:10b6:805:57::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.22; Mon, 16 Mar 2020 17:42:07 +0000 Received: from SN6PR11MB2847.namprd11.prod.outlook.com ([fe80::c510:e3e0:e4b4:7556]) by SN6PR11MB2847.namprd11.prod.outlook.com ([fe80::c510:e3e0:e4b4:7556%6]) with mapi id 15.20.2814.021; Mon, 16 Mar 2020 17:42:07 +0000 From: "De Lara Guarch, Pablo" To: "O'loingsigh, Mairtin" CC: "dev@dpdk.org" , "O'loingsigh, Mairtin" Thread-Topic: [dpdk-dev] [PATCH 1/2] crypto/aesni_mb: support DOCSIS AES-256 Thread-Index: AQHV8gb7kI+VMd5j2EurjFiH1gzz+ahLjLGg Date: Mon, 16 Mar 2020 17:42:06 +0000 Message-ID: References: <1583313952-9660-1-git-send-email-mairtin.oloingsigh@intel.com> In-Reply-To: <1583313952-9660-1-git-send-email-mairtin.oloingsigh@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=pablo.de.lara.guarch@intel.com; x-originating-ip: [192.198.151.168] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 81abed1e-7148-4eeb-f614-08d7c9d158c9 x-ms-traffictypediagnostic: SN6PR11MB2592: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1227; x-forefront-prvs: 03449D5DD1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(396003)(376002)(346002)(39860400002)(199004)(7696005)(86362001)(52536014)(478600001)(4326008)(107886003)(6862004)(54906003)(316002)(71200400001)(81156014)(81166006)(2906002)(8676002)(33656002)(186003)(8936002)(26005)(76116006)(9686003)(5660300002)(6636002)(66476007)(53546011)(6506007)(64756008)(66446008)(66556008)(66946007)(55016002); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2592; H:SN6PR11MB2847.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FYegK0FsUMjp6CSQTCIhmMPid7gKkd5PDaKOSkyimdHldxjuePcd6Z2IT9NOQ3mNuDdtq41J8e6bCPOArnXnfgZYpVjAaX75rpdlxcZf4qOLhnJU4Cw5wEM3/Jy2fmbvAuwgWmZtGf3XIY3XwcgHCOYRQkl+SwyHVZ2MIAlxdgZ8HmYnM0wVj6RU81N7y4YhREzTwyTP/U76RmP1oLHhCnNpWW5dAcZiNg+eu1tPW1gx55eXEOoCkZ8kTLjrbbADElrm8v0CQ1JciAkAQRrq1g/C3wEebKDAFJ6GnxZiVa3VVDS5dcWB3Qi+85+qxVEHmXO7+trKjo+e0nOgcRDstzgwIza348TRWvIhb85XVo5BiHQdyKLcr2hdOMAVV7yW7Bzj0OB88DWMC2uhSbSi/5+0jSQ+1fKoYGfOwsynSIo0atNpb13am+lEaABBY7N6 x-ms-exchange-antispam-messagedata: KMhZdrrsy9/7csilslkM+SEmlpdYMJaBLOcwCA98oi7NK8n2H53hUvwAgde5wRs5EZFtuJq9VZduNdfOFKEprmNp06vL016z3HyP6E0iHaCcsZsbFlLmoAB6vjmKBA3KiqNGbdRUjg6uxVHCqOdsJw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 81abed1e-7148-4eeb-f614-08d7c9d158c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2020 17:42:06.9793 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gYFW/tMZ+PP2v/CClWW+GKZ3kgGI1iBzwFNAtJLh90rINdC1kPWVmNxxgG7In/VqoTpxlJJJHxs+lYmzBfDeNq/rTxNH4ijdLDYp2Uoy5X4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2592 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 1/2] crypto/aesni_mb: support DOCSIS AES-256 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Mairtin, > -----Original Message----- > From: dev On Behalf Of Mairtin o Loingsigh > Sent: Wednesday, March 4, 2020 9:26 AM > To: Doherty, Declan ; akhil.goyal@nxp.com > Cc: dev@dpdk.org; O'loingsigh, Mairtin > Subject: [dpdk-dev] [PATCH 1/2] crypto/aesni_mb: support DOCSIS AES-256 >=20 > This patch adds support for DOCSIS AES-256 when using AESNI-MB >=20 > Signed-off-by: Mairtin o Loingsigh > --- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c > b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c > index d8609ad..110f1f1 100644 > --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c > +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c > @@ -314,8 +314,8 @@ > .block_size =3D 16, > .key_size =3D { > .min =3D 16, > - .max =3D 16, > - .increment =3D 0 > + .max =3D 32, > + .increment =3D 16 Since this is going to be available in release 0.54, you should add a check= for the version, so IMB_VERSION_NUM > IMB_VERSION(0, 53, 0). Otherwise, key_size.min =3D max= =3D 16. Thanks, Pablo =20