From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20409A0093 for ; Thu, 17 Mar 2022 15:07:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEE774067B; Thu, 17 Mar 2022 15:07:03 +0100 (CET) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mails.dpdk.org (Postfix) with ESMTP id A40EE4067B for ; Thu, 17 Mar 2022 15:07:02 +0100 (CET) Received: by mail-ej1-f44.google.com with SMTP id bi12so11003373ejb.3 for ; Thu, 17 Mar 2022 07:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MzyxO0ePaoZqqVyK3kN0fozcxR831Kk7aQBVL49GKME=; b=oS9kbjHL8PSmHnFxmBknw9EVdGW8aIfVdw1ZE96/zooDhPBWlLcg/d72Fam2l6ybc1 2nSmvwujOnAFqEmIeXuZucRHKiA53QfdsWfArP0EaPo5x70BiiNtoQsHLaCgiw4ygdlQ qTJhKiQv9HQMWGGOjFdEl4vH7sh9gs/xMzXNVVQ9iZZ+Sy7N5ik8krezUF6MYisCt6O2 ULqNG/0TLll9wfIwdevc9RlUMRH+U1JGo6kmp/YcS8D5T7zNe5/JEbO3APQV75dhLCbs 1FfEti0/WsuGOv0U4Gj7grK+wHq/mZ1pmcsW2Gr3tWBKVNq0P5WrpodswmwSQo3ZtfX3 spHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MzyxO0ePaoZqqVyK3kN0fozcxR831Kk7aQBVL49GKME=; b=CyYGrf1tMoWpeW2L+2bO0qYMt4inKMl6k1viye2HstQGBmg6ZbLQ7ckSHZ1Vn+fYz0 7xYaON023hLyEFtDMHYUkIkgP1hotbWmEqd2nlTbU1YcHiaSs7WG7XPaug+wGsEFHs43 J+34F4GQpnLGkoOUxfvlGUoD935VqJZUGdkAfkDCTfNFtr4F5zdPtmNpji9qM2WRpDiI WcdphA5uwQVfiOYNOwuF+VvkWXBF+RzaZxVGULhKqnvgnf+29Pn3mWchExgzIyvm7LAa FgWutftHdGPQrE8IYca+y14Z4AtDf0/tTwslBhYBCMlqSpQVyjjkdI/ZSVNfnkgc1Yb6 huAw== X-Gm-Message-State: AOAM532As4A+IX4J4DKDFbt1cbNZfxSpt91Xm40aNR7xbgQJlMOTKj4z 31EKG6AKKQ4sayY9gXPw4l2d2seEZgw= X-Google-Smtp-Source: ABdhPJzuhvUvMz1NY72qTFg9lkA+Igg2NVJLqR7yUDvdoO5ZPpXcP2ZmzegI1BW3JG+8QBd94I4XMw== X-Received: by 2002:a17:907:8690:b0:6da:8436:2b94 with SMTP id qa16-20020a170907869000b006da84362b94mr4561496ejc.33.1647526021693; Thu, 17 Mar 2022 07:07:01 -0700 (PDT) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id n19-20020a1709067b5300b006ce36e2f6fdsm2437734ejo.159.2022.03.17.07.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 07:07:01 -0700 (PDT) From: luca.boccassi@gmail.com To: stable@dpdk.org Cc: david.marchand@redhat.com, christian.ehrhardt@canonical.com, Luca Boccassi Subject: [PATCH 20.11 v2] cryptodev: add backward-compatible enum Date: Thu, 17 Mar 2022 14:06:58 +0000 Message-Id: <20220317140658.945624-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220316122318.718039-1-luca.boccassi@gmail.com> References: <20220316122318.718039-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Luca Boccassi The enum was renamed to fix a typo in main, and backported. But in the stable release we want to keep backward compatibility when possible, so also define the old name so that both old and new code will work. Fixes: 7b5609a5a0e7 ("cryptodev: fix RSA key type name") Signed-off-by: Luca Boccassi --- Fixed order of comments for doxygen lib/librte_cryptodev/rte_crypto_asym.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_cryptodev/rte_crypto_asym.h b/lib/librte_cryptodev/rte_crypto_asym.h index 9c5bb9233a..d59e05323e 100644 --- a/lib/librte_cryptodev/rte_crypto_asym.h +++ b/lib/librte_cryptodev/rte_crypto_asym.h @@ -150,6 +150,8 @@ enum rte_crypto_rsa_priv_key_type { /**< RSA private key is in quintuple format * See rte_crypto_rsa_priv_key_qt */ + RTE_RSA_KET_TYPE_QT = RTE_RSA_KEY_TYPE_QT, + /**< Backward-compatible definition of old name */ }; /** -- 2.34.1