Home
last modified time | relevance | path

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

/openbmc/linux/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.c439 plat->tx_queues_cfg[0].use_prio = false; in common_default_data()
490 plat->tx_queues_cfg[i].use_prio = false; in intel_mgbe_common_data()
493 plat->tx_queues_cfg[i].tbs_en = 1; in intel_mgbe_common_data()
501 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data()
502 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data()
503 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data()
504 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data()
505 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data()
506 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data()
507 plat->tx_queues_cfg[6].weight = 0x0F; in intel_mgbe_common_data()
[all …]
H A Dstmmac_tc.c385 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs()
391 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs()
398 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in tc_setup_cbs()
403 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs()
406 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs()
409 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs()
412 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs()
415 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs()
416 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs()
417 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs()
[all …]
H A Ddwmac-loongson.c32 plat->tx_queues_cfg[0].use_prio = false; in loongson_default_data()
H A Dstmmac_main.c2412 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode()
2756 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode()
3085 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight()
3108 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs()
3109 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs()
3110 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs()
3111 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs()
3165 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio()
3168 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio()
3771 int tbs_en = priv->plat->tx_queues_cfg[chan].tbs_en; in stmmac_setup_dma_desc()
[all …]
H A Ddwmac-mediatek.c621 plat->tx_queues_cfg[i].tbs_en = 1; in mediatek_dwmac_common_data()
/openbmc/linux/include/linux/
H A Dstmmac.h273 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
/openbmc/linux/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];