VF Configuration#
VF Configuration
Functions | |
amdsmi_status_t | amdsmi_get_vf_info (amdsmi_vf_handle_t vf_handle, amdsmi_vf_info_t *config) |
Returns the configuration structure for a VF. More... | |
amdsmi_status_t | amdsmi_get_vf_data (amdsmi_vf_handle_t vf_handle, amdsmi_vf_data_t *info) |
Returns the data structure for a VF. More... | |
Detailed Description
Function Documentation
◆ amdsmi_get_vf_info()
amdsmi_status_t amdsmi_get_vf_info | ( | amdsmi_vf_handle_t | vf_handle, |
amdsmi_vf_info_t * | config | ||
) |
Returns the configuration structure for a VF.
- Parameters
-
[in] vf_handle Handle of the VF to query. [out] config Reference to structure with the current VF configuration. Must be allocated by user.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_vf_data()
amdsmi_status_t amdsmi_get_vf_data | ( | amdsmi_vf_handle_t | vf_handle, |
amdsmi_vf_data_t * | info | ||
) |
Returns the data structure for a VF.
- Parameters
-
[in] vf_handle Handle of the PF or VF to query. [out] info Reference to structure with the current VF data. Must be allocated by user.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail