FreeBSD/sys/dev/ixl/ixl_pf_main.c
/**
 * Reset all of the stats for the given pf
 **/
Reset all of the stats for the given pf
Reset all of the stats for the given pf
void
ixl_pf_reset_stats(struct ixl_pf *pf)
{
	bzero(&pf->stats, sizeof(struct i40e_hw_port_stats));
	bzero(&pf->stats_offsets, sizeof(struct i40e_hw_port_stats));
	pf->stat_offsets_loaded = false;
}
void ixl_pf_reset_stats ( struct ixl_pf * pf ) { bzero ( & pf -> stats , sizeof ( struct i40e_hw_port_stats ) ) ; bzero ( & pf -> stats_offsets , sizeof ( struct i40e_hw_port_stats ) ) ; pf -> stat_offsets_loaded = false ; }
Reset all of the stats for the given pf
Reset all of the stats for the given pf