common/cnxk: support multi channel for SDP send queues
[dpdk.git] / drivers / common / cnxk / roc_nix_inl_priv.h
index b6d8602..0fa5e09 100644 (file)
@@ -3,6 +3,8 @@
  */
 #ifndef _ROC_NIX_INL_PRIV_H_
 #define _ROC_NIX_INL_PRIV_H_
+#include <pthread.h>
+#include <sys/types.h>
 
 struct nix_inl_dev {
        /* Base device object */
@@ -53,12 +55,25 @@ struct nix_inl_dev {
        /* CPT data */
        struct roc_cpt_lf cpt_lf;
 
+       /* OUTB soft expiry poll thread */
+       pthread_t soft_exp_poll_thread;
+       uint32_t soft_exp_poll_freq;
+       uint64_t *sa_soft_exp_ring;
+
+       /* Soft expiry ring bitmap */
+       struct plt_bitmap *soft_exp_ring_bmap;
+
+       /* bitmap memory */
+       void *soft_exp_ring_bmap_mem;
+
        /* Device arguments */
        uint8_t selftest;
        uint16_t channel;
        uint16_t chan_mask;
        bool is_multi_channel;
-       uint16_t ipsec_in_max_spi;
+       uint32_t ipsec_in_min_spi;
+       uint32_t ipsec_in_max_spi;
+       uint32_t inb_spi_mask;
        bool attach_cptlf;
        bool wqe_skip;
 };