/openbmc/linux/net/devlink/ |
H A D | rate.c | 10 devlink_rate_is_leaf(struct devlink_rate *devlink_rate) in devlink_rate_is_leaf() argument 24 struct devlink_rate *devlink_rate; in devlink_rate_leaf_get_from_info() local 30 devlink_rate = devlink_port->devlink_rate; in devlink_rate_leaf_get_from_info() 37 static struct devlink_rate *devlink_rate; in devlink_rate_node_get_by_name() local 84 struct devlink_rate *devlink_rate, in devlink_nl_rate_fill() argument 187 struct devlink_rate *devlink_rate; in devlink_nl_rate_get_dump_one() local 219 struct devlink_rate *devlink_rate; in devlink_nl_rate_get_doit() local 464 struct devlink_rate *devlink_rate; in devlink_nl_cmd_rate_set_doit() local 568 struct devlink_rate *devlink_rate; in devlink_rate_nodes_check() local 635 struct devlink_rate *devlink_rate; in devl_rate_leaf_create() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | qos.h | 13 int mlx5_esw_devlink_rate_leaf_tx_share_set(struct devlink_rate *rate_leaf, void *priv, 15 int mlx5_esw_devlink_rate_leaf_tx_max_set(struct devlink_rate *rate_leaf, void *priv, 17 int mlx5_esw_devlink_rate_node_tx_share_set(struct devlink_rate *rate_node, void *priv, 19 int mlx5_esw_devlink_rate_node_tx_max_set(struct devlink_rate *rate_node, void *priv, 21 int mlx5_esw_devlink_rate_node_new(struct devlink_rate *rate_node, void **priv, 23 int mlx5_esw_devlink_rate_node_del(struct devlink_rate *rate_node, void *priv, 25 int mlx5_esw_devlink_rate_parent_set(struct devlink_rate *devlink_rate, 26 struct devlink_rate *parent,
|
H A D | qos.c | 785 int mlx5_esw_devlink_rate_leaf_tx_share_set(struct devlink_rate *rate_leaf, void *priv, in mlx5_esw_devlink_rate_leaf_tx_share_set() 811 int mlx5_esw_devlink_rate_leaf_tx_max_set(struct devlink_rate *rate_leaf, void *priv, in mlx5_esw_devlink_rate_leaf_tx_max_set() 837 int mlx5_esw_devlink_rate_node_tx_share_set(struct devlink_rate *rate_node, void *priv, in mlx5_esw_devlink_rate_node_tx_share_set() 855 int mlx5_esw_devlink_rate_node_tx_max_set(struct devlink_rate *rate_node, void *priv, in mlx5_esw_devlink_rate_node_tx_max_set() 873 int mlx5_esw_devlink_rate_node_new(struct devlink_rate *rate_node, void **priv, in mlx5_esw_devlink_rate_node_new() 904 int mlx5_esw_devlink_rate_node_del(struct devlink_rate *rate_node, void *priv, in mlx5_esw_devlink_rate_node_del() 940 int mlx5_esw_devlink_rate_parent_set(struct devlink_rate *devlink_rate, in mlx5_esw_devlink_rate_parent_set() argument 941 struct devlink_rate *parent, in mlx5_esw_devlink_rate_parent_set()
|
/openbmc/linux/include/net/ |
H A D | devlink.h | 101 struct devlink_rate { struct 109 struct devlink_rate *parent; argument 151 struct devlink_rate *devlink_rate; member 1460 int (*rate_leaf_tx_share_set)(struct devlink_rate *devlink_rate, void *priv, 1462 int (*rate_leaf_tx_max_set)(struct devlink_rate *devlink_rate, void *priv, 1464 int (*rate_leaf_tx_priority_set)(struct devlink_rate *devlink_rate, void *priv, 1466 int (*rate_leaf_tx_weight_set)(struct devlink_rate *devlink_rate, void *priv, 1468 int (*rate_node_tx_share_set)(struct devlink_rate *devlink_rate, void *priv, 1470 int (*rate_node_tx_max_set)(struct devlink_rate *devlink_rate, void *priv, 1474 int (*rate_node_tx_weight_set)(struct devlink_rate *devlink_rate, void *priv, [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 756 if (vf->devlink_port.devlink_rate) in ice_tear_down_devlink_rate_tree() 809 struct devlink_rate *rate_node = NULL; in ice_traverse_tx_tree() 819 if (!vf->devlink_port.devlink_rate) in ice_traverse_tx_tree() 1154 static int ice_devlink_set_parent(struct devlink_rate *devlink_rate, in ice_devlink_set_parent() argument 1155 struct devlink_rate *parent, in ice_devlink_set_parent() 1172 if (!ice_enable_custom_tx(devlink_priv(devlink_rate->devlink))) in ice_devlink_set_parent() 1202 if (devlink_rate->tx_share) in ice_devlink_set_parent() 1204 if (devlink_rate->tx_max) in ice_devlink_set_parent() 1205 ice_set_object_tx_max(pi, node, devlink_rate->tx_max, extack); in ice_devlink_set_parent() 1206 if (devlink_rate->tx_priority) in ice_devlink_set_parent() [all …]
|
H A D | ice_type.h | 530 struct devlink_rate *rate_node;
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | dev.c | 1175 static int nsim_leaf_tx_share_set(struct devlink_rate *devlink_rate, void *priv, in nsim_leaf_tx_share_set() argument 1191 static int nsim_leaf_tx_max_set(struct devlink_rate *devlink_rate, void *priv, in nsim_leaf_tx_max_set() argument 1215 static int nsim_node_tx_share_set(struct devlink_rate *devlink_rate, void *priv, in nsim_node_tx_share_set() argument 1229 static int nsim_node_tx_max_set(struct devlink_rate *devlink_rate, void *priv, in nsim_node_tx_max_set() argument 1243 static int nsim_rate_node_new(struct devlink_rate *node, void **priv, in nsim_rate_node_new() 1271 static int nsim_rate_node_del(struct devlink_rate *node, void *priv, in nsim_rate_node_del() 1282 static int nsim_rate_leaf_parent_set(struct devlink_rate *child, in nsim_rate_leaf_parent_set() 1283 struct devlink_rate *parent, in nsim_rate_leaf_parent_set() 1296 static int nsim_rate_node_parent_set(struct devlink_rate *child, in nsim_rate_node_parent_set() 1297 struct devlink_rate *parent, in nsim_rate_node_parent_set()
|