[v3,2/3] crypto/ipsec_mb: provide type to per lcore macro
Checks
Commit Message
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 <roretzla@linux.microsoft.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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;