net/sfc: add kvarg control for MAC statistics update period
[dpdk.git] / drivers / net / sfc / sfc.h
index 6aeeda5..ca39df0 100644 (file)
@@ -160,6 +160,8 @@ struct sfc_port {
        uint64_t                        *mac_stats_buf;
        efsys_mem_t                     mac_stats_dma_mem;
        boolean_t                       mac_stats_reset_pending;
+       uint16_t                        mac_stats_update_period_ms;
+       uint32_t                        mac_stats_update_generation;
 
        uint32_t                mac_stats_mask[EFX_MAC_STATS_MASK_NPAGES];
 };