Allow driver to indicate cookie metadata for registered traps.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -252,6 +252,8 @@ enum devlink_trap_type { · 251 unmodified lines | ||
| 252 | 252 | enum { |
| 253 | 253 | /* Trap can report input port as metadata */ |
| 254 | 254 | DEVLINK_ATTR_TRAP_METADATA_TYPE_IN_PORT, |
| 255 | + /* Trap can report flow action cookie as metadata */ | |
| 256 | + DEVLINK_ATTR_TRAP_METADATA_TYPE_FA_COOKIE, | |
| 255 | 257 | }; |
| 256 | 258 | |
| 257 | 259 | enum devlink_attr { |