]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ef10.h
net/ice: support L4 for QinQ switch filter
[dpdk.git] / drivers / net / sfc / sfc_ef10.h
index ad4c1fdbef1a0c423e3dd57578e4a51d58587b1d..e9bb72e28b295e72b3e553c2bc452bc55295adc8 100644 (file)
@@ -99,7 +99,7 @@ sfc_ef10_ev_present(const efx_qword_t ev)
 
 static inline void
 sfc_ef10_rx_qpush(volatile void *doorbell, unsigned int added,
-                 unsigned int ptr_mask)
+                 unsigned int ptr_mask, uint32_t *dbell_counter)
 {
        efx_dword_t dword;
 
@@ -118,6 +118,7 @@ sfc_ef10_rx_qpush(volatile void *doorbell, unsigned int added,
         * operations that follow it (i.e. doorbell write).
         */
        rte_write32(dword.ed_u32[0], doorbell);
+       (*dbell_counter)++;
 }
 
 static inline void