Home
last modified time | relevance | path

Searched refs:DEVLINK_ATTR_SB_INDEX (Results 1 – 3 of 3) sorted by relevance

/linux/net/devlink/
H A Dnetlink_gen.c87 static const struct nla_policy devlink_sb_get_do_nl_policy[DEVLINK_ATTR_SB_INDEX + 1] = {
90 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
103 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
117 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
128 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
143 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
153 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
169 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
177 static const struct nla_policy devlink_sb_occ_snapshot_nl_policy[DEVLINK_ATTR_SB_INDEX + 1] = {
180 [DEVLINK_ATTR_SB_INDEX] = { .type = NLA_U32, },
[all …]
H A Dsb.c45 if (attrs[DEVLINK_ATTR_SB_INDEX]) { in devlink_sb_get_from_attrs()
46 u32 sb_index = nla_get_u32(attrs[DEVLINK_ATTR_SB_INDEX]); in devlink_sb_get_from_attrs()
180 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_fill()
284 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_pool_fill()
473 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_port_pool_fill()
679 if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) in devlink_nl_sb_tc_pool_bind_fill()
/linux/include/uapi/linux/
H A Ddevlink.h404 DEVLINK_ATTR_SB_INDEX, /* u32 */ enumerator