Lines Matching refs:rate_leaf
1012 static int ice_devlink_rate_leaf_tx_max_set(struct devlink_rate *rate_leaf, void *priv, in ice_devlink_rate_leaf_tx_max_set() argument
1017 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_max_set()
1023 return ice_set_object_tx_max(ice_get_pi_from_dev_rate(rate_leaf), in ice_devlink_rate_leaf_tx_max_set()
1027 static int ice_devlink_rate_leaf_tx_share_set(struct devlink_rate *rate_leaf, void *priv, in ice_devlink_rate_leaf_tx_share_set() argument
1032 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_share_set()
1038 return ice_set_object_tx_share(ice_get_pi_from_dev_rate(rate_leaf), node, in ice_devlink_rate_leaf_tx_share_set()
1042 static int ice_devlink_rate_leaf_tx_priority_set(struct devlink_rate *rate_leaf, void *priv, in ice_devlink_rate_leaf_tx_priority_set() argument
1047 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_priority_set()
1053 return ice_set_object_tx_priority(ice_get_pi_from_dev_rate(rate_leaf), node, in ice_devlink_rate_leaf_tx_priority_set()
1057 static int ice_devlink_rate_leaf_tx_weight_set(struct devlink_rate *rate_leaf, void *priv, in ice_devlink_rate_leaf_tx_weight_set() argument
1062 if (!ice_enable_custom_tx(devlink_priv(rate_leaf->devlink))) in ice_devlink_rate_leaf_tx_weight_set()
1068 return ice_set_object_tx_weight(ice_get_pi_from_dev_rate(rate_leaf), node, in ice_devlink_rate_leaf_tx_weight_set()