Home
last modified time | relevance | path

Searched refs:vvi (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_virtchnl.c782 struct virtchnl2_version_info vvi; in idpf_send_ver_msg() local
788 vvi.major = cpu_to_le32(adapter->virt_ver_maj); in idpf_send_ver_msg()
789 vvi.minor = cpu_to_le32(adapter->virt_ver_min); in idpf_send_ver_msg()
791 vvi.major = cpu_to_le32(IDPF_VIRTCHNL_VERSION_MAJOR); in idpf_send_ver_msg()
792 vvi.minor = cpu_to_le32(IDPF_VIRTCHNL_VERSION_MINOR); in idpf_send_ver_msg()
796 xn_params.send_buf.iov_base = &vvi; in idpf_send_ver_msg()
797 xn_params.send_buf.iov_len = sizeof(vvi); in idpf_send_ver_msg()
804 if (reply_sz < sizeof(vvi)) in idpf_send_ver_msg()
807 major = le32_to_cpu(vvi.major); in idpf_send_ver_msg()
808 minor = le32_to_cpu(vvi.minor); in idpf_send_ver_msg()
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c45 struct virtchnl_version_info vvi; in iavf_send_api_ver() local
47 vvi.major = VIRTCHNL_VERSION_MAJOR; in iavf_send_api_ver()
48 vvi.minor = VIRTCHNL_VERSION_MINOR; in iavf_send_api_ver()
50 return iavf_send_pf_msg(adapter, VIRTCHNL_OP_VERSION, (u8 *)&vvi, in iavf_send_api_ver()
51 sizeof(vvi)); in iavf_send_api_ver()