Message ID | 20200607083647.2022510-2-idosch@idosch.org |
---|---|
State | New |
Headers | show |
Series | [iproute2,1/2] devlink: Add 'control' trap type | expand |
diff --git a/devlink/devlink.c b/devlink/devlink.c index 507972c360a7..f06e7c2a0a29 100644 --- a/devlink/devlink.c +++ b/devlink/devlink.c @@ -7073,6 +7073,8 @@ static const char *trap_type_name(uint8_t type) return "drop"; case DEVLINK_TRAP_TYPE_EXCEPTION: return "exception"; + case DEVLINK_TRAP_TYPE_CONTROL: + return "control"; default: return "<unknown type>"; }