Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c150 plat->tx_queues_cfg[0].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup()
245 &plat->tx_queues_cfg[queue].weight)) in stmmac_mtl_setup()
246 plat->tx_queues_cfg[queue].weight = 0x10 + queue; in stmmac_mtl_setup()
249 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup()
252 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; 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()
260 plat->tx_queues_cfg[queue].idle_slope = 0x0; in stmmac_mtl_setup()
262 &plat->tx_queues_cfg[queue].high_credit)) in stmmac_mtl_setup()
[all …]
Dstmmac_pci.c84 plat->tx_queues_cfg[0].use_prio = false; in common_default_data()
137 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in intel_mgbe_common_data()
140 plat->tx_queues_cfg[i].use_prio = false; in intel_mgbe_common_data()
148 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data()
149 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data()
150 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data()
151 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data()
152 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data()
153 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data()
154 plat->tx_queues_cfg[6].weight = 0x0F; in intel_mgbe_common_data()
[all …]
Dstmmac_tc.c327 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs()
333 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs()
344 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs()
347 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs()
350 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs()
353 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs()
356 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs()
357 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs()
358 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs()
359 priv->plat->tx_queues_cfg[queue].low_credit, in tc_setup_cbs()
Dstmmac_main.c1867 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode()
2033 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode()
2339 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight()
2357 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs()
2362 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs()
2363 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs()
2364 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs()
2365 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs()
2419 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio()
2422 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio()
/Linux-v5.4/include/linux/
Dstmmac.h161 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member