FreeBSD/sys/dev/ixl/ixlvc.c
/*
** ixlv_request_stats
** Request the statistics for this VF's VSI from PF.
*/
ixlv_request_stats
Request the statistics for this VF's VSI from PF.
ixlv_request_stats Request the statistics for this VF ' s VSI from PF .
void
ixlv_request_stats(struct ixlv_sc *sc)
{
	struct i40e_virtchnl_queue_select vqs;
	int error = 0;
	vqs.vsi_id = sc->vsi_res->vsi_id;
	error = ixlv_send_pf_msg(sc, I40E_VIRTCHNL_OP_GET_STATS,
	    (u8 *)&vqs, sizeof(vqs));
#ifdef IXL_DEBUG
	if (error)
		device_printf(sc->dev, "Error sending stats request to PF: %d\n", error);
#endif
}
void ixlv_request_stats ( struct ixlv_sc * sc ) { struct i40e_virtchnl_queue_select vqs ; int error = 0 ; vqs . vsi_id = sc -> vsi_res -> vsi_id ; error = ixlv_send_pf_msg ( sc , I40E_VIRTCHNL_OP_GET_STATS , ( u8 * ) & vqs , sizeof ( vqs ) ) ; #ifdef IXL_DEBUG if ( error ) device_printf ( sc -> dev , " \n " , error ) ; #endif }
ixlv_request_stats
Request the statistics for this VF's VSI from PF.
ixlv_request_stats Request the statistics for this VF ' s VSI from PF .
/* Low priority, we don't need to error check */