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 <roret...@linux.microsoft.com>
---
 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

Reply via email to