From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by dpdk.org (Postfix) with ESMTP id 69FD12A6C for ; Fri, 21 Oct 2016 13:22:58 +0200 (CEST) Received: by mail-qk0-f193.google.com with SMTP id f128so6755495qkb.0 for ; Fri, 21 Oct 2016 04:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=HAu0ppP7ByZvtUrznzSItuxF6TeBOzwiVyEEgiqtlW8=; b=bJxI6o4bjvyK3DkVjx9epV+D51py+80sjvTcVDaO+7tznDWLvOajQT40N3c0vihX2X Q5QtZJgfNbniax3y6RjKDUOrGDcCd7PXibsobFBtxD6SgWAXJiFXdutIGHFf+4U65IZz 4hu6SXhrE0axBo6dpkMYv5u8RoDNJD099v+h2onWrL0q1BK7KnVBzglrdAOXcUgyw1Th tLdINiqiL1DOgqF/Rf2XWalFy+C3khq+aH2aIXQD8+w/E0+yYevL66HtgGF1cbjMIoJn DogfgR+7DLvRUPP6NAstZ+z8Oc8vjjhgZrvGxd0ab5LoJK3m2U/Hc4ZwfR57lTPi6A5N sIZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=HAu0ppP7ByZvtUrznzSItuxF6TeBOzwiVyEEgiqtlW8=; b=R0UJN0D/xRXjjF4qzUuuunxexrxtT2H7Q8S09urDaiPGst8Z0sFRl7FCrOQWBhVLzg pGKlS8HfY3j3vChaHYrPr2UrWCRQsRHLwsQO0NZF1jVia2RmTZhaPKNknWE72kSN7RWs l8wYRTvtCGqG8W1XSr+bKPFLdi597RhibFa9jBX8ISOvJpMXmxcrO6cLHhg4uOL2k0ge Zt7n9XaE7qyJSttixeCwPHExOdl5vFwjMCsyl7z3BKEv7xx0Ujw73Dj3+71kFEkNuA3K 9ROrYo6B9ETrePlfTkce5lYmxPh2Ym2S2Q8TnUfp9cSElgGFedU/c7LdQnnWqpyHi/ui xdaQ== X-Gm-Message-State: ABUngvdWSN/aBSst9jQDKijwHjW5RDE4d12xTA+2CHnOrDIfnqdO2oxwMhtZ/FfxFXiXzQ== X-Received: by 10.194.7.234 with SMTP id m10mr355041wja.6.1477048977565; Fri, 21 Oct 2016 04:22:57 -0700 (PDT) Received: from linux.local ([31.216.236.195]) by smtp.gmail.com with ESMTPSA id 135sm3627358wmq.8.2016.10.21.04.22.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Oct 2016 04:22:56 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, thomas.monjalon@6wind.com, yuanhan.liu@linux.intel.com, john.mcnamara@intel.com Date: Fri, 21 Oct 2016 07:22:56 -0400 Message-Id: <1477048976-18561-1-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.6.6 In-Reply-To: References: Subject: [dpdk-dev] [PATCH] drivers: register aliases for renamed cryptodev drivers 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: Fri, 21 Oct 2016 11:22:58 -0000 This registers the legacy names of the driver being renamed in commit 2f45703c17acb943aaded9f79676fd56a72542b2. Signed-off-by: Jan Blunck --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 1 + drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 1 + drivers/crypto/kasumi/rte_kasumi_pmd.c | 1 + drivers/crypto/null/null_crypto_pmd.c | 1 + drivers/crypto/snow3g/rte_snow3g_pmd.c | 1 + 5 files changed, 5 insertions(+) diff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c index 0b3fd09..dba5e15 100644 --- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c +++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c @@ -529,6 +529,7 @@ static struct rte_vdev_driver aesni_gcm_pmd_drv = { }; RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_AESNI_GCM_PMD, aesni_gcm_pmd_drv); +RTE_PMD_REGISTER_ALIAS(CRYPTODEV_NAME_AESNI_GCM_PMD, cryptodev_aesni_gcm_pmd); RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_GCM_PMD, "max_nb_queue_pairs= " "max_nb_sessions= " diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c index b936735..f07cd07 100644 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c @@ -720,6 +720,7 @@ static struct rte_vdev_driver cryptodev_aesni_mb_pmd_drv = { }; RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_AESNI_MB_PMD, cryptodev_aesni_mb_pmd_drv); +RTE_PMD_REGISTER_ALIAS(CRYPTODEV_NAME_AESNI_MB_PMD, cryptodev_aesni_mb_pmd); RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_MB_PMD, "max_nb_queue_pairs= " "max_nb_sessions= " diff --git a/drivers/crypto/kasumi/rte_kasumi_pmd.c b/drivers/crypto/kasumi/rte_kasumi_pmd.c index 11bbf80..b119da2 100644 --- a/drivers/crypto/kasumi/rte_kasumi_pmd.c +++ b/drivers/crypto/kasumi/rte_kasumi_pmd.c @@ -656,6 +656,7 @@ static struct rte_vdev_driver cryptodev_kasumi_pmd_drv = { }; RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_KASUMI_PMD, cryptodev_kasumi_pmd_drv); +RTE_PMD_REGISTER_ALIAS(CRYPTODEV_NAME_KASUMI_PMD, cryptodev_kasumi_pmd); RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_KASUMI_PMD, "max_nb_queue_pairs= " "max_nb_sessions= " diff --git a/drivers/crypto/null/null_crypto_pmd.c b/drivers/crypto/null/null_crypto_pmd.c index a7d3600..c69606b 100644 --- a/drivers/crypto/null/null_crypto_pmd.c +++ b/drivers/crypto/null/null_crypto_pmd.c @@ -274,6 +274,7 @@ static struct rte_vdev_driver cryptodev_null_pmd_drv = { }; RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_NULL_PMD, cryptodev_null_pmd_drv); +RTE_PMD_REGISTER_ALIAS(CRYPTODEV_NAME_NULL_PMD, cryptodev_null_pmd); RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_NULL_PMD, "max_nb_queue_pairs= " "max_nb_sessions= " diff --git a/drivers/crypto/snow3g/rte_snow3g_pmd.c b/drivers/crypto/snow3g/rte_snow3g_pmd.c index a794251..3b4292a 100644 --- a/drivers/crypto/snow3g/rte_snow3g_pmd.c +++ b/drivers/crypto/snow3g/rte_snow3g_pmd.c @@ -644,6 +644,7 @@ static struct rte_vdev_driver cryptodev_snow3g_pmd_drv = { }; RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_SNOW3G_PMD, cryptodev_snow3g_pmd_drv); +RTE_PMD_REGISTER_ALIAS(CRYPTODEV_NAME_SNOW3G_PMD, cryptodev_snow3g_pmd); RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_SNOW3G_PMD, "max_nb_queue_pairs= " "max_nb_sessions= " -- 2.6.6