History

devlink: add trap metadata type for cookie

Allow driver to indicate cookie metadata for registered traps.

Jiri Pirko committed 6 years ago

Commit 85b05891 parent 20084953 files · +6 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/devlink.h+2−0
@@ -252,6 +252,8 @@ enum devlink_trap_type { · 251 unmodified lines
252enum {252enum {
253 /* Trap can report input port as metadata */253 /* Trap can report input port as metadata */
254 DEVLINK_ATTR_TRAP_METADATA_TYPE_IN_PORT,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
257enum devlink_attr {259enum devlink_attr {