You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc: "Provides memory utilization values for a virtual function"
50
136
version: "1.10"
51
137
class: $sVFManagement
52
-
name: $s_vf_util_mem_exp_t
138
+
name: $s_vf_util_mem_exp2_t
53
139
base: $s_base_state_t
54
140
members:
55
141
- type: $s_mem_loc_t
@@ -63,9 +149,9 @@ type: struct
63
149
desc: "Provides engine utilization values for a virtual function"
64
150
details:
65
151
- "Percent utilization is calculated by taking two snapshots (s1, s2) and using the equation: %util = (s2.activeCounterValue - s1.activeCounterValue) / (s2.samplingCounterValue - s1.samplingCounterValue)"
66
-
version: "1.9"
152
+
version: "1.10"
67
153
class: $sVFManagement
68
-
name: $s_vf_util_engine_exp_t
154
+
name: $s_vf_util_engine_exp2_t
69
155
base: $s_base_state_t
70
156
members:
71
157
- type: $s_engine_group_t
@@ -82,6 +168,142 @@ type: function
82
168
desc: "Get handle of virtual function modules"
83
169
version: "1.9"
84
170
class: $sDevice
171
+
name: EnumActiveVFExp
172
+
details:
173
+
- "1.11": "[DEPRECATED] No longer supported. Use $sDeviceEnumEnabledVFExp."
174
+
- "The application may call this function from simultaneous threads."
175
+
- "The implementation of this function should be lock-free."
176
+
params:
177
+
- type: $s_device_handle_t
178
+
name: hDevice
179
+
desc: "[in] Sysman handle of the device."
180
+
- type: "uint32_t*"
181
+
name: pCount
182
+
desc: |
183
+
[in,out] pointer to the number of components of this type.
184
+
if count is zero, then the driver shall update the value with the total number of components of this type that are available.
185
+
if count is greater than the number of components of this type that are available, then the driver shall update the value with the correct number of components.
186
+
- type: "$s_vf_handle_t*"
187
+
name: phVFhandle
188
+
desc: |
189
+
[in,out][optional][range(0, *pCount)] array of handle of components of this type.
190
+
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.
desc: "Get memory activity stats for each available memory types associated with Virtual Function (VF)"
211
+
version: "1.9"
212
+
class: $sVFManagement
213
+
name: GetVFMemoryUtilizationExp
214
+
details:
215
+
- "1.11": "[DEPRECATED] No longer supported. Use $sVFManagementGetVFMemoryUtilizationExp2."
216
+
- "The application may call this function from simultaneous threads."
217
+
- "The implementation of this function should be lock-free."
218
+
params:
219
+
- type: $s_vf_handle_t
220
+
name: hVFhandle
221
+
desc: "[in] Sysman handle for the component."
222
+
- type: "uint32_t*"
223
+
name: pCount
224
+
desc: |
225
+
[in,out] Pointer to the number of VF memory stats descriptors.
226
+
- if count is zero, the driver shall update the value with the total number of memory stats available.
227
+
- if count is greater than the total number of memory stats available, the driver shall update the value with the correct number of memory stats available.
228
+
- The count returned is the sum of number of VF instances currently available and the PF instance.
229
+
- type: $s_vf_util_mem_exp_t*
230
+
name: pMemUtil
231
+
desc: |
232
+
[in,out][optional][range(0, *pCount)] array of memory group activity counters.
233
+
- if count is less than the total number of memory stats available, then driver shall only retrieve that number of stats.
234
+
- the implementation shall populate the vector pCount-1 number of VF memory stats.
desc: "Get engine activity stats for each available engine group associated with Virtual Function (VF)"
238
+
version: "1.9"
239
+
class: $sVFManagement
240
+
name: GetVFEngineUtilizationExp
241
+
details:
242
+
- "1.11": "[DEPRECATED] No longer supported. Use $sVFManagementGetVFEngineUtilizationExp2."
243
+
- "The application may call this function from simultaneous threads."
244
+
- "The implementation of this function should be lock-free."
245
+
params:
246
+
- type: $s_vf_handle_t
247
+
name: hVFhandle
248
+
desc: "[in] Sysman handle for the component."
249
+
- type: "uint32_t*"
250
+
name: pCount
251
+
desc: |
252
+
[in,out] Pointer to the number of VF engine stats descriptors.
253
+
- if count is zero, the driver shall update the value with the total number of engine stats available.
254
+
- if count is greater than the total number of engine stats available, the driver shall update the value with the correct number of engine stats available.
255
+
- The count returned is the sum of number of VF instances currently available and the PF instance.
256
+
- type: $s_vf_util_engine_exp_t*
257
+
name: pEngineUtil
258
+
desc: |
259
+
[in,out][optional][range(0, *pCount)] array of engine group activity counters.
260
+
- if count is less than the total number of engine stats available, then driver shall only retrieve that number of stats.
261
+
- the implementation shall populate the vector pCount-1 number of VF engine stats.
desc: "Get memory activity stats for each available memory types associated with Virtual Function (VF)"
123
-
version: "1.9"
345
+
version: "1.10"
124
346
class: $sVFManagement
125
-
name: GetVFMemoryUtilizationExp
347
+
name: GetVFMemoryUtilizationExp2
126
348
details:
127
349
- "The application may call this function from simultaneous threads."
128
350
- "The implementation of this function should be lock-free."
@@ -137,7 +359,7 @@ params:
137
359
[in,out] Pointer to the number of VF memory stats descriptors.
138
360
- if count is zero, the driver shall update the value with the total number of memory stats available.
139
361
- if count is greater than the total number of memory stats available, the driver shall update the value with the correct number of memory stats available.
140
-
- type: $s_vf_util_mem_exp_t*
362
+
- type: $s_vf_util_mem_exp2_t*
141
363
name: pMemUtil
142
364
desc: |
143
365
[in,out][optional][range(0, *pCount)] array of memory group activity counters.
desc: "Get engine activity stats for each available engine group associated with Virtual Function (VF)"
149
-
version: "1.9"
371
+
version: "1.10"
150
372
class: $sVFManagement
151
-
name: GetVFEngineUtilizationExp
373
+
name: GetVFEngineUtilizationExp2
152
374
details:
153
375
- "The application may call this function from simultaneous threads."
154
376
- "The implementation of this function should be lock-free."
@@ -163,7 +385,7 @@ params:
163
385
[in,out] Pointer to the number of VF engine stats descriptors.
164
386
- if count is zero, the driver shall update the value with the total number of engine stats available.
165
387
- if count is greater than the total number of engine stats available, the driver shall update the value with the correct number of engine stats available.
166
-
- type: $s_vf_util_engine_exp_t*
388
+
- type: $s_vf_util_engine_exp2_t*
167
389
name: pEngineUtil
168
390
desc: |
169
391
[in,out][optional][range(0, *pCount)] array of engine group activity counters.
0 commit comments