net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / crypto / cnxk / cnxk_cryptodev_ops.h
index e521f07..ab0f00e 100644 (file)
@@ -40,7 +40,9 @@ struct cpt_inflight_req {
        void *mdata;
        uint8_t op_flags;
        void *qp;
-} __rte_aligned(16);
+} __rte_aligned(ROC_ALIGN);
+
+PLT_STATIC_ASSERT(sizeof(struct cpt_inflight_req) == ROC_CACHE_LINE_SZ);
 
 struct pending_queue {
        /** Array of pending requests */
@@ -120,8 +122,7 @@ void cnxk_ae_session_clear(struct rte_cryptodev *dev,
                           struct rte_cryptodev_asym_session *sess);
 int cnxk_ae_session_cfg(struct rte_cryptodev *dev,
                        struct rte_crypto_asym_xform *xform,
-                       struct rte_cryptodev_asym_session *sess,
-                       struct rte_mempool *pool);
+                       struct rte_cryptodev_asym_session *sess);
 void cnxk_cpt_dump_on_err(struct cnxk_cpt_qp *qp);
 
 static inline union rte_event_crypto_metadata *