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 2F5CAA0588; Thu, 16 Apr 2020 18:44:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4DA871DD45; Thu, 16 Apr 2020 18:44:52 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A6EC51DADA for ; Thu, 16 Apr 2020 18:44:49 +0200 (CEST) IronPort-SDR: WGxYenz6xz8tXCAgLkrSo5Re/lLG++5CfrB3ki3x2Lvqufr5I7SBI4nbNRxI/JkvtN+IbwKuGk E4cg6lnYoN0Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 09:44:48 -0700 IronPort-SDR: O0n0H/WXms1MbafQ+GxiWXbZnTLnmEYtI8pWECbpFXF4fCGswmv4tPP93PI4lMde7aW5bs+jHp konZHr2cu+YQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,391,1580803200"; d="scan'208";a="454395440" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 16 Apr 2020 09:44:48 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Apr 2020 09:44:48 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Apr 2020 09:44:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aUjPIC354SWuANYGC84HW2RVaywQju+ALJbT0NCgaDtHLql0t4QdbpRl35vgiLKX2iGPEWmbKUonrMyMiXiN5m2P1Jx+ftYmbeGnn7nSGDrfbCbhUldRYfhc+2L9nb02pGBc1xbxlV440jpk8NSabmhlmmLdyVI1yvh4sB3R5k8XdpViugcvIdNfmwlIILV1FlOeZn8i9QQ/weGo8EjyvIEUQ5WANHF2Tf5xx8Bt0WUn+ZO1JeNurKltAPaH8D1V8FCWCuEOCr0HW3f8n+9wSa2iCAkgUMvFSw2ZbL69LMevxYbUIcv2JqnqPD4XzcZ49Y/Ie+iWD9/KfNvsdoKG3A== 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=5Rbp1gbN87sUIpN41d2X2V8p9yNUNK9+DcHfl9UHvvk=; b=lu0+2aOCAOnQWw9NaasXQcIb6MXYr2yXCjyK+Qny8Gu+2urIABVYWnBO58L2sLPYEzaz1fhz48O/BYsH14Xh/RBTV1z/0r+lwYLUzVBRN4OTh4M6L5XGItyWa01T9CCinzEbVDByV5xCjoU9ya0YaMX9Wh/JtgBCFMT76APwvA6Q/CuSdDwtWaEMu2ziB7d7ETwnB2x2Po5xOq4YMjFxQwOW4VTqjb5Gmh1pdCWjObwJ1YUKuR+s7qgQNx7FCGE+flQgGQQGYeKSRY1WTmibeoliVOsLwlqBM/hDZ/r+uBm88IWo1hn2THITIsuHnlcm47VK7ogO2+iGPLiFH9TRWA== 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=5Rbp1gbN87sUIpN41d2X2V8p9yNUNK9+DcHfl9UHvvk=; b=xd3/dOlJV0hw0n13sRVbFaxVL54i4/gUC4np2sjV8EvablOXoY3+WCYCf4PRqV45tYkw9hmH/AF/XJMCYaIcOPr5u9l5yQh60IH813574flZO5K2AG752HN/mtAepX5y7ZITd8HShg+GNvkZyT5FtqMm5kZnzH7TFbW0xIMmUwA= Received: from SN6PR11MB3101.namprd11.prod.outlook.com (2603:10b6:805:d8::23) by SN6PR11MB2686.namprd11.prod.outlook.com (2603:10b6:805:59::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.27; Thu, 16 Apr 2020 16:44:21 +0000 Received: from SN6PR11MB3101.namprd11.prod.outlook.com ([fe80::7d0f:735a:8d8b:1d40]) by SN6PR11MB3101.namprd11.prod.outlook.com ([fe80::7d0f:735a:8d8b:1d40%7]) with mapi id 15.20.2900.028; Thu, 16 Apr 2020 16:44:21 +0000 From: "De Lara Guarch, Pablo" To: "Trahe, Fiona" , "Doherty, Declan" CC: "dev@dpdk.org" , "akhil.goyal@nxp.com" , "Dybkowski, AdamX" Thread-Topic: [dpdk-dev] [PATCH v4 1/2] test/crypto: add capability check Thread-Index: AQHWE/BIyOMpC89tsEmXFZ6dernkmqh7740AgAAE0YA= Date: Thu, 16 Apr 2020 16:44:21 +0000 Message-ID: References: <1586886056-221547-1-git-send-email-pablo.de.lara.guarch@intel.com> <20200416090819.1921843-1-pablo.de.lara.guarch@intel.com> <20200416090819.1921843-2-pablo.de.lara.guarch@intel.com> In-Reply-To: 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: [109.255.188.24] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e6f6eb40-e209-4aa2-d327-08d7e22569e4 x-ms-traffictypediagnostic: SN6PR11MB2686: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1728; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3101.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(346002)(39860400002)(376002)(136003)(396003)(366004)(6636002)(2906002)(54906003)(55016002)(9686003)(316002)(110136005)(7696005)(5660300002)(86362001)(6506007)(53546011)(55236004)(107886003)(76116006)(66476007)(66556008)(64756008)(66946007)(66446008)(4326008)(478600001)(33656002)(26005)(71200400001)(81156014)(8936002)(8676002)(52536014)(186003); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tVmK8n3c+g5Bx4BTkVcn2Jh6BbL23tS580Q1hFL7wrfkLiaRhhwjezX/4/WXma0TSIUA2M70YP2Lyk8eWZyGPouwcYUUmUxeu2NiXFIsYVfVbgoHZj8XgpUrzb/jBpIbv3mQq1R7rXs55O+FTviIvg6L2FQoysXOPclGD5u9dT+5wqQTBdW7Ysl8BqkAuQxkAzGgjV4/5QU3WthYoitho39NiQxVHHozVwB/8o8zyb09DqpbL1fC8qttTXSnWcApJbiKWOTJ6y2p1DadIC197+Nr3oMnCGwO45HfkBE5OMuwrzg155OsjtcXYj1uENif2Ep/8z2Qtdbtm+9uY2inVdGql9bvOwRtJUHbHenhdLCc5yQ/P23ChD7Fn9Vw5NFkicNhrAzuZhwbeYI9hTYg93iIgYUdD1a4sBXGuG5XqoteDUMwUoxWDRA0wSqKfR0H x-ms-exchange-antispam-messagedata: 2fSJ0PVyzt/JO7j6UjSDPH+OlSBc9rUwYQBI2Oy+YJ0QhRoM+y3EFW4ystKi4wsSmMc2HaN6SyzHBn9Kvu3eV+a5mjEzxUIXOFFG3oUUMgJlUriYP56GBZd1z/Qief0e7mcY/UjU69phyTmI6JblDA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e6f6eb40-e209-4aa2-d327-08d7e22569e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 16:44:21.2786 (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: +93L4JGcR+KYBOp35xhLBWoWOIlqiQSb0Oul9RBuNJXvW6hfVkUzyefBOO6IgBpECYJAuUz12bEvB9SjlZ/X4IxWn/TPY/u/YERCExoSDek= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2686 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 1/2] test/crypto: add capability check 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 Fiona, > -----Original Message----- > From: Trahe, Fiona > Sent: Thursday, April 16, 2020 5:26 PM > To: De Lara Guarch, Pablo ; Doherty, Decl= an > > Cc: dev@dpdk.org; akhil.goyal@nxp.com; De Lara Guarch, Pablo > ; Dybkowski, AdamX > ; Trahe, Fiona > Subject: RE: [dpdk-dev] [PATCH v4 1/2] test/crypto: add capability check >=20 > Hi Pablo, >=20 > > -----Original Message----- > > From: dev On Behalf Of Pablo de Lara > > Sent: Thursday, April 16, 2020 10:08 AM > > To: Doherty, Declan > > Cc: dev@dpdk.org; akhil.goyal@nxp.com; De Lara Guarch, Pablo > > ; Dybkowski, AdamX > > > > Subject: [dpdk-dev] [PATCH v4 1/2] test/crypto: add capability check >=20 > ///snip/// > > +static int > > test_blockcipher_one_case(const struct blockcipher_test_case *t, > > struct rte_mempool *mbuf_pool, > > struct rte_mempool *op_mpool, > > @@ -93,11 +136,13 @@ test_blockcipher_one_case(const struct > blockcipher_test_case *t, > > uint64_t feat_flags =3D dev_info.feature_flags; > > uint64_t oop_flag =3D > RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT; > > > > - if (t->feature_mask && BLOCKCIPHER_TEST_FEATURE_OOP) { > > + if (t->feature_mask & BLOCKCIPHER_TEST_FEATURE_OOP) { > [Fiona] Isn't this a fix which should be a separate patch and should be > backported to stable releases? Yes, you are right. I will send a separate patch for this then. Thanks! Pablo