Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.h18 u64 tx_share, struct netlink_ext_ack *extack);
30 u64 tx_share, struct netlink_ext_ack *extack);
H A Dqos.c1631 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_share_set() argument
1639 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
1644 err = mlx5_esw_qos_set_vport_min_rate(vport, tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
1755 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_share_set() argument
1761 err = esw_qos_devlink_rate_to_mbps(esw->dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
1766 err = esw_qos_set_node_min_rate(node, tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
/linux/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.rst406 ``tx_share``
431 ``tx_share`` is a total bandwidth distributed among children.
H A Dmlx5.rst453 $ devlink port function rate set pci/0000:82:00.0/1 parent group1 tx_share 2Gbit
/linux/drivers/net/netdevsim/
H A Ddev.c1184 u64 tx_share, struct netlink_ext_ack *extack) in nsim_leaf_tx_share_set() argument
1191 err = nsim_rate_bytes_to_units("tx_share", &tx_share, extack); in nsim_leaf_tx_share_set()
1195 nsim_dev->vfconfigs[vf_id].min_tx_rate = tx_share; in nsim_leaf_tx_share_set()
1219 u16 tx_share; member
1237 u64 tx_share, struct netlink_ext_ack *extack) in nsim_node_tx_share_set() argument
1242 err = nsim_rate_bytes_to_units("tx_share", &tx_share, extack); in nsim_node_tx_share_set()
1246 nsim_node->tx_share = tx_share; in nsim_node_tx_share_set()
1281 debugfs_create_u16("tx_share", 0400, nsim_node->ddir, &nsim_node->tx_share); in nsim_rate_node_new()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c866 node->tx_share = div_u64(bw, 125); in ice_set_object_tx_share()
867 status = ice_sched_set_node_bw_lmt(pi, node, ICE_MIN_BW, node->tx_share); in ice_set_object_tx_share()
1039 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_share_set() argument
1050 tx_share, extack); in ice_devlink_rate_leaf_tx_share_set()
1099 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_share_set() argument
1110 node, tx_share, extack); in ice_devlink_rate_node_tx_share_set()
1191 if (devlink_rate->tx_share) in ice_devlink_set_parent()
1192 ice_set_object_tx_share(pi, node, devlink_rate->tx_share, extack); in ice_devlink_set_parent()
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh862 rate_attr_tx_rate_check $r_obj tx_share $rate \
863 $DEBUGFS_DIR/ports/${r_obj##*/}/tx_share
892 rate_attr_tx_rate_check $node1 tx_share $node_tx_share \
893 $DEBUGFS_DIR/rate_nodes/${node1##*/}/tx_share
/linux/include/net/
H A Ddevlink.h111 u64 tx_share; member
1568 u64 tx_share, struct netlink_ext_ack *extack);
1579 u64 tx_share, struct netlink_ext_ack *extack);
/linux/net/devlink/
H A Drate.c200 devlink_rate->tx_share)) in devlink_nl_rate_fill()
542 devlink_rate->tx_share = rate; in devlink_nl_rate_set()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_type.h582 u64 tx_share; member
H A Dice_sched.c974 new_node->tx_share = ICE_SCHED_DFLT_BW; in ice_sched_add_elems()