Home
last modified time | relevance | path

Searched refs:tx_max (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.h20 u64 tx_max, struct netlink_ext_ack *extack);
32 u64 tx_max, struct netlink_ext_ack *extack);
H A Dqos.c1652 u64 tx_max, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_max_set() argument
1660 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_max", &tx_max, extack); in mlx5_esw_devlink_rate_leaf_tx_max_set()
1665 err = mlx5_esw_qos_set_vport_max_rate(vport, tx_max, extack); in mlx5_esw_devlink_rate_leaf_tx_max_set()
1772 u64 tx_max, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_max_set() argument
1778 err = esw_qos_devlink_rate_to_mbps(esw->dev, "tx_max", &tx_max, extack); in mlx5_esw_devlink_rate_node_tx_max_set()
1783 err = esw_qos_sched_elem_config(node, tx_max, node->bw_share, extack); in mlx5_esw_devlink_rate_node_tx_max_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 Dmlx5.rst442 $ devlink port function rate set pci/0000:82:00.0/1 tx_max 10Gbit
446 $ devlink port function rate add pci/0000:82:00.0/group1 tx_max 10Gbit
452 $ devlink port function rate add pci/0000:82:00.0/group1 tx_max 10Gbit
458 $ devlink port function rate add pci/0000:82:00.0/group1 tx_max 10Gbit
H A Dice.rst380 tx_max, tx_priority and tx_weight to each node in a tree. So effectively
408 * - ``tx_max``
417 It specifies an absolute BW. While tx_max defines the maximum
H A Ddevlink-port.rst410 ``tx_max``
430 to all node children limits. ``tx_max`` is an upper limit for children.
/linux/drivers/net/ethernet/alibaba/eea/
H A Deea_net.c547 u32 tx_max = le32_to_cpu(hwcfg->tx_depth_max); in eea_update_cfg() local
560 tx_max > EEA_NET_IO_HW_RING_DEPTH_MAX || in eea_update_cfg()
561 tx_max < EEA_NET_IO_HW_RING_DEPTH_MIN) { in eea_update_cfg()
563 rx_max, tx_max); in eea_update_cfg()
568 tx_def > tx_max || in eea_update_cfg()
572 rx_def, rx_max, tx_def, tx_max); in eea_update_cfg()
576 if (!is_power_of_2(rx_max) || !is_power_of_2(tx_max) || in eea_update_cfg()
583 enet->cfg_hw.tx_ring_depth = tx_max; in eea_update_cfg()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-cdc_ncm7 than this to tx_max, allowing the device to receive
8 tx_max sized frames with no terminating short
13 Padding to tx_max allows the driver to transmit NTBs
19 Set to 0 to pad all frames. Set greater than tx_max to
57 What: /sys/class/net/<iface>/cdc_ncm/tx_max
/linux/drivers/net/usb/
H A Dcdc_ncm.c225 return sprintf(buf, "%u\n", ctx->tx_max); in tx_max_show()
264 cdc_ncm_update_rxtx_max(dev, val, ctx->tx_max); in rx_max_store()
308 static DEVICE_ATTR_RW(tx_max);
437 if (val != ctx->tx_max) in cdc_ncm_update_rxtx_max()
452 if (netif_running(dev->net) && val > ctx->tx_max) { in cdc_ncm_update_rxtx_max()
460 ctx->tx_max = val; in cdc_ncm_update_rxtx_max()
463 ctx->tx_max = val; in cdc_ncm_update_rxtx_max()
466 dev->hard_mtu = ctx->tx_max; in cdc_ncm_update_rxtx_max()
472 ctx->min_tx_pkt = clamp_t(u16, ctx->tx_max - 3 * usb_maxpacket(dev->udev, dev->out), in cdc_ncm_update_rxtx_max()
473 CDC_NCM_MIN_TX_PKT, ctx->tx_max); in cdc_ncm_update_rxtx_max()
[all …]
/linux/drivers/net/netdevsim/
H A Ddev.c1200 u64 tx_max, struct netlink_ext_ack *extack) in nsim_leaf_tx_max_set() argument
1207 err = nsim_rate_bytes_to_units("tx_max", &tx_max, extack); in nsim_leaf_tx_max_set()
1211 nsim_dev->vfconfigs[vf_id].max_tx_rate = tx_max; in nsim_leaf_tx_max_set()
1220 u16 tx_max; member
1251 u64 tx_max, struct netlink_ext_ack *extack) in nsim_node_tx_max_set() argument
1256 err = nsim_rate_bytes_to_units("tx_max", &tx_max, extack); in nsim_node_tx_max_set()
1260 nsim_node->tx_max = tx_max; in nsim_node_tx_max_set()
1282 debugfs_create_u16("tx_max", 0400, nsim_node->ddir, &nsim_node->tx_max); in nsim_rate_node_new()
/linux/sound/soc/tegra/
H A Dtegra210_admaif.c197 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg() local
206 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_wr_reg()
231 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_rd_reg() local
242 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_rd_reg()
275 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_volatile_reg() local
284 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_volatile_reg()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c892 node->tx_max = div_u64(bw, 125); in ice_set_object_tx_max()
893 status = ice_sched_set_node_bw_lmt(pi, node, ICE_MAX_BW, node->tx_max); in ice_set_object_tx_max()
1024 u64 tx_max, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_max_set() argument
1035 node, tx_max, extack); in ice_devlink_rate_leaf_tx_max_set()
1084 u64 tx_max, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_max_set() argument
1095 node, tx_max, extack); in ice_devlink_rate_node_tx_max_set()
1193 if (devlink_rate->tx_max) in ice_devlink_set_parent()
1194 ice_set_object_tx_max(pi, node, devlink_rate->tx_max, extack); in ice_devlink_set_parent()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mac.c813 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in rt2x00mac_get_ringparam() argument
820 *tx_max += queue->limit; in rt2x00mac_get_ringparam()
/linux/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c745 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in ath5k_get_ringparam() argument
751 *tx_max = ATH5K_TXQ_LEN_MAX; in ath5k_get_ringparam()
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh870 rate_attr_tx_rate_check $r_obj tx_max $rate \
871 $DEBUGFS_DIR/ports/${r_obj##*/}/tx_max
896 rate_attr_tx_rate_check $node1 tx_max $node_tx_max \
897 $DEBUGFS_DIR/rate_nodes/${node1##*/}/tx_max
/linux/include/net/
H A Ddevlink.h112 u64 tx_max; member
1570 u64 tx_max, struct netlink_ext_ack *extack);
1581 u64 tx_max, struct netlink_ext_ack *extack);
H A Dmac80211.h4953 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
/linux/net/devlink/
H A Drate.c204 devlink_rate->tx_max)) in devlink_nl_rate_fill()
555 devlink_rate->tx_max = rate; in devlink_nl_rate_set()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c452 u8 tx_max; /* Maximum transmit sequence allowed */ member
685 return (bus->tx_max - bus->tx_seq - tx_rsv) != 0 && in data_ok()
686 ((bus->tx_max - bus->tx_seq - tx_rsv) & 0x80) == 0; in data_ok()
693 return (bus->tx_max - bus->tx_seq) != 0 && in txctl_ok()
694 ((bus->tx_max - bus->tx_seq) & 0x80) == 0; in txctl_ok()
1476 bus->tx_max = tx_seq_max; in brcmf_sdio_hdparse()
2350 pkt_num = min_t(u8, bus->tx_max - bus->tx_seq, in brcmf_sdio_sendfromq()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c871 /* update tx_max if its a re-transmit or the first wr */ in chcr_ktls_xmit_tcb_cpls()
2001 u32 tx_max = tcp_seq; in chcr_ktls_xmit() local
2005 tx_max = record->end_seq - in chcr_ktls_xmit()
2008 ret = chcr_ktls_xmit_tcb_cpls(tx_info, q, tx_max, in chcr_ktls_xmit()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_type.h581 u64 tx_max; member
H A Dice_sched.c975 new_node->tx_max = ICE_SCHED_DFLT_BW; in ice_sched_add_elems()
/linux/net/wireless/
H A Dtrace.h1929 TP_PROTO(struct wiphy *wiphy, u32 tx, u32 tx_max,
1931 TP_ARGS(wiphy, tx, tx_max, rx, rx_max),
1935 __field(u32, tx_max)
1942 __entry->tx_max = tx_max;
1947 WIPHY_PR_ARG, __entry->tx, __entry->tx_max, __entry->rx,
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h612 __be32 tx_max; member
/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c1990 req->tcb.tx_max = (__force __be32) jiffies; in send_fw_act_open_req()