Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c245 &plat->tx_queues_cfg[queue].weight)) in stmmac_mtl_setup()
256 &plat->tx_queues_cfg[queue].send_slope)) in stmmac_mtl_setup()
257 plat->tx_queues_cfg[queue].send_slope = 0x0; in stmmac_mtl_setup()
259 &plat->tx_queues_cfg[queue].idle_slope)) in stmmac_mtl_setup()
262 &plat->tx_queues_cfg[queue].high_credit)) in stmmac_mtl_setup()
265 &plat->tx_queues_cfg[queue].low_credit)) in stmmac_mtl_setup()
272 &plat->tx_queues_cfg[queue].prio)) { in stmmac_mtl_setup()
273 plat->tx_queues_cfg[queue].prio = 0; in stmmac_mtl_setup()
274 plat->tx_queues_cfg[queue].use_prio = false; in stmmac_mtl_setup()
276 plat->tx_queues_cfg[queue].use_prio = true; in stmmac_mtl_setup()
[all …]
H A Dstmmac_pci.c44 plat->tx_queues_cfg[0].use_prio = false; in common_default_data()
98 plat->tx_queues_cfg[i].use_prio = false; in snps_gmac5_default_data()
99 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in snps_gmac5_default_data()
100 plat->tx_queues_cfg[i].weight = 25; in snps_gmac5_default_data()
102 plat->tx_queues_cfg[i].tbs_en = 1; in snps_gmac5_default_data()
H A Ddwmac-intel.c583 plat->tx_queues_cfg[0].use_prio = false; in common_default_data()
644 plat->tx_queues_cfg[i].use_prio = false; in intel_mgbe_common_data()
647 plat->tx_queues_cfg[i].tbs_en = 1; in intel_mgbe_common_data()
655 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data()
656 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data()
657 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data()
658 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data()
659 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data()
660 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data()
661 plat->tx_queues_cfg[6].weight = 0x0F; in intel_mgbe_common_data()
[all …]
H A Dstmmac_tc.c375 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs()
381 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs()
388 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in tc_setup_cbs()
394 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs()
397 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs()
400 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs()
403 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs()
406 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs()
407 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs()
408 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs()
[all …]
H A Ddwmac-loongson.c105 plat->tx_queues_cfg[0].use_prio = false; in loongson_default_data()
139 plat->tx_queues_cfg[i].coe_unsupported = 1; in loongson_gmac_data()
190 plat->tx_queues_cfg[i].coe_unsupported = 1; in loongson_gnet_data()
H A Dstmmac_fpe.c334 queue_weight = priv->plat->tx_queues_cfg[offset].weight; in dwmac5_fpe_map_preemption_class()
337 if (priv->plat->tx_queues_cfg[offset + i].weight != in dwmac5_fpe_map_preemption_class()
H A Ddwmac-imx.c368 plat_dat->tx_queues_cfg[i].tbs_en = 1; in imx_dwmac_probe()
H A Dstmmac_main.c2508 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode()
2935 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode()
3274 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight()
3297 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs()
3298 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs()
3299 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs()
3300 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs()
3354 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio()
3357 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio()
3978 int tbs_en = priv->plat->tx_queues_cfg[chan].tbs_en; in stmmac_setup_dma_desc()
[all …]
H A Ddwmac-mediatek.c615 plat->tx_queues_cfg[i].tbs_en = 1; in mediatek_dwmac_common_data()
H A Ddwmac-qcom-ethqos.c879 plat_dat->tx_queues_cfg[i].tbs_en = 1; in qcom_ethqos_probe()
/linux-6.15/include/linux/
H A Dstmmac.h235 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
/linux-6.15/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];