Home
last modified time | relevance | path

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

/linux-6.12.1/net/devlink/
Drate.c123 if (nla_put_u32(msg, DEVLINK_ATTR_RATE_TX_WEIGHT, in devlink_nl_rate_fill()
369 if (attrs[DEVLINK_ATTR_RATE_TX_WEIGHT]) { in devlink_nl_rate_set()
370 weight = nla_get_u32(attrs[DEVLINK_ATTR_RATE_TX_WEIGHT]); in devlink_nl_rate_set()
420 if (attrs[DEVLINK_ATTR_RATE_TX_WEIGHT] && !ops->rate_leaf_tx_weight_set) { in devlink_rate_set_ops_supported()
422 attrs[DEVLINK_ATTR_RATE_TX_WEIGHT], in devlink_rate_set_ops_supported()
446 if (attrs[DEVLINK_ATTR_RATE_TX_WEIGHT] && !ops->rate_node_tx_weight_set) { in devlink_rate_set_ops_supported()
448 attrs[DEVLINK_ATTR_RATE_TX_WEIGHT], in devlink_rate_set_ops_supported()
Dnetlink_gen.c499 static const struct nla_policy devlink_rate_set_nl_policy[DEVLINK_ATTR_RATE_TX_WEIGHT + 1] = {
506 [DEVLINK_ATTR_RATE_TX_WEIGHT] = { .type = NLA_U32, },
511 static const struct nla_policy devlink_rate_new_nl_policy[DEVLINK_ATTR_RATE_TX_WEIGHT + 1] = {
518 [DEVLINK_ATTR_RATE_TX_WEIGHT] = { .type = NLA_U32, },
1167 .maxattr = DEVLINK_ATTR_RATE_TX_WEIGHT,
1177 .maxattr = DEVLINK_ATTR_RATE_TX_WEIGHT,
/linux-6.12.1/include/uapi/linux/
Ddevlink.h613 DEVLINK_ATTR_RATE_TX_WEIGHT, /* u32 */ enumerator