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 93E6CA04B8; Tue, 5 May 2020 14:04:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F24AA1D5BF; Tue, 5 May 2020 14:04:21 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E09FD1D177 for ; Tue, 5 May 2020 14:04:19 +0200 (CEST) IronPort-SDR: Um6nBtkwbf0Ve+8MSGyQQVlV4rUfLzTscqPud5MBchDa3OzagTM0KCVCYycX0ismsDx9lv12AF ONPewyQl31Mg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 05:04:18 -0700 IronPort-SDR: v/xcLRcUCiMVJnKcn9hYpHrMrKn9XZQcREI4tr8cq5KaJvItNmFtq9A2yuIKJcLPM8nMHYrAqO k6/BBAkPrRzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,354,1583222400"; d="scan'208";a="294945898" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga002.fm.intel.com with ESMTP; 05 May 2020 05:04:17 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 05:04:17 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 5 May 2020 05:04:17 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 5 May 2020 05:04:17 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 05:04:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ntzewy8r6jdjLiV9PR2DwqwMNpbJaAzNHCIMxvKB4GdZY6N6WpDdH+QU9x4mBzV7/cdWbDOvXcK6HGEJXWaL3eWOq4v/wCNoBDF0kWtDxsA9aOzm2i4i8r8vGEFi5VkzFUKF8fEJ0QTsX9NCFEzgS+hzsFoO5NOJWqqyUjq29eULBHi6mjGPW9q3byufCwgUlzYKMrFhTZPtyRs/F+4/aetwlYiY6ObhdYokJlT8kY33xH/rxbF6X0DhZsBSGlOGwhrb6rHZ3oCwXiBFp1OtRJmvk96l5uaxz42saBfQuqJ/6ur+vqUQjMY82cASTczfO9400MnlgzJm3f53TZyRpQ== 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=OcU7oRvPlkFhe/KfTfemqJnDu8YFEniufwaiPgofZMg=; b=ALi4ftatZqkV/7htHNlf0kDDhMsUcCoHAWT9DC60IrX1c4wpa2wGKGnm6ZKUGbbIjBanUgK9cYmoRXMc0q5wLNacPjeIjohNioPa+8rvxBtdCJhuUZqtvSVgB5XasZ7zDN8oRCHiYCE18iYAdFd9AuEk8RetIF3ElZt/yOpcZjNsZkaMVbQeDjISVsbtNVflX6eaWDFJFL4pLNpuO6i70yKocArQgE1U1dURv2xEwIi523SA6aSx8NVJqmIs5ig/bkHak3nZiWat1h/JntdD+HVDLFytEzIa6zCWtpEPesworAiV4USO4yOqjgdD6d420O1WYDHMm0tVhpIH/S8FQQ== 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=OcU7oRvPlkFhe/KfTfemqJnDu8YFEniufwaiPgofZMg=; b=GihODYKE6yPg/WKAAITujPNiolxH8nkUXZAVZBZFLIkL0QMr/p1RbzRyjXOpeQv9+wjauBOVq0UVKTpVZP2QpGmc737JVGCjtU3lyv+djdFpNpx90hTCasXxyI79SCqFlijYGWZfqk6Z14o3Gn1Tt9i/3DFQQOGK3vRi3D7i+yw= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SN6PR11MB2973.namprd11.prod.outlook.com (2603:10b6:805:ce::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Tue, 5 May 2020 12:04:07 +0000 Received: from SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90]) by SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90%5]) with mapi id 15.20.2958.030; Tue, 5 May 2020 12:04:07 +0000 From: "Trahe, Fiona" To: Akhil Goyal , "dev@dpdk.org" CC: "Ruifeng.Wang@arm.com" , "Doherty, Declan" , "asomalap@amd.com" , "anoobj@marvell.com" , "Zhang, Roy Fan" , "tdu@semihalf.com" , "rnagadheeraj@marvell.com" , "adwivedi@marvell.com" , Gagandeep Singh , Hemant Agrawal , "jianjay.zhou@huawei.com" , "De Lara Guarch, Pablo" , "Trahe, Fiona" Thread-Topic: [PATCH 1/9] cryptodev: add feature flag for non-byte aligned data Thread-Index: AQHWImIoN2MITcxt/ESWaDW13zb9U6iZQFcAgAAGSgCAAB5MwA== Date: Tue, 5 May 2020 12:04:07 +0000 Message-ID: References: <20200504215811.15951-1-akhil.goyal@nxp.com> <20200504215811.15951-2-akhil.goyal@nxp.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: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.182] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e5d4dc4f-3fc5-4515-cadb-08d7f0ec69c1 x-ms-traffictypediagnostic: SN6PR11MB2973: 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:6790; x-forefront-prvs: 0394259C80 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BcQzuXesL4dlfiU+/bdXojrr7y5yIIvUSpvy1jgAN+dHWhhdiKZKZ1ZGRu2RxMqjsHuU+jAN15WX7WEonmLABCdFlqZTMzzd9NNIjrDAJDoutJuW/6Xu9dI5EXtKbSHJGXvE1+EnXWuscqMzBK/LdD0uWWONsLuvkXuy/wS9c9lIwpzy6IjylntgpvR2VfGgLmp7ensCUKPcL1k88MtkJfvQs8pdPzOHHThcKRHpYP3UKEoBe6F67gXUYAN13aQVXynGc5b/44BxF+SMuFWy3xrmbti+OQl89rL+vePhHFJ0Ouz3C3tffzzFwaYQBTCO7ZsEemb2DNh6X7D9irRGgLHW4ampvjrnj54T4dWT0iz13FbD7kO8Thoal7Xg1rTMKG57S8LtDi1S7aTjS2uXciWF2cMIAusTC3GLk5GlmHKxwqdwbt/aGbbZ6Ity5SwxYdLkX7vdw/ChaI2sxYbJUdR46SuL45tc8BSA0DTotN4QujqdprZL+1AoyK0fD7Qbo3Uktjf3K9uhLtoyq2ScPg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2880.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(136003)(366004)(346002)(376002)(39860400002)(396003)(33430700001)(110136005)(316002)(7696005)(54906003)(33440700001)(5660300002)(71200400001)(86362001)(2906002)(76116006)(52536014)(186003)(66476007)(66446008)(26005)(8676002)(7416002)(64756008)(478600001)(66556008)(107886003)(8936002)(53546011)(66946007)(4326008)(6506007)(9686003)(55016002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: w2Y2vilidu7fTcVEcKnf3glEve2X3DYCVBqsSPMpf+uTgLAyYAP78jIXdKPwUgK7Z7fk28PY075xYwv1/RDAn0gPnXywAPBjmsH0lJb7agDParNk0yjMiSkENp1fvPXQNAxg6QEwxi1Kjxd8gzU7iw9WH2dn+q6vp4tBzTxxSw0pcokNtuecSOMD2OfHWOnTvxnMU8u05Exv1FUsNRSV1zyVBk7J3LVJoKH1nGYnt3qhl7qqLXjFXziphcjl06pdn3O1tFznjjV4qKVbMlan9mpn1qwdzxXkh8UMcHPlw14JFfLgksjr3erEL9ssMCtUhniXQu0r8621swEB9FfmEoY8ie6KW6/qLglDflpGBcj0PLu9l9CQL4JHAcXJ8AaBXaiUsKOHl0IDzlka8nJpGlFY9ZZE5YZJiyvyysqzKZlsALSGOZjS0qJz9ddzXbKAvDwKx4Uw0p4MAg+ciaEsKnUf6moHQ9TDPbHxRrve5xQJ5X2n4rsbpT40MWu8Xl+b8jlQ19K4HzM65xWpKFGckiEO9D/+qn7bJn2J5RCFdzrB7ITPfnF39cyyC5kj7uRsOpCWfykAN/cH+itONo0XRrqEdND2rc2YOVyymnHHFciZfvoPHVnZtLE8/TjgnjG1ZYljZpDWTV5wKtsKkWs4jGakSeW4Z4UoqSA6Srryr14FsASf0H7w/Uqjp/VMD4f3WXbzb9JktQBMSrPDL50MgDPAr6JVGnDwHKLPQJtQKZmwNX9AlVKQ4CPriy0VgAj3mqHYDVLkSsZ9OrcorAZPeeFGtnHM6UE7zhwxf6ItEROa9CBLlQ6N/AmIQPzPztNF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e5d4dc4f-3fc5-4515-cadb-08d7f0ec69c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 12:04:07.2561 (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: QjW0ic3X98O6ouOEq7VXSvarO0UxE7szrjBFF1vYzhSbGK36S957d7xn4Urrmqz/ojctgPXveu2qZ++5IqxVlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2973 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 1/9] cryptodev: add feature flag for non-byte aligned data 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 Akhil, > -----Original Message----- > From: Akhil Goyal > Sent: Tuesday, May 5, 2020 11:13 AM > To: Trahe, Fiona ; dev@dpdk.org > Cc: Ruifeng.Wang@arm.com; Doherty, Declan ; aso= malap@amd.com; > anoobj@marvell.com; Zhang, Roy Fan ; tdu@semihal= f.com; > rnagadheeraj@marvell.com; adwivedi@marvell.com; Gagandeep Singh ; Hemant > Agrawal ; jianjay.zhou@huawei.com; De Lara Guarch= , Pablo > > Subject: RE: [PATCH 1/9] cryptodev: add feature flag for non-byte aligned= data >=20 > Hi Fiona, > > > > Hi Akhil, > > > > > > > > Some wireless algos like SNOW, ZUC may support input > > > data in bits which are not byte aligned. However, not > > > all PMDs can support this requirement. Hence added a > > > new feature flag RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA > > > to identify which all PMDs can support non-byte aligned > > > data. > > [Fiona] I know it's a bit pedantic, but shouldn't this really be called > > NON_BYTE_MULTIPLE? > > > > As a non-byte-multiple data set could have its start byte-aligned, but = still not be > > supported. > > > The intention is to have both start as well as end to be byte aligned. > Is there some PMD which can support unaligned byte data but still multipl= es of byte? [Fiona] no, true - anything which can support non-byte-aligned can presumab= ly support non-byte-multiples. So I withdraw my suggestion. In that case: Acked-by: Fiona Trahe =20 > BTW I did not see any example in the current test cases which support una= ligned bytes data. >=20 > Regards, > Akhil