Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.h21 u64 tx_share, struct netlink_ext_ack *extack);
25 u64 tx_share, struct netlink_ext_ack *extack);
H A Dqos.c868 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_share_set() argument
878 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
883 err = mlx5_esw_qos_set_vport_min_rate(vport, tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
910 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_share_set() argument
916 err = esw_qos_devlink_rate_to_mbps(esw->dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
921 err = esw_qos_set_node_min_rate(node, tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
/linux-6.15/Documentation/networking/devlink/
H A 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
H A Dice.rst379 Functions in a tree structure and assign supported parameters: tx_share,
415 * - ``tx_share``
418 bandwidth the node may consume, the tx_share marks committed BW
486 # assign tx_share to the VF
487 $ devlink port function rate set pci/0000:4b:00.0/2 tx_share 500Mbps
H A Ddevlink-port.rst394 ``tx_share``
419 ``tx_share`` is a total bandwidth distributed among children.
/linux-6.15/drivers/net/netdevsim/
H A Ddev.c1176 u64 tx_share, struct netlink_ext_ack *extack) in nsim_leaf_tx_share_set() argument
1183 err = nsim_rate_bytes_to_units("tx_share", &tx_share, extack); in nsim_leaf_tx_share_set()
1187 nsim_dev->vfconfigs[vf_id].min_tx_rate = tx_share; in nsim_leaf_tx_share_set()
1211 u16 tx_share; member
1216 u64 tx_share, struct netlink_ext_ack *extack) in nsim_node_tx_share_set() argument
1221 err = nsim_rate_bytes_to_units("tx_share", &tx_share, extack); in nsim_node_tx_share_set()
1225 nsim_node->tx_share = tx_share; in nsim_node_tx_share_set()
1260 debugfs_create_u16("tx_share", 0400, nsim_node->ddir, &nsim_node->tx_share); in nsim_rate_node_new()
/linux-6.15/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c862 node->tx_share = div_u64(bw, 125); in ice_set_object_tx_share()
863 status = ice_sched_set_node_bw_lmt(pi, node, ICE_MIN_BW, node->tx_share); in ice_set_object_tx_share()
1035 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_share_set() argument
1046 tx_share, extack); in ice_devlink_rate_leaf_tx_share_set()
1095 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_share_set() argument
1106 node, tx_share, extack); in ice_devlink_rate_node_tx_share_set()
1187 if (devlink_rate->tx_share) in ice_devlink_set_parent()
1188 ice_set_object_tx_share(pi, node, devlink_rate->tx_share, extack); in ice_devlink_set_parent()
/linux-6.15/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh639 rate_attr_tx_rate_check $r_obj tx_share $rate \
662 rate_attr_tx_rate_check $node1 tx_share $node_tx_share \
/linux-6.15/net/devlink/
H A Drate.c112 devlink_rate->tx_share)) in devlink_nl_rate_fill()
339 devlink_rate->tx_share = rate; in devlink_nl_rate_set()
/linux-6.15/include/net/
H A Ddevlink.h107 u64 tx_share; member
1478 u64 tx_share, struct netlink_ext_ack *extack);
1486 u64 tx_share, struct netlink_ext_ack *extack);
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_type.h573 u64 tx_share; member
H A Dice_sched.c953 new_node->tx_share = ICE_SCHED_DFLT_BW; in ice_sched_add_elems()