Commit ce84380
committed
devlink: avoid param type value translations
JIRA: https://issues.redhat.com/browse/RHEL-104975
commit f9e7893
Author: Jiri Pirko <jiri@resnulli.us>
Date: Mon May 5 13:45:12 2025 +0200
devlink: avoid param type value translations
Assign DEVLINK_PARAM_TYPE_* enum values to DEVLINK_VAR_ATTR_TYPE_* to
ensure the same values are used internally and in UAPI. Benefit from
that by removing the value translations.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://patch.msgid.link/20250505114513.53370-4-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>1 parent fd00d5b commit ce84380
2 files changed
+7
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 169 | | |
189 | 170 | | |
190 | 171 | | |
| |||
247 | 228 | | |
248 | 229 | | |
249 | 230 | | |
250 | | - | |
251 | 231 | | |
252 | 232 | | |
253 | 233 | | |
| |||
293 | 273 | | |
294 | 274 | | |
295 | 275 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
| 276 | + | |
301 | 277 | | |
302 | 278 | | |
303 | 279 | | |
| |||
419 | 395 | | |
420 | 396 | | |
421 | 397 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 398 | + | |
441 | 399 | | |
442 | 400 | | |
443 | 401 | | |
| |||
0 commit comments