git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/sfc: add kvarg control for MAC statistics update period
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc.h
diff --git
a/drivers/net/sfc/sfc.h
b/drivers/net/sfc/sfc.h
index
6aeeda5
..
ca39df0
100644
(file)
--- a/
drivers/net/sfc/sfc.h
+++ b/
drivers/net/sfc/sfc.h
@@
-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];
};