uint32_t nonce;
uint64_t iv;
uint32_t cnt;
-} __attribute__((packed));
+} __rte_packed;
/*
* AES-GCM devices have some specific requirements for IV and AAD formats.
uint32_t salt;
uint64_t iv;
uint32_t cnt;
-} __attribute__((packed));
+} __rte_packed;
struct aead_gcm_aad {
uint32_t spi;
uint64_t u64;
} sqn;
uint32_t align0; /* align to 16B boundary */
-} __attribute__((packed));
+} __rte_packed;
struct gcm_esph_iv {
struct rte_esp_hdr esph;
uint64_t iv;
-} __attribute__((packed));
+} __rte_packed;
static inline void
aes_ctr_cnt_blk_fill(struct aesctr_cnt_blk *ctr, uint64_t iv, uint32_t nonce)