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 2281B43801; Wed, 3 Jan 2024 00:45:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B7EB1402BC; Wed, 3 Jan 2024 00:45:04 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E0795402A3 for ; Wed, 3 Jan 2024 00:45:03 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 3999320ACEEB; Tue, 2 Jan 2024 15:45:03 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3999320ACEEB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1704239103; bh=ljbViOGwfLiZTqhVmSu+82km+g3N2eLdX3duRToqVO0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lZgThMmQAssEecqANfek79D+rJenPugyRzcGo0rZKhCP7ou41ion3kaY1Alwh2gWM QTWXohxcEDaEP512mr/QwnBRZ39Ck/7e+8PqzBJQnyuJAXXnu6nNA2cTPuc2PpVNKo b4C8uCGTL++Yga7kBRUcRNS6rNpKc9tD8fbdJhBw= From: Tyler Retzlaff To: dev@dpdk.org Cc: Kai Ji , Pablo de Lara , Tyler Retzlaff Subject: [PATCH v2 2/3] crypto/ipsec_mb: provide type to per lcore macro Date: Tue, 2 Jan 2024 15:45:01 -0800 Message-Id: <1704239102-31044-3-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1704239102-31044-1-git-send-email-roretzla@linux.microsoft.com> References: <1703006864-27378-1-git-send-email-roretzla@linux.microsoft.com> <1704239102-31044-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Adjust the use of per lcore macro to provide type as the first argument as to not require __typeof__ during expansion. Signed-off-by: Tyler Retzlaff --- drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h b/drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h index 55a0416..8a5a41f 100644 --- a/drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h +++ b/drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h @@ -130,7 +130,7 @@ struct aesni_gcm_ops { aesni_gmac_finalize_t gmac_finalize; }; -RTE_DEFINE_PER_LCORE(struct aesni_gcm_ops[GCM_NUM_KEY_TYPES], gcm_ops); +RTE_DEFINE_PER_LCORE(struct aesni_gcm_ops, gcm_ops[GCM_NUM_KEY_TYPES]); struct aesni_gcm_qp_data { struct gcm_context_data gcm_ctx_data; -- 1.8.3.1