FreeBSD/sys/dev/ixl/ixlvc.c
/*
** ixlv_enable_queues
**
** Request that the PF enable all of our queues.
*/
ixlv_enable_queues
Request that the PF enable all of our queues.
ixlv_enable_queues Request that the PF enable all of our queues .
void
ixlv_enable_queues(struct ixlv_sc *sc)
{
	struct i40e_virtchnl_queue_select vqs;
	vqs.vsi_id = sc->vsi_res->vsi_id;
	vqs.tx_queues = (1 << sc->vsi_res->num_queue_pairs) - 1;
	vqs.rx_queues = vqs.tx_queues;
	ixlv_send_pf_msg(sc, I40E_VIRTCHNL_OP_ENABLE_QUEUES,
			   (u8 *)&vqs, sizeof(vqs));
}
void ixlv_enable_queues ( struct ixlv_sc * sc ) { struct i40e_virtchnl_queue_select vqs ; vqs . vsi_id = sc -> vsi_res -> vsi_id ; vqs . tx_queues = ( 1 << sc -> vsi_res -> num_queue_pairs ) - 1 ; vqs . rx_queues = vqs . tx_queues ; ixlv_send_pf_msg ( sc , I40E_VIRTCHNL_OP_ENABLE_QUEUES , ( u8 * ) & vqs , sizeof ( vqs ) ) ; }
ixlv_enable_queues
Request that the PF enable all of our queues.
ixlv_enable_queues Request that the PF enable all of our queues .