MCPcopy Create free account
hub / github.com/F-Stack/f-stack / enic_init_soft_stats

Function enic_init_soft_stats

dpdk/drivers/net/enic/enic_main.c:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110static void enic_init_soft_stats(struct enic *enic)
111{
112 struct enic_soft_stats *soft_stats = &enic->soft_stats;
113 rte_atomic64_init(&soft_stats->rx_nombuf);
114 rte_atomic64_init(&soft_stats->rx_packet_errors);
115 rte_atomic64_init(&soft_stats->tx_oversized);
116 enic_clear_soft_stats(enic);
117}
118
119int enic_dev_stats_clear(struct enic *enic)
120{

Callers 1

enic_setup_finishFunction · 0.85

Calls 2

enic_clear_soft_statsFunction · 0.85
rte_atomic64_initFunction · 0.50

Tested by

no test coverage detected