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

Function enic_dev_stats_clear

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

Source from the content-addressed store, hash-verified

117}
118
119int enic_dev_stats_clear(struct enic *enic)
120{
121 int ret;
122
123 ret = vnic_dev_stats_clear(enic->vdev);
124 if (ret != 0) {
125 dev_err(enic, "Error in clearing stats\n");
126 return ret;
127 }
128 enic_clear_soft_stats(enic);
129
130 return 0;
131}
132
133int enic_dev_stats_get(struct enic *enic, struct rte_eth_stats *r_stats)
134{

Callers 1

enicpmd_dev_stats_resetFunction · 0.85

Calls 2

vnic_dev_stats_clearFunction · 0.85
enic_clear_soft_statsFunction · 0.85

Tested by

no test coverage detected