DEVLINK_ATTR_SB_THRESHOLD
[DEVLINK_ATTR_SB_THRESHOLD] = { .type = NLA_U32, },
[DEVLINK_ATTR_SB_THRESHOLD] = { .type = NLA_U32, },
if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold))
if (GENL_REQ_ATTR_CHECK(info, DEVLINK_ATTR_SB_THRESHOLD))
threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]);
if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold))
if (GENL_REQ_ATTR_CHECK(info, DEVLINK_ATTR_SB_THRESHOLD))
threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]);