Home
last modified time | relevance | path

Searched refs:DEVLINK_ATTR_LINECARD_INDEX (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/devlink/
H A Dnetlink_gen.c192 static const struct nla_policy devlink_linecard_get_do_nl_policy[DEVLINK_ATTR_LINECARD_INDEX + 1] =…
195 [DEVLINK_ATTR_LINECARD_INDEX] = { .type = NLA_U32, },
455 .maxattr = DEVLINK_ATTR_LINECARD_INDEX,
H A Dlinecard.c31 if (attrs[DEVLINK_ATTR_LINECARD_INDEX]) { in devlink_linecard_get_from_attrs()
32 u32 linecard_index = nla_get_u32(attrs[DEVLINK_ATTR_LINECARD_INDEX]); in devlink_linecard_get_from_attrs()
90 if (nla_put_u32(msg, DEVLINK_ATTR_LINECARD_INDEX, linecard->index)) in devlink_nl_linecard_fill()
H A Dnetlink.c77 [DEVLINK_ATTR_LINECARD_INDEX] = { .type = NLA_U32 },
H A Dport.c485 nla_put_u32(msg, DEVLINK_ATTR_LINECARD_INDEX, in devlink_nl_port_fill()
/openbmc/linux/include/uapi/linux/
H A Ddevlink.h601 DEVLINK_ATTR_LINECARD_INDEX, /* u32 */ enumerator
/openbmc/linux/tools/net/ynl/generated/
H A Ddevlink-user.c145 [DEVLINK_ATTR_LINECARD_INDEX] = { .name = "linecard-index", .type = YNL_PT_U32, },
2756 } else if (type == DEVLINK_ATTR_LINECARD_INDEX) { in devlink_linecard_get_rsp_parse()
2784 mnl_attr_put_u32(nlh, DEVLINK_ATTR_LINECARD_INDEX, req->linecard_index); in devlink_linecard_get()