Searched refs:DEVLINK_ATTR_LINECARD_INDEX (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/devlink/ |
H A D | netlink_gen.c | 192 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 D | linecard.c | 31 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 D | netlink.c | 77 [DEVLINK_ATTR_LINECARD_INDEX] = { .type = NLA_U32 },
|
H A D | port.c | 485 nla_put_u32(msg, DEVLINK_ATTR_LINECARD_INDEX, in devlink_nl_port_fill()
|
/openbmc/linux/include/uapi/linux/ |
H A D | devlink.h | 601 DEVLINK_ATTR_LINECARD_INDEX, /* u32 */ enumerator
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | devlink-user.c | 145 [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()
|