Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.h14 u64 tx_share, struct netlink_ext_ack *extack);
18 u64 tx_share, struct netlink_ext_ack *extack);
H A Dqos.c786 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_share_set() argument
796 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
805 err = esw_qos_set_vport_min_rate(esw, vport, tx_share, extack); in mlx5_esw_devlink_rate_leaf_tx_share_set()
838 u64 tx_share, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_share_set() argument
845 err = esw_qos_devlink_rate_to_mbps(dev, "tx_share", &tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
850 err = esw_qos_set_group_min_rate(esw, group, tx_share, extack); in mlx5_esw_devlink_rate_node_tx_share_set()
/openbmc/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.rst287 Functions in a tree structure and assign supported parameters: tx_share,
323 * - ``tx_share``
326 bandwidth the node may consume, the tx_share marks committed BW
394 # assign tx_share to the VF
395 $ devlink port function rate set pci/0000:4b:00.0/2 tx_share 500Mbps
H A Ddevlink-port.rst361 ``tx_share``
386 ``tx_share`` is a total bandwidth distributed among children.
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_devlink.c880 node->tx_share = div_u64(bw, 125); in ice_set_object_tx_share()
881 status = ice_sched_set_node_bw_lmt(pi, node, ICE_MIN_BW, node->tx_share); in ice_set_object_tx_share()
1053 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_share_set() argument
1064 tx_share, extack); in ice_devlink_rate_leaf_tx_share_set()
1113 u64 tx_share, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_share_set() argument
1124 node, tx_share, extack); in ice_devlink_rate_node_tx_share_set()
1205 if (devlink_rate->tx_share) in ice_devlink_set_parent()
1206 ice_set_object_tx_share(pi, node, devlink_rate->tx_share, extack); in ice_devlink_set_parent()
H A Dice_type.h533 u64 tx_share; member
H A Dice_sched.c965 new_node->tx_share = ICE_SCHED_DFLT_BW; in ice_sched_add_elems()
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh632 rate_attr_tx_rate_check $r_obj tx_share $rate \
655 rate_attr_tx_rate_check $node1 tx_share $node_tx_share \
/openbmc/linux/net/devlink/
H A Drate.c112 devlink_rate->tx_share, DEVLINK_ATTR_PAD)) in devlink_nl_rate_fill()
340 devlink_rate->tx_share = rate; in devlink_nl_rate_set()
/openbmc/linux/include/net/
H A Ddevlink.h106 u64 tx_share; member
1461 u64 tx_share, struct netlink_ext_ack *extack);
1469 u64 tx_share, struct netlink_ext_ack *extack);