From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id C5E1D5688 for ; Mon, 24 Oct 2016 18:22:20 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id d128so10582782wmf.0 for ; Mon, 24 Oct 2016 09:22:20 -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=koIRdlKfyV8tarh8iUGgkOsKPOfBNoOjjnxFtxQ97sc=; b=FJDdXhvpjlehlAJz6ctDOnHe30aHM1rkEUm8JbjdG0/9a1FFDAUfTtXCoEwTgW2MM9 N8tj0p/iEvxNGXnURKJXHn1B9p5DMAhUsY8FLbhJNi8TYb6zNbt1gmcA8uagazsVoBYw uBtDUDF83hdmSRQ0bFcDoAn+wcNGakHBHn8vEednEH+dee0dFNQ1aH3qAmhX0QlC1H09 FobkF1bdro0mfQ3HvikxVKosDrD7vWj4jxYcI9nwkbU344wFMyK+1kZZdk8d8Ay+18j7 +A5HtC49/RZ2P7W8laoN34RE6GfQnuqdm7SiPkKwPzU0ym0tpIpcdKYqbdCmZ0nNnVBQ UUVw== 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=koIRdlKfyV8tarh8iUGgkOsKPOfBNoOjjnxFtxQ97sc=; b=WEmsWGilmEpRi2gg44qMcY9qFRiSqZrwbH5Gm+052DsuteqDJBKniiHhn6YtExKM4O DAHJEKZfY6k3cfSfOd2D44JO/2mG45twhU2FLMvkRuJO4Us+FtyQBgnhWhyeTdQeR4hi nOTMte+fuFa+4+OHf/bX16cCdLFBsG1zvLa0zJh0w5R0fBxP6EtO/LYBSWTBS+dvBgPF DLdAmecTaM7/GUHrWbBWNIJxVvdFj+IsLypQv3Hj7BDX/kEaagew7t5Yl5pk7GJh16K6 3KV0TKOBZmCTWCKyMuwBneAHxivXKZPzCGFn2HhjFVidT2uRNV0J8fJ9msxJK3vZEZ0L eOxw== X-Gm-Message-State: ABUngvcvIjobPu+LaFlZL2oHQOpVVESFOM9maL5vnEHAicX3qDZnit7Evm/v0/FGNFmscg== X-Received: by 10.28.44.6 with SMTP id s6mr2926396wms.44.1477326140574; Mon, 24 Oct 2016 09:22:20 -0700 (PDT) Received: from linux-aag4.brocade.com (p548C914E.dip0.t-ipconnect.de. [84.140.145.78]) by smtp.gmail.com with ESMTPSA id 130sm15619078wmf.0.2016.10.24.09.22.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 09:22:19 -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, maxime.coquelin@redhat.com Date: Mon, 24 Oct 2016 12:22:23 -0400 Message-Id: <1477326143-4571-3-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1477326143-4571-1-git-send-email-jblunck@infradead.org> References: <1476956223-30308-1-git-send-email-jblunck@infradead.org> <1477326143-4571-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v2 3/3] 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: Mon, 24 Oct 2016 16:22:21 -0000 This registers the legacy names of the driver being renamed in commit 2f45703c17ac ("drivers: make driver names consistent"). Signed-off-by: Jan Blunck Tested-by: Pablo de Lara --- 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