crypto/mlx5: add keytag configuration
[dpdk.git] / drivers / raw / ioat / ioat_private.h
index a74bc04..f032d5f 100644 (file)
@@ -21,7 +21,7 @@
 extern int ioat_pmd_logtype;
 
 #define IOAT_PMD_LOG(level, fmt, args...) rte_log(RTE_LOG_ ## level, \
-               ioat_pmd_logtype, "%s(): " fmt "\n", __func__, ##args)
+               ioat_pmd_logtype, "IOAT: %s(): " fmt "\n", __func__, ##args)
 
 #define IOAT_PMD_DEBUG(fmt, args...)  IOAT_PMD_LOG(DEBUG, fmt, ## args)
 #define IOAT_PMD_INFO(fmt, args...)   IOAT_PMD_LOG(INFO, fmt, ## args)
@@ -30,8 +30,10 @@ extern int ioat_pmd_logtype;
 
 struct idxd_pci_common {
        rte_spinlock_t lk;
+
+       uint8_t wq_cfg_sz;
        volatile struct rte_idxd_bar0 *regs;
-       volatile struct rte_idxd_wqcfg *wq_regs;
+       volatile uint32_t *wq_regs_base;
        volatile struct rte_idxd_grpcfg *grp_regs;
        volatile void *portals;
 };