Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.h16 u64 tx_max, struct netlink_ext_ack *extack);
20 u64 tx_max, struct netlink_ext_ack *extack);
Dqos.c801 u64 tx_max, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_max_set() argument
811 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_max", &tx_max, extack); in mlx5_esw_devlink_rate_leaf_tx_max_set()
820 err = esw_qos_set_vport_max_rate(esw, vport, tx_max, extack); in mlx5_esw_devlink_rate_leaf_tx_max_set()
845 u64 tx_max, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_max_set() argument
852 err = esw_qos_devlink_rate_to_mbps(dev, "tx_max", &tx_max, extack); in mlx5_esw_devlink_rate_node_tx_max_set()
857 err = esw_qos_set_group_max_rate(esw, group, tx_max, extack); in mlx5_esw_devlink_rate_node_tx_max_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.rst191 ``tx_max``
196 to all node children limits. ``tx_max`` is an upper limit for children.
/linux-6.1.9/Documentation/ABI/testing/
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-6.1.9/drivers/net/can/
Dxilinx_can.c207 unsigned int tx_max; member
627 can_put_echo_skb(skb, ndev, priv->tx_head % priv->tx_max, 0); in xcan_write_frame()
689 if (priv->tx_max > 1) in xcan_start_xmit_fifo()
693 if ((priv->tx_head - priv->tx_tail) == priv->tx_max) in xcan_start_xmit_fifo()
1294 WARN_ON(frames_in_fifo > priv->tx_max); in xcan_tx_interrupt()
1324 priv->tx_max, NULL); in xcan_tx_interrupt()
1720 int rx_max, tx_max; in xcan_probe() local
1774 tx_max = min(hw_tx_max, 2U); in xcan_probe()
1776 tx_max = 1; in xcan_probe()
1781 ndev = alloc_candev(sizeof(struct xcan_priv), tx_max); in xcan_probe()
[all …]
/linux-6.1.9/drivers/net/usb/
Dcdc_ncm.c221 return sprintf(buf, "%u\n", ctx->tx_max); in tx_max_show()
260 cdc_ncm_update_rxtx_max(dev, val, ctx->tx_max); in rx_max_store()
304 static DEVICE_ATTR_RW(tx_max);
433 if (val != ctx->tx_max) in cdc_ncm_update_rxtx_max()
448 if (netif_running(dev->net) && val > ctx->tx_max) { in cdc_ncm_update_rxtx_max()
456 ctx->tx_max = val; in cdc_ncm_update_rxtx_max()
459 ctx->tx_max = val; in cdc_ncm_update_rxtx_max()
462 dev->hard_mtu = ctx->tx_max; in cdc_ncm_update_rxtx_max()
468 ctx->min_tx_pkt = clamp_t(u16, ctx->tx_max - 3 * usb_maxpacket(dev->udev, dev->out), in cdc_ncm_update_rxtx_max()
469 CDC_NCM_MIN_TX_PKT, ctx->tx_max); in cdc_ncm_update_rxtx_max()
[all …]
/linux-6.1.9/sound/soc/tegra/
Dtegra210_admaif.c90 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg() local
99 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_wr_reg()
124 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_rd_reg() local
135 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_rd_reg()
168 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_volatile_reg() local
177 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_volatile_reg()
/linux-6.1.9/drivers/net/netdevsim/
Ddev.c1195 u64 tx_max, struct netlink_ext_ack *extack) in nsim_leaf_tx_max_set() argument
1202 err = nsim_rate_bytes_to_units("tx_max", &tx_max, extack); in nsim_leaf_tx_max_set()
1206 nsim_dev->vfconfigs[vf_id].max_tx_rate = tx_max; in nsim_leaf_tx_max_set()
1215 u16 tx_max; member
1233 u64 tx_max, struct netlink_ext_ack *extack) in nsim_node_tx_max_set() argument
1238 err = nsim_rate_bytes_to_units("tx_max", &tx_max, extack); in nsim_node_tx_max_set()
1242 nsim_node->tx_max = tx_max; in nsim_node_tx_max_set()
1264 debugfs_create_u16("tx_max", 0400, nsim_node->ddir, &nsim_node->tx_max); in nsim_rate_node_new()
/linux-6.1.9/include/linux/usb/
Dcdc_ncm.h130 u32 tx_max; member
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c742 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in ath5k_get_ringparam() argument
748 *tx_max = ATH5K_TXQ_LEN_MAX; in ath5k_get_ringparam()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c800 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in rt2x00mac_get_ringparam() argument
807 *tx_max += queue->limit; in rt2x00mac_get_ringparam()
Drt2x00.h1496 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
/linux-6.1.9/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh622 rate_attr_tx_rate_check $r_obj tx_max $rate \
641 rate_attr_tx_rate_check $node1 tx_max $node_tx_max \
/linux-6.1.9/include/net/
Ddevlink.h107 u64 tx_max; member
1495 u64 tx_max, struct netlink_ext_ack *extack);
1499 u64 tx_max, struct netlink_ext_ack *extack);
Dmac80211.h4354 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
/linux-6.1.9/net/mac80211/
Dtrace.h1328 TP_PROTO(struct ieee80211_local *local, u32 *tx, u32 *tx_max,
1331 TP_ARGS(local, tx, tx_max, rx, rx_max),
1336 __field(u32, tx_max)
1344 __entry->tx_max = *tx_max;
1352 __entry->tx, __entry->tx_max, __entry->rx, __entry->rx_max
Ddriver-ops.h703 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in drv_get_ringparam() argument
707 trace_drv_get_ringparam(local, tx, tx_max, rx, rx_max); in drv_get_ringparam()
709 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c454 u8 tx_max; /* Maximum transmit sequence allowed */ member
686 return (bus->tx_max - bus->tx_seq - tx_rsv) != 0 && in data_ok()
687 ((bus->tx_max - bus->tx_seq - tx_rsv) & 0x80) == 0; in data_ok()
694 return (bus->tx_max - bus->tx_seq) != 0 && in txctl_ok()
695 ((bus->tx_max - bus->tx_seq) & 0x80) == 0; in txctl_ok()
1477 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-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c2007 u32 tx_max = tcp_seq; in chcr_ktls_xmit() local
2011 tx_max = record->end_seq - in chcr_ktls_xmit()
2014 ret = chcr_ktls_xmit_tcb_cpls(tx_info, q, tx_max, in chcr_ktls_xmit()
/linux-6.1.9/net/wireless/
Dtrace.h1713 TP_PROTO(struct wiphy *wiphy, u32 tx, u32 tx_max,
1715 TP_ARGS(wiphy, tx, tx_max, rx, rx_max),
1719 __field(u32, tx_max)
1726 __entry->tx_max = tx_max;
1731 WIPHY_PR_ARG, __entry->tx, __entry->tx_max, __entry->rx,
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c2434 int tx_min, int tx_max) in ionic_set_vf_rate() argument
2453 vfc.maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
2459 lif->ionic->vfs[vf].maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h612 __be32 tx_max; member
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dcm.c1985 req->tcb.tx_max = (__force __be32) jiffies; in send_fw_act_open_req()
/linux-6.1.9/net/core/
Ddevlink.c1184 devlink_rate->tx_max, DEVLINK_ATTR_PAD)) in devlink_nl_rate_fill()
1955 devlink_rate->tx_max = rate; in devlink_nl_rate_set()