Home
last modified time | relevance | path

Searched refs:linecard_index (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/devlink/
H A Dlinecard.c11 unsigned int linecard_index) in devlink_linecard_get_by_index() argument
16 if (devlink_linecard->index == linecard_index) in devlink_linecard_get_by_index()
23 unsigned int linecard_index) in devlink_linecard_index_exists() argument
25 return devlink_linecard_get_by_index(devlink, linecard_index); in devlink_linecard_index_exists()
32 u32 linecard_index = nla_get_u32(attrs[DEVLINK_ATTR_LINECARD_INDEX]); in devlink_linecard_get_from_attrs() local
35 linecard = devlink_linecard_get_by_index(devlink, linecard_index); in devlink_linecard_get_from_attrs()
440 devl_linecard_create(struct devlink *devlink, unsigned int linecard_index, in devl_linecard_create() argument
450 if (devlink_linecard_index_exists(devlink, linecard_index)) in devl_linecard_create()
458 linecard->index = linecard_index; in devl_linecard_create()
/openbmc/linux/tools/net/ynl/generated/
H A Ddevlink-user.h1808 __u32 linecard_index:1; member
1813 __u32 linecard_index; member
1845 __u32 linecard_index) in devlink_linecard_get_req_set_linecard_index() argument
1847 req->_present.linecard_index = 1; in devlink_linecard_get_req_set_linecard_index()
1848 req->linecard_index = linecard_index; in devlink_linecard_get_req_set_linecard_index()
1855 __u32 linecard_index:1; member
1860 __u32 linecard_index; member
H A Ddevlink-user.c2759 dst->_present.linecard_index = 1; in devlink_linecard_get_rsp_parse()
2760 dst->linecard_index = mnl_attr_get_u32(attr); in devlink_linecard_get_rsp_parse()
2783 if (req->_present.linecard_index) in devlink_linecard_get()
2784 mnl_attr_put_u32(nlh, DEVLINK_ATTR_LINECARD_INDEX, req->linecard_index); in devlink_linecard_get()
/openbmc/linux/include/net/
H A Ddevlink.h1711 devl_linecard_create(struct devlink *devlink, unsigned int linecard_index,