@@ -28,65 +28,36 @@ etors:
2828 value : " $X_MAKE_VERSION( 1, 1 )"
2929 desc : " version 1.1"
3030--- # --------------------------------------------------------------------------
31- type : enum
32- desc : " Virtual function memory types"
33- version : " 1.9"
34- class : $sVFManagement
35- name : $s_vf_info_mem_type_exp_flags_t
36- etors :
37- - name : MEM_TYPE_SYSTEM
38- desc : " System memory"
39- - name : MEM_TYPE_DEVICE
40- desc : " Device local memory"
41- --- # --------------------------------------------------------------------------
42- type : enum
43- desc : " Virtual function utilization flag bit fields"
44- version : " 1.9"
45- class : $sVFManagement
46- name : $s_vf_info_util_exp_flags_t
47- etors :
48- - name : INFO_NONE
49- desc : " No info associated with virtual function"
50- - name : INFO_MEM_CPU
51- desc : " System memory utilization associated with virtual function"
52- - name : INFO_MEM_GPU
53- desc : " Device memory utilization associated with virtual function"
54- - name : INFO_ENGINE
55- desc : ' Engine utilization associated with virtual function'
56- --- # --------------------------------------------------------------------------
5731type : struct
58- desc : " Virtual function management properties "
59- version : " 1.9 "
32+ desc : " Virtual function management capabilities "
33+ version : " 1.10 "
6034class : $sVFManagement
61- name : $s_vf_exp_properties_t
35+ name : $s_vf_exp_capabilities_t
6236base : $s_base_properties_t
6337members :
6438 - type : $s_pci_address_t
6539 name : " address"
6640 desc : " [out] Virtual function BDF address"
67- - type : $s_uuid_t
68- name : uuid
69- desc : " [out] universal unique identifier of the device "
70- - type : $s_vf_info_util_exp_flags_t
71- name : " flags "
72- desc : " [out] utilization flags available. May be 0 or a valid combination of $s_vf_info_util_exp_flag_t. "
41+ - type : uint32_t
42+ name : " vfDeviceMemSize "
43+ desc : " [out] Virtual function memory size in bytes "
44+ - type : uint32_t
45+ name : " vfID "
46+ desc : " [out] Virtual Function ID "
7347--- # --------------------------------------------------------------------------
7448type : struct
7549desc : " Provides memory utilization values for a virtual function"
76- version : " 1.9 "
50+ version : " 1.10 "
7751class : $sVFManagement
7852name : $s_vf_util_mem_exp_t
7953base : $s_base_state_t
8054members :
81- - type : $s_vf_info_mem_type_exp_flags_t
82- name : " memTypeFlags "
83- desc : " [out] Memory type flags. "
55+ - type : $s_mem_loc_t
56+ name : " vfMemLocation "
57+ desc : " [out] Location of this memory (system, device) "
8458 - type : uint64_t
85- name : " free "
59+ name : " vfMemUtilized "
8660 desc : " [out] Free memory size in bytes."
87- - type : uint64_t
88- name : " size"
89- desc : " [out] Total allocatable memory in bytes."
9061--- # --------------------------------------------------------------------------
9162type : struct
9263desc : " Provides engine utilization values for a virtual function"
@@ -98,7 +69,7 @@ name: $s_vf_util_engine_exp_t
9869base : $s_base_state_t
9970members :
10071 - type : $s_engine_group_t
101- name : " type "
72+ name : " vfEngineType "
10273 desc : " [out] The engine group."
10374 - type : uint64_t
10475 name : " activeCounterValue"
@@ -111,7 +82,7 @@ type: function
11182desc : " Get handle of virtual function modules"
11283version : " 1.9"
11384class : $sDevice
114- name : EnumActiveVFExp
85+ name : EnumEnabledVFExp
11586details :
11687 - " The application may call this function from simultaneous threads."
11788 - " The implementation of this function should be lock-free."
@@ -132,20 +103,20 @@ params:
132103 if count is less than the number of components of this type that are available, then the driver shall only retrieve that number of component handles.
133104 --- # --------------------------------------------------------------------------
134105type : function
135- desc : " Get virtual function management properties "
136- version : " 1.9 "
106+ desc : " Get virtual function management capabilities "
107+ version : " 1.10 "
137108class : $sVFManagement
138- name : GetVFPropertiesExp
109+ name : GetVFCapabilitiesExp
139110details :
140111 - " The application may call this function from simultaneous threads."
141112 - " The implementation of this function should be lock-free."
142113params :
143114 - type : $s_vf_handle_t
144115 name : hVFhandle
145116 desc : " [in] Sysman handle for the VF component."
146- - type : $s_vf_exp_properties_t *
147- name : pProperties
148- desc : " [in,out] Will contain VF properties ."
117+ - type : $s_vf_exp_capabilities_t *
118+ name : pCapability
119+ desc : " [in,out] Will contain VF capability ."
149120--- # --------------------------------------------------------------------------
150121type : function
151122desc : " Get memory activity stats for each available memory types associated with Virtual Function (VF)"
@@ -155,6 +126,7 @@ name: GetVFMemoryUtilizationExp
155126details :
156127 - " The application may call this function from simultaneous threads."
157128 - " The implementation of this function should be lock-free."
129+ - " If VF is disable/pause/not active, utilization will give zero value."
158130params :
159131 - type : $s_vf_handle_t
160132 name : hVFhandle
@@ -180,6 +152,7 @@ name: GetVFEngineUtilizationExp
180152details :
181153 - " The application may call this function from simultaneous threads."
182154 - " The implementation of this function should be lock-free."
155+ - " If VF is disable/pause/not active, utilization will give zero value."
183156params :
184157 - type : $s_vf_handle_t
185158 name : hVFhandle
0 commit comments