FreeBSD/sys/dev/ixl/ixlvc.c
/*
** ixlv_send_api_ver
**
** Send API version admin queue message to the PF. The reply is not checked
** in this function. Returns 0 if the message was successfully
** sent, or one of the I40E_ADMIN_QUEUE_ERROR_ statuses if not.
*/
ixlv_send_api_ver
Send API version admin queue message to the PF. The reply is not checked
in this function. Returns 0 if the message was successfully
sent, or one of the I40E_ADMIN_QUEUE_ERROR_ statuses if not.
ixlv_send_api_ver Send API version admin queue message to the PF . The reply is not checked in this function . Returns 0 if the message was successfully sent or one of the I40E_ADMIN_QUEUE_ERROR_ statuses if not .
int
ixlv_send_api_ver(struct ixlv_sc *sc)
{
	struct i40e_virtchnl_version_info vvi;
	vvi.major = I40E_VIRTCHNL_VERSION_MAJOR;
	vvi.minor = I40E_VIRTCHNL_VERSION_MINOR;
	return ixlv_send_pf_msg(sc, I40E_VIRTCHNL_OP_VERSION,
	    (u8 *)&vvi, sizeof(vvi));
}
int ixlv_send_api_ver ( struct ixlv_sc * sc ) { struct i40e_virtchnl_version_info vvi ; vvi . major = I40E_VIRTCHNL_VERSION_MAJOR ; vvi . minor = I40E_VIRTCHNL_VERSION_MINOR ; return ixlv_send_pf_msg ( sc , I40E_VIRTCHNL_OP_VERSION , ( u8 * ) & vvi , sizeof ( vvi ) ) ; }
ixlv_send_api_ver
Send API version admin queue message to the PF.
ixlv_send_api_ver Send API version admin queue message to the PF .