DEVLINK_ATTR_TRAP_POLICER_ID
[DEVLINK_ATTR_TRAP_POLICER_ID] = { .type = NLA_U32, },
[DEVLINK_ATTR_TRAP_POLICER_ID] = { .type = NLA_U32, },
[DEVLINK_ATTR_TRAP_POLICER_ID] = { .type = NLA_U32, },
nla_put_u32(msg, DEVLINK_ATTR_TRAP_POLICER_ID,
if (!attrs[DEVLINK_ATTR_TRAP_POLICER_ID])
policer_id = nla_get_u32(attrs[DEVLINK_ATTR_TRAP_POLICER_ID]);
if (!info->attrs[DEVLINK_ATTR_TRAP_POLICER_ID])
id = nla_get_u32(info->attrs[DEVLINK_ATTR_TRAP_POLICER_ID]);
if (nla_put_u32(msg, DEVLINK_ATTR_TRAP_POLICER_ID,