Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c147 plat->tx_queues_cfg[0].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup()
231 &plat->tx_queues_cfg[queue].weight)) in stmmac_mtl_setup()
232 plat->tx_queues_cfg[queue].weight = 0x10 + queue; in stmmac_mtl_setup()
235 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup()
238 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in stmmac_mtl_setup()
242 &plat->tx_queues_cfg[queue].send_slope)) in stmmac_mtl_setup()
243 plat->tx_queues_cfg[queue].send_slope = 0x0; in stmmac_mtl_setup()
245 &plat->tx_queues_cfg[queue].idle_slope)) in stmmac_mtl_setup()
246 plat->tx_queues_cfg[queue].idle_slope = 0x0; in stmmac_mtl_setup()
248 &plat->tx_queues_cfg[queue].high_credit)) in stmmac_mtl_setup()
[all …]
H A Dstmmac_pci.c71 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in snps_gmac5_default_data()
72 plat->tx_queues_cfg[i].weight = 25; in snps_gmac5_default_data()
74 plat->tx_queues_cfg[i].tbs_en = 1; in snps_gmac5_default_data()
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-intel.c616 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in intel_mgbe_common_data()
620 plat->tx_queues_cfg[i].tbs_en = 1; in intel_mgbe_common_data()
628 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data()
629 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data()
630 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data()
631 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data()
632 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data()
633 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data()
634 plat->tx_queues_cfg[6].weight = 0x0F; in intel_mgbe_common_data()
635 plat->tx_queues_cfg[7].weight = 0x10; in intel_mgbe_common_data()
H A Dstmmac_fpe.c235 queue_weight = priv->plat->tx_queues_cfg[offset].weight; in dwmac5_fpe_map_preemption_class()
238 if (priv->plat->tx_queues_cfg[offset + i].weight != in dwmac5_fpe_map_preemption_class()
H A Ddwmac-socfpga.c582 plat_dat->tx_queues_cfg[7].tbs_en = true; in socfpga_agilex5_setup_plat_dat()
585 plat_dat->tx_queues_cfg[6].tbs_en = true; in socfpga_agilex5_setup_plat_dat()
H A Ddwmac-imx.c333 plat_dat->tx_queues_cfg[i].tbs_en = 1; in imx_dwmac_probe()
H A Dstmmac_main.c2588 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode()
2651 bool csum = !priv->plat->tx_queues_cfg[queue].coe_unsupported; in stmmac_xdp_xmit_zc()
3016 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode()
3418 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight()
3436 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs()
3441 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs()
3442 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs()
3443 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs()
3444 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs()
3498 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio()
[all …]
H A Ddwmac-loongson.c118 plat->tx_queues_cfg[i].coe_unsupported = 1; in loongson_default_data()
H A Ddwmac-mediatek.c593 plat->tx_queues_cfg[i].tbs_en = 1; in mediatek_dwmac_common_data()
H A Ddwmac-qcom-ethqos.c833 plat_dat->tx_queues_cfg[i].tbs_en = 1; in qcom_ethqos_probe()
/linux/include/linux/
H A Dstmmac.h253 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
/linux/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];