FreeBSD/sys/dev/ixl/ixl_pf_main.c
/**
 * Resets all stats of the given vsi
 **/
Resets all stats of the given vsi
Resets all stats of the given vsi
void
ixl_vsi_reset_stats(struct ixl_vsi *vsi)
{
	bzero(&vsi->eth_stats, sizeof(struct i40e_eth_stats));
	bzero(&vsi->eth_stats_offsets, sizeof(struct i40e_eth_stats));
	vsi->stat_offsets_loaded = false;
}
void ixl_vsi_reset_stats ( struct ixl_vsi * vsi ) { bzero ( & vsi -> eth_stats , sizeof ( struct i40e_eth_stats ) ) ; bzero ( & vsi -> eth_stats_offsets , sizeof ( struct i40e_eth_stats ) ) ; vsi -> stat_offsets_loaded = false ; }
Resets all stats of the given vsi
Resets all stats of the given vsi