Home
last modified time | relevance | path

Searched refs:tx_share (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.h14 u64 tx_share, struct netlink_ext_ack *extack);
18 u64 tx_share, struct netlink_ext_ack *extack);
Dqos.c775 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_share_set() argument
785 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
794 err = esw_qos_set_vport_min_rate(esw, vport, tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
827 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_share_set() argument
834 err = esw_qos_devlink_rate_to_mbps(dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
839 err = esw_qos_set_group_min_rate(esw, group, tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
/linux-6.1.9/Documentation/networking/devlink/
Dnetdevsim.rst67 - setting tx_share and tx_max rate values for any rate object type;
76 rate_parent tx_max tx_share
84 dev ethtool rate_parent tx_max tx_share
Ddevlink-port.rst187 ``tx_share``
197 ``tx_share`` is a total bandwidth distributed among children.
/linux-6.1.9/drivers/net/netdevsim/
Ddev.c1179 u64 tx_share, struct netlink_ext_ack *extack) in nsim_leaf_tx_share_set() argument
1186 err = nsim_rate_bytes_to_units("tx_share", &tx_share, extack); in nsim_leaf_tx_share_set()
1190 nsim_dev->vfconfigs[vf_id].min_tx_rate = tx_share; in nsim_leaf_tx_share_set()
1214 u16 tx_share; member
1219 u64 tx_share, struct netlink_ext_ack *extack) in nsim_node_tx_share_set() argument
1224 err = nsim_rate_bytes_to_units("tx_share", &tx_share, extack); in nsim_node_tx_share_set()
1228 nsim_node->tx_share = tx_share; in nsim_node_tx_share_set()
1263 debugfs_create_u16("tx_share", 0400, nsim_node->ddir, &nsim_node->tx_share); in nsim_rate_node_new()
/linux-6.1.9/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh614 rate_attr_tx_rate_check $r_obj tx_share $rate \
637 rate_attr_tx_rate_check $node1 tx_share $node_tx_share \
/linux-6.1.9/include/net/
Ddevlink.h106 u64 tx_share; member
1493 u64 tx_share, struct netlink_ext_ack *extack);
1497 u64 tx_share, struct netlink_ext_ack *extack);
/linux-6.1.9/net/core/
Ddevlink.c1180 devlink_rate->tx_share, DEVLINK_ATTR_PAD)) in devlink_nl_rate_fill()
1942 devlink_rate->tx_share = rate; in devlink_nl_rate_set()