Searched refs:tx_queues_cfg (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_platform.c | 151 plat->tx_queues_cfg[0].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup() 246 &plat->tx_queues_cfg[queue].weight)) in stmmac_mtl_setup() 247 plat->tx_queues_cfg[queue].weight = 0x10 + queue; in stmmac_mtl_setup() 250 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup() 253 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in stmmac_mtl_setup() 257 &plat->tx_queues_cfg[queue].send_slope)) in stmmac_mtl_setup() 258 plat->tx_queues_cfg[queue].send_slope = 0x0; in stmmac_mtl_setup() 260 &plat->tx_queues_cfg[queue].idle_slope)) in stmmac_mtl_setup() 261 plat->tx_queues_cfg[queue].idle_slope = 0x0; in stmmac_mtl_setup() 263 &plat->tx_queues_cfg[queue].high_credit)) in stmmac_mtl_setup() [all …]
|
D | dwmac-intel.c | 226 plat->tx_queues_cfg[0].use_prio = false; in common_default_data() 259 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in intel_mgbe_common_data() 262 plat->tx_queues_cfg[i].use_prio = false; in intel_mgbe_common_data() 270 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data() 271 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data() 272 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data() 273 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data() 274 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data() 275 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data() 276 plat->tx_queues_cfg[6].weight = 0x0F; in intel_mgbe_common_data() [all …]
|
D | stmmac_pci.c | 44 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()
|
D | stmmac_tc.c | 325 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs() 331 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs() 342 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs() 345 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs() 348 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs() 351 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs() 354 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs() 355 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs() 356 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs() 357 priv->plat->tx_queues_cfg[queue].low_credit, in tc_setup_cbs()
|
D | stmmac_main.c | 1952 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode() 2116 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode() 2431 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight() 2449 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs() 2454 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs() 2455 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs() 2456 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs() 2457 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs() 2511 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio() 2514 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio() [all …]
|
/Linux-v5.10/include/linux/ |
D | stmmac.h | 179 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
|
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/stmicro/ |
D | stmmac.rst | 432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
|