u32 stack_pg_ptrs;  /* No of ptrs per stack page */
        u32 stack_pg_bytes; /* Size of stack page */
        u16 qints; /* NPA_AF_CONST::QINTS */
+       u8 cache_lines; /*BATCH ALLOC DMA */
 };
 
 /* NPA AQ enqueue msg */
 
        rsp->stack_pg_ptrs = (cfg >> 8) & 0xFF;
        rsp->stack_pg_bytes = cfg & 0xFF;
        rsp->qints = (cfg >> 28) & 0xFFF;
+       if (!is_rvu_otx2(rvu)) {
+               cfg = rvu_read64(rvu, block->addr, NPA_AF_BATCH_CTL);
+               rsp->cache_lines = (cfg >> 1) & 0x3F;
+       }
        return rc;
 }
 
 #endif
        rvu_write64(rvu, block->addr, NPA_AF_NDC_CFG, cfg);
 
+       /* For CN10K NPA BATCH DMA set 35 cache lines */
+       if (!is_rvu_otx2(rvu)) {
+               cfg = rvu_read64(rvu, block->addr, NPA_AF_BATCH_CTL);
+               cfg &= ~0x7EULL;
+               cfg |= BIT_ULL(6) | BIT_ULL(2) | BIT_ULL(1);
+               rvu_write64(rvu, block->addr, NPA_AF_BATCH_CTL, cfg);
+       }
        /* Result structure can be followed by Aura/Pool context at
         * RES + 128bytes and a write mask at RES + 256 bytes, depending on
         * operation type. Alloc sufficient result memory for all operations.
 
 #define NPA_AF_AQ_DONE_INT_W1S          (0x0688)
 #define NPA_AF_AQ_DONE_ENA_W1S          (0x0690)
 #define NPA_AF_AQ_DONE_ENA_W1C          (0x0698)
+#define NPA_AF_BATCH_CTL               (0x06a0)
 #define NPA_AF_LFX_AURAS_CFG(a)         (0x4000 | (a) << 18)
 #define NPA_AF_LFX_LOC_AURAS_BASE(a)    (0x4010 | (a) << 18)
 #define NPA_AF_LFX_QINTS_CFG(a)         (0x4100 | (a) << 18)