Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.h23 int mlx5_esw_devlink_rate_leaf_tx_share_set(struct devlink_rate *rate_leaf, void *priv,
25 int mlx5_esw_devlink_rate_leaf_tx_max_set(struct devlink_rate *rate_leaf, void *priv,
27 int mlx5_esw_devlink_rate_node_tx_share_set(struct devlink_rate *rate_node, void *priv,
29 int mlx5_esw_devlink_rate_node_tx_max_set(struct devlink_rate *rate_node, void *priv,
31 int mlx5_esw_devlink_rate_node_new(struct devlink_rate *rate_node, void **priv,
33 int mlx5_esw_devlink_rate_node_del(struct devlink_rate *rate_node, void *priv,
35 int mlx5_esw_devlink_rate_parent_set(struct devlink_rate *devlink_rate,
36 struct devlink_rate *parent,
Dqos.c703 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()
724 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()
745 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()
763 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()
781 int mlx5_esw_devlink_rate_node_new(struct devlink_rate *rate_node, void **priv, in mlx5_esw_devlink_rate_node_new()
812 int mlx5_esw_devlink_rate_node_del(struct devlink_rate *rate_node, void *priv, in mlx5_esw_devlink_rate_node_del()
842 int mlx5_esw_devlink_rate_parent_set(struct devlink_rate *devlink_rate, in mlx5_esw_devlink_rate_parent_set() argument
843 struct devlink_rate *parent, in mlx5_esw_devlink_rate_parent_set()
Ddevlink_port.c119 if (vport->dl_port->devlink_rate) { in mlx5_esw_offloads_devlink_port_unregister()
183 if (vport->dl_port->devlink_rate) { in mlx5_esw_devlink_sf_port_unregister()
/drivers/net/netdevsim/
Ddev.c1092 static int nsim_leaf_tx_share_set(struct devlink_rate *devlink_rate, void *priv, in nsim_leaf_tx_share_set() argument
1108 static int nsim_leaf_tx_max_set(struct devlink_rate *devlink_rate, void *priv, in nsim_leaf_tx_max_set() argument
1132 static int nsim_node_tx_share_set(struct devlink_rate *devlink_rate, void *priv, in nsim_node_tx_share_set() argument
1146 static int nsim_node_tx_max_set(struct devlink_rate *devlink_rate, void *priv, in nsim_node_tx_max_set() argument
1160 static int nsim_rate_node_new(struct devlink_rate *node, void **priv, in nsim_rate_node_new()
1188 static int nsim_rate_node_del(struct devlink_rate *node, void *priv, in nsim_rate_node_del()
1199 static int nsim_rate_leaf_parent_set(struct devlink_rate *child, in nsim_rate_leaf_parent_set()
1200 struct devlink_rate *parent, in nsim_rate_leaf_parent_set()
1213 static int nsim_rate_node_parent_set(struct devlink_rate *child, in nsim_rate_node_parent_set()
1214 struct devlink_rate *parent, in nsim_rate_node_parent_set()