From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0040.outbound.protection.outlook.com [104.47.41.40]) by dpdk.org (Postfix) with ESMTP id 5E9522BC5 for ; Wed, 7 Dec 2016 20:04:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3NySFOiKRRZpsIIwQwjd1d5QeKBkVs9Q7wmThQPT7lM=; b=Pz6dvF6xDQh+mHfIQ8n4ZfIrd/slQIO1c9ZFfuKEdBdD8BEjRbRoUeGqVR7/xD6wRiJya1OBvKy4+bAm5px0sJPEKqm5cFBBitO4WzaE8lxRmtt1/e19zLhbsdcqyqVXmINcp3MghBA4RdEkJnYxhmI1uKp0ciFZeobwYourQr4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from [10.0.0.33] (31.172.191.173) by BLUPR07MB545.namprd07.prod.outlook.com (10.141.205.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Wed, 7 Dec 2016 19:04:10 +0000 To: Thomas Monjalon , References: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-3-git-send-email-zbigniew.bodek@caviumnetworks.com> <4126251.ynkckbu1rM@xps13> CC: , , , From: Zbigniew Bodek Message-ID: <2cec934f-b645-be28-8e82-a271692260d0@caviumnetworks.com> Date: Wed, 7 Dec 2016 20:04:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <4126251.ynkckbu1rM@xps13> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: AM5PR0202CA0021.eurprd02.prod.outlook.com (10.173.87.31) To BLUPR07MB545.namprd07.prod.outlook.com (10.141.205.15) X-MS-Office365-Filtering-Correlation-Id: fae3bf22-a0b0-4b7e-5946-08d41ed3d48e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BLUPR07MB545; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB545; 3:sCnheDV5Tg8cJ1/9n0hcFZ7DGiQkJDKaryouK9bTG3CGRIuvtihPlkBHqMrzbG7x45oCqQbKyuwXy5jHFUgzA1hjLwXw2AgThmzgiQrUE+yqbmfiAgHokaPAxFrmXqCET5oePZ2018KfGZbsprGWO84l0cub1bpCTVE662yeG3sXYY+AWd8ioJxXxn4CXn4KgvntkM4TaAe2KTcdMLom2op97Wx9KRSnNx7KmklC2ktwnpuRdhKitOng0OSJXDR5hza/eDLvRD6tbWMyujBxmA== X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB545; 25:AYH0LZCKul54pMCC+1j9M4IP1RUSy1KuU/de48M8ijWsdtR8tT38JtsZrMx3RCuLlccXQNxVWut6YTwnISIXKyABuIW4X5PX2+M6k5wqE0/tWb6yweepxDCAjtAgXV15IPiI9K7+RUiyLInSktK4j4eqit4r6rO+MvIVoLYjtvp/yS6vVGQB3Eh9owQ4pvKc8WfjlGxp8lENqgIfeDnGGn/ighu3xLdJEPPqg+zODjRVS0BgwjSZ934CBqDPkhILVpAuKRs1FcpSBzkeGzq9IC+OExGot3VycLnDx4ojoH1cXbcXvDvpZbJLCdmfZax0jrxmijxUyaaz9OeZzAV0XsJejv3teu/YmgDIz03N/g1fBgO4BQ+Cp8U9Pm8kVAeAY5KFdZiypN5g4A0spc5yN9In3CLqgkCCd+GONuWemjKCcqabtgS3SJkoxC7Cps+R9ZAX9welXyJWoKErfQ+WxpN0vSneiiOLDg5dNg4nGIycdGi7BdahjRTae4cftT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dyORDUoZ+qpLbz7NUbBEikAWd47yiTYmj78hiEjLrjHtHNsWG2JY2/xWTZXHbJEf3dquzLHT1rV5OinqHZkNejsisiEAxnktn+0vpczELjyCyum38DGd1rpGdCyL6C/H3FnUmrGwbbXrIIm1d25t9H/8fpA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:BLUPR07MB545; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB545; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB545; 4:F9eK5L/mu9b5a4i+7nIqnyJ+a41HJQ3ppl/UlFkRLQ0es4u1ksT7bX5gDPxj4jfXA42MPs2iKtp26pKCRTYYva2C6AKTtd+434c8TyHCaIimnyeS9G8WctZ+qouTNEXSzknAF+GA/UhPEts37D2fs9L9Xc6xYgiDXB9tVjwapcTTxb8WJ7n1/Dab5d44Ii5aF8En7D/uQkwuBOv4Aw3pcl51wJnrMzVpSp7dz7FQAGLesi6VbZ4LZo7zRg63k5QyGx8YyVciMofZjPL3LlN0EyWVYl09faOzBN7vkdDMk8/sNScTD+R5fNaRUqWDYCiqyXt7bDQ47CulaqrFv6FQEp1G03bWGUP+YSHOzemaqLrgiHx44/S5ZSrkJXlKvCFOgq/wsYNMXynLv2gVqCNOHqI8z+S1DN1ATYJJySY5Ed58Qzj4IJn5KWgBwuYRwXc8nGo5b7/rPRfkVlJZPv5M3MrGOplgyQxZEcr/KAfkCtf4JhUmCYWs2wvHusFBu8aZoa1LXNd7Tss0Pc6pyzUhsgCwPvh3GuZxwkyhmI2DU2Q4JQCunDoMq7GiSQiBq8Z62pkEwo1vqS3Y3Nvn7c8mdw== X-Forefront-PRVS: 01494FA7F7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(39850400002)(39410400002)(39450400003)(39840400002)(199003)(377424004)(189002)(24454002)(2950100002)(83506001)(42882006)(189998001)(31686004)(33646002)(65806001)(47776003)(230700001)(42186005)(65956001)(66066001)(6666003)(36756003)(6486002)(77096006)(5001770100001)(733004)(50466002)(90366009)(4001350100001)(229853002)(64126003)(97736004)(38730400001)(4326007)(5660300001)(65826007)(92566002)(106356001)(50986999)(54356999)(2906002)(76176999)(7736002)(3846002)(7846002)(105586002)(23746002)(93886004)(6116002)(68736007)(101416001)(31696002)(305945005)(8676002)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB545; H:[10.0.0.33]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR07MB545; 23:KIRqyoSISyNWtjBek9lwapYQ1juR0SAl/nmtkv?= =?Windows-1252?Q?ZTkcodZIYPy68vp6f4IZO+pHeQCvpKKF4sEH8mErXe3okx7DlIZ2tqbP?= =?Windows-1252?Q?IQadcsPQasyEg1RJklG31wq5fdhF6X29zSWiP6EbzDCvTtXxxsFVNs7G?= =?Windows-1252?Q?cYfwrYwxwg3I+ShVhzUlWrdbkOPDGUof9vtWNSgTYKnOg9PqEw1mVix/?= =?Windows-1252?Q?NZm/rcQ7/Yyn3pRPwxD4OZCX1FjCLyWt+xN0O2V/9ryqixXw4qDIAdNN?= =?Windows-1252?Q?Fcc06w59Kmhm6kmnh9akmFgMBtmCEhDobjlgD/367ieupWxkjlJQwexP?= =?Windows-1252?Q?JFRJGvm4Pymq7kKyP79pnyotPSaNPbi5V+ToIa8DTL9g8c6O9zL3vxHy?= =?Windows-1252?Q?LIIB94wH8tJpYrGqpOL498pTQVr/M7H2MmP8SRGtMJzbGq1rIKBjslRh?= =?Windows-1252?Q?uL+SS5UUBH5g18IjERKP9hvMl1aiIuosNRy7IHi5ETCTOK0NTz8TWRKa?= =?Windows-1252?Q?8Pc/y3UDZtKI+o3MhUDLvl1pKopIbgakkr65PhVIJFHpONjc9XmHRphv?= =?Windows-1252?Q?43iKqsH6CmbkuaZq3v+hZ18tjzTIcZCoG8AGR63+i42xN5WEcldP59m8?= =?Windows-1252?Q?N9VeWBHqsx3gqj6K1SE5bT/PKFX4pfdB5OUZE7vwMvkSrBxoIZ/j4nXL?= =?Windows-1252?Q?vH83uizJa3MC+21Jf+CPd2hxK/vd1upJcIYC6tcUoJWCXf07lSqP1n1d?= =?Windows-1252?Q?S1sdDotP+a0qpC4arAsOkcGAZthlm5qhS3ceLeDN53uRP3uibzc9qyXJ?= =?Windows-1252?Q?58k9xO9pjkF/exusUVk0pXBeurCAkOaS9EPOGW2lVV8BpfThgD1GtKl8?= =?Windows-1252?Q?M/8ISbvZLTvAp9SwZNu2Jy76lXe4jJxWV50AgioP+f4vRCfNFA+BIEJJ?= =?Windows-1252?Q?AZQRDsbYinv4j8rRyVVQdHjHZQmUfXxuUqXZJnSzdLwrfWvWWbnspT3M?= =?Windows-1252?Q?2AGkb4DsChTEEwWJImi0pvn3y1Lp+DPXUNOnGvf5gC8gWS40+t3/eBHC?= =?Windows-1252?Q?GCnKCBMjlI9dxJt3hcNs26qbifem2kBrJU/+3xaKd1Ss41twQsCclpcw?= =?Windows-1252?Q?OwW4H91eYc7ImmB3Pm/IXQ7Xfmj1cR5aHNHhx/WzPxiKqsMrUhpd1KKe?= =?Windows-1252?Q?XpxjurDDj3hqYrBRrcTOuT+05Mg1MvRAzkMuzvgvVezeZbnz6WjSXQhb?= =?Windows-1252?Q?Vc90ScolIMzT+kA8ofbq0PJkJ8ENA0yv/gkHJwQI97yWMKewAFDeZvdA?= =?Windows-1252?Q?99b0oGTwtsX8RtXOXsvl6QWY7JWnPa/84FkgAxoQZ6zZjkgf7bFn0WL2?= =?Windows-1252?Q?vW30l9o05YHX48n+XlqtKN5uPtHWTeveJZwY7lo5rZf8wRoS2pnMePDk?= =?Windows-1252?Q?SPc5OM/HisUg5iCMWwOt2KyTU9NedezXPMAzKhBxC08SEe+wHiVwnWfL?= =?Windows-1252?Q?h9CqTie4H3VOhuHPl85RGYep+5gVLQKOHWLWNMjZ/GjmfxQ0sRrza9u4?= =?Windows-1252?Q?9VlBZ0cNl1k9w=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB545; 6:Rsz5qfDD3ZaIRbB1hF6hXdO2cuj4z8/79R/nnDTF8Ui4chxfZMmcwq+jN4z+fGzt7QmthfDmfEGUpxX9Alvr3XQgM7/ejwtoyrS+d+MLZb+2W7agQ826Fx3Ed8K1F84keaqi3T8w6xgU6jBI88ja9tQRWlK6GEj3B0xiHNWWkc0s3mDXY1mRLJsSjkrLAW6wW1e7AFyrH7twr7FDXyPPQYFwcG4J9gIgsyj8MdsYfj1jsR/u0jrBih1uptVtXrNbn54qmjS+06cAzPclH3ELSEedygR7qS5h2x+5RnV9FDMS24SnnjVT9NpdDrUzPsIGXgdnvzKUxofqWA6SVcmj4GKFwYwXW73gaFKkRxkX+LnGRfxelic9TGXUSBNLt6GRXh26qAPOgkSejvCmVtqZmKtzQ3Qory4XNOlaRzYX6nM=; 5:+ElycJl44sM+XsQt+5zImjvHJiUlbd9I7pzmMYxh3lHUWotUWxMM9P3fGjkjknWNq1ulbP5y/alKmiPF4255+Am1tTuqjX3U7w9qhSJLhb93DaKCaySntTtFH/MOkHiF2EgMxuPq8gXEazvFhBFHkQ==; 24:3IA6qguCOBR9uAYf59Q2QQ+i76U9ImA/n/4GiwibSJgg8v44Vni1gy6b+HIymOgXP14Jf9uPYtBxTrxPc3NhqyyaK6pKmdw27HIjMzd5aYw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB545; 7:WH3dBPTjUFOmPJzngMa523g5teHX+MF+6Nl2F/O4ZM9OYvyXjzpLposx5yzJ6oAm+22omBP5cyZWWCgVFbpQed+T65dknVxemMC92dxKcKBs/f/fEYQORNpYsHFoX5S2TGI3zKD6dbn22AN7EFWdDUNE5AqTrsVAjY9fp0MUDjQCMmCbMCaWrFMkHzSyHn+GgDNf70dJBMgfzkV5Bo1saL/bXbSxNpRB1q3scVQQzl4oqE9NgWFQvU6vOVfaksq9voCH755UwRZsj2ZsNcy+v7Ed3HJ1m5ZjyM5csTktozZrq/m0y7wY5NLmnRmcKj+pwJxpe/90tAsDVwoiPhPsj4Ia+jvtarFXwTaSvcXAg4ricPHpkgU49AASnRj/+EEFZDtzlFlAj0CjGpSypZVAFBhQQGCQu9RUz6DeKrppGLdFPdAAxXPvJDZvcZ3sUvpJWa/IxmJgpy/TmFKYMTIj8A== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2016 19:04:10.9776 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB545 Subject: Re: [dpdk-dev] [PATCH v2 02/12] lib: add cryptodev type for the upcoming ARMv8 PMD 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: , X-List-Received-Date: Wed, 07 Dec 2016 19:04:13 -0000 On 06.12.2016 21:27, Thomas Monjalon wrote: > 2016-12-06 18:32, zbigniew.bodek@caviumnetworks.com: >> From: Zbigniew Bodek >> >> Add type and name for ARMv8 crypto PMD >> >> Signed-off-by: Zbigniew Bodek > [...] >> --- a/lib/librte_cryptodev/rte_cryptodev.h >> +++ b/lib/librte_cryptodev/rte_cryptodev.h >> @@ -66,6 +66,8 @@ >> /**< KASUMI PMD device name */ >> #define CRYPTODEV_NAME_ZUC_PMD crypto_zuc >> /**< KASUMI PMD device name */ >> +#define CRYPTODEV_NAME_ARMV8_PMD crypto_armv8 >> +/**< ARMv8 CM device name */ >> >> /** Crypto device type */ >> enum rte_cryptodev_type { >> @@ -77,6 +79,7 @@ enum rte_cryptodev_type { >> RTE_CRYPTODEV_KASUMI_PMD, /**< KASUMI PMD */ >> RTE_CRYPTODEV_ZUC_PMD, /**< ZUC PMD */ >> RTE_CRYPTODEV_OPENSSL_PMD, /**< OpenSSL PMD */ >> + RTE_CRYPTODEV_ARMV8_PMD, /**< ARMv8 crypto PMD */ >> }; > > Can we remove all these types and names in the generic crypto API? > Hello Thomas, I added another PMD type and therefore we need new, unique number for it. I'm not sure if I understand correctly what you mean here, so please elaborate. Kind regards Zbigniew