Searched refs:DEVLINK_ATTR_SB_THRESHOLD (Results 1 – 3 of 3) sorted by relevance
/linux/net/devlink/ |
H A D | sb.c | 477 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_port_pool_fill() 643 if (GENL_REQ_ATTR_CHECK(info, DEVLINK_ATTR_SB_THRESHOLD)) in devlink_nl_sb_port_pool_set_doit() 646 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]); in devlink_nl_sb_port_pool_set_doit() 687 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_tc_pool_bind_fill() 894 if (GENL_REQ_ATTR_CHECK(info, DEVLINK_ATTR_SB_THRESHOLD)) in devlink_nl_sb_tc_pool_bind_set_doit() 897 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]); in devlink_nl_sb_tc_pool_bind_set_doit()
|
H A D | netlink_gen.c | 139 static const struct nla_policy devlink_sb_port_pool_set_nl_policy[DEVLINK_ATTR_SB_THRESHOLD + 1] = { 145 [DEVLINK_ATTR_SB_THRESHOLD] = { .type = NLA_U32, }, 173 [DEVLINK_ATTR_SB_THRESHOLD] = { .type = NLA_U32, }, 723 .maxattr = DEVLINK_ATTR_SB_THRESHOLD,
|
/linux/include/uapi/linux/ |
H A D | devlink.h | 414 DEVLINK_ATTR_SB_THRESHOLD, /* u32 */ enumerator
|