/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | qos.h | 16 u64 tx_max, struct netlink_ext_ack *extack); 20 u64 tx_max, struct netlink_ext_ack *extack);
|
H A D | qos.c | 812 u64 tx_max, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_leaf_tx_max_set() argument 822 err = esw_qos_devlink_rate_to_mbps(vport->dev, "tx_max", &tx_max, extack); in mlx5_esw_devlink_rate_leaf_tx_max_set() 831 err = esw_qos_set_vport_max_rate(esw, vport, tx_max, extack); in mlx5_esw_devlink_rate_leaf_tx_max_set() 856 u64 tx_max, struct netlink_ext_ack *extack) in mlx5_esw_devlink_rate_node_tx_max_set() argument 863 err = esw_qos_devlink_rate_to_mbps(dev, "tx_max", &tx_max, extack); in mlx5_esw_devlink_rate_node_tx_max_set() 868 err = esw_qos_set_group_max_rate(esw, group, tx_max, extack); in mlx5_esw_devlink_rate_node_tx_max_set()
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | netdevsim.rst | 67 - 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 D | ice.rst | 288 tx_max, tx_priority and tx_weight to each node in a tree. So effectively 316 * - ``tx_max`` 325 It specifies an absolute BW. While tx_max defines the maximum
|
H A D | devlink-port.rst | 365 ``tx_max`` 385 to all node children limits. ``tx_max`` is an upper limit for children.
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net-cdc_ncm | 7 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
|
/openbmc/linux/drivers/net/can/ |
H A D | xilinx_can.c | 211 unsigned int tx_max; member 633 can_put_echo_skb(skb, ndev, priv->tx_head % priv->tx_max, 0); in xcan_write_frame() 695 if (priv->tx_max > 1) in xcan_start_xmit_fifo() 699 if ((priv->tx_head - priv->tx_tail) == priv->tx_max) in xcan_start_xmit_fifo() 1300 WARN_ON(frames_in_fifo > priv->tx_max); in xcan_tx_interrupt() 1330 priv->tx_max, NULL); in xcan_tx_interrupt() 1733 int rx_max, tx_max; in xcan_probe() local 1787 tx_max = min(hw_tx_max, 2U); in xcan_probe() 1789 tx_max = 1; in xcan_probe() 1794 ndev = alloc_candev(sizeof(struct xcan_priv), tx_max); in xcan_probe() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | cdc_ncm.c | 225 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 …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra210_admaif.c | 90 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()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | dev.c | 1192 u64 tx_max, struct netlink_ext_ack *extack) in nsim_leaf_tx_max_set() argument 1199 err = nsim_rate_bytes_to_units("tx_max", &tx_max, extack); in nsim_leaf_tx_max_set() 1203 nsim_dev->vfconfigs[vf_id].max_tx_rate = tx_max; in nsim_leaf_tx_max_set() 1212 u16 tx_max; member 1230 u64 tx_max, struct netlink_ext_ack *extack) in nsim_node_tx_max_set() argument 1235 err = nsim_rate_bytes_to_units("tx_max", &tx_max, extack); in nsim_node_tx_max_set() 1239 nsim_node->tx_max = tx_max; in nsim_node_tx_max_set() 1261 debugfs_create_u16("tx_max", 0400, nsim_node->ddir, &nsim_node->tx_max); in nsim_rate_node_new()
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | mactest.c | 1033 p_eng->io.mac12_1g_delay.tx_max = 63; in init_mac_engine() 1043 p_eng->io.mac12_100m_delay.tx_max = 63; in init_mac_engine() 1048 p_eng->io.mac12_10m_delay.tx_max = 63; in init_mac_engine() 1054 p_eng->io.mac34_1g_delay.tx_max = 63; in init_mac_engine() 1063 p_eng->io.mac34_100m_delay.tx_max = 63; in init_mac_engine() 1068 p_eng->io.mac34_10m_delay.tx_max = 63; in init_mac_engine() 1079 p_eng->io.mac12_1g_delay.tx_max = 63; in init_mac_engine() 1088 p_eng->io.mac12_100m_delay.tx_max = 63; in init_mac_engine() 1093 p_eng->io.mac12_10m_delay.tx_max = 63; in init_mac_engine()
|
H A D | mac.c | 394 int32_t tx_max, rx_max; in mac_get_max_available_delay() local 398 tx_max = p_eng->io.mac34_1g_delay.tx_max; in mac_get_max_available_delay() 401 tx_max = p_eng->io.mac12_1g_delay.tx_max; in mac_get_max_available_delay() 406 tx_max = p_eng->io.mac34_1g_delay.rmii_tx_max; in mac_get_max_available_delay() 409 tx_max = p_eng->io.mac12_1g_delay.rmii_tx_max; in mac_get_max_available_delay() 413 *p_tx_d = tx_max; in mac_get_max_available_delay() 766 int32_t rx_min, rx_max, tx_min, tx_max; in mac_set_scan_boundary() local 775 mac_get_max_available_delay(p_eng, &rx_max, &tx_max); in mac_set_scan_boundary() 798 p_eng->io.tx_delay_scan.end = tx_max >> tx_scaling; in mac_set_scan_boundary() 829 if (p_eng->io.tx_delay_scan.end > tx_max) in mac_set_scan_boundary() [all …]
|
H A D | comminf.h | 620 int32_t tx_max; member 633 int32_t tx_max; member
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 906 node->tx_max = div_u64(bw, 125); in ice_set_object_tx_max() 907 status = ice_sched_set_node_bw_lmt(pi, node, ICE_MAX_BW, node->tx_max); in ice_set_object_tx_max() 1038 u64 tx_max, struct netlink_ext_ack *extack) in ice_devlink_rate_leaf_tx_max_set() argument 1049 node, tx_max, extack); in ice_devlink_rate_leaf_tx_max_set() 1098 u64 tx_max, struct netlink_ext_ack *extack) in ice_devlink_rate_node_tx_max_set() argument 1109 node, tx_max, extack); in ice_devlink_rate_node_tx_max_set() 1207 if (devlink_rate->tx_max) in ice_devlink_set_parent() 1208 ice_set_object_tx_max(pi, node, devlink_rate->tx_max, extack); in ice_devlink_set_parent()
|
/openbmc/linux/include/linux/usb/ |
H A D | cdc_ncm.h | 130 u32 tx_max; member
|
/openbmc/u-boot/drivers/spi/ |
H A D | designware_spi.c | 294 static inline u32 tx_max(struct dw_spi_priv *priv) in tx_max() function 325 u32 max = tx_max(priv); in dw_writer()
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | ethtool-user.h | 1990 __u32 tx_max:1; member 2008 __u32 tx_max; member 2103 __u32 tx_max:1; member 2121 __u32 tx_max; member 2190 __u32 tx_max) in ethtool_rings_set_req_set_tx_max() argument 2192 req->_present.tx_max = 1; in ethtool_rings_set_req_set_tx_max() 2193 req->tx_max = tx_max; in ethtool_rings_set_req_set_tx_max() 2324 __u32 tx_max:1; member 2335 __u32 tx_max; member 2424 __u32 tx_max:1; member [all …]
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mac.c | 811 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in rt2x00mac_get_ringparam() argument 818 *tx_max += queue->limit; in rt2x00mac_get_ringparam()
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | mac80211-ops.c | 741 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in ath5k_get_ringparam() argument 747 *tx_max = ATH5K_TXQ_LEN_MAX; in ath5k_get_ringparam()
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 640 rate_attr_tx_rate_check $r_obj tx_max $rate \ 659 rate_attr_tx_rate_check $node1 tx_max $node_tx_max \
|
/openbmc/linux/net/devlink/ |
H A D | rate.c | 116 devlink_rate->tx_max, DEVLINK_ATTR_PAD)) in devlink_nl_rate_fill() 353 devlink_rate->tx_max = rate; in devlink_nl_rate_set()
|
/openbmc/linux/include/net/ |
H A D | devlink.h | 107 u64 tx_max; member 1463 u64 tx_max, struct netlink_ext_ack *extack); 1471 u64 tx_max, struct netlink_ext_ack *extack);
|
/openbmc/linux/net/mac80211/ |
H A D | trace.h | 1337 TP_PROTO(struct ieee80211_local *local, u32 *tx, u32 *tx_max, 1340 TP_ARGS(local, tx, tx_max, rx, rx_max), 1345 __field(u32, tx_max) 1353 __entry->tx_max = *tx_max; 1361 __entry->tx, __entry->tx_max, __entry->rx, __entry->rx_max
|
H A D | driver-ops.h | 760 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in drv_get_ringparam() argument 764 trace_drv_get_ringparam(local, tx, tx_max, rx, rx_max); in drv_get_ringparam() 766 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 452 u8 tx_max; /* Maximum transmit sequence allowed */ member 684 return (bus->tx_max - bus->tx_seq - tx_rsv) != 0 && in data_ok() 685 ((bus->tx_max - bus->tx_seq - tx_rsv) & 0x80) == 0; in data_ok() 692 return (bus->tx_max - bus->tx_seq) != 0 && in txctl_ok() 693 ((bus->tx_max - bus->tx_seq) & 0x80) == 0; in txctl_ok() 1475 bus->tx_max = tx_seq_max; in brcmf_sdio_hdparse() 2348 pkt_num = min_t(u8, bus->tx_max - bus->tx_seq, in brcmf_sdio_sendfromq()
|