Searched refs:tx_queues_cfg (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_platform.c | 152 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 …]
|
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 | dwmac-intel.c | 441 plat->tx_queues_cfg[0].use_prio = false; in common_default_data() 490 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in intel_mgbe_common_data() 493 plat->tx_queues_cfg[i].use_prio = false; in intel_mgbe_common_data() 496 plat->tx_queues_cfg[i].tbs_en = 1; in intel_mgbe_common_data() 504 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data() 505 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data() 506 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data() 507 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data() 508 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data() 509 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data() [all …]
|
D | stmmac_tc.c | 384 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs() 390 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs() 397 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in tc_setup_cbs() 402 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs() 405 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs() 408 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs() 411 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs() 414 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs() 415 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs() 416 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs() [all …]
|
D | dwmac-loongson.c | 32 plat->tx_queues_cfg[0].use_prio = false; in loongson_default_data()
|
D | stmmac_main.c | 2397 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode() 2733 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode() 3058 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight() 3076 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs() 3081 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs() 3082 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs() 3083 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs() 3084 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs() 3138 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio() 3141 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio() [all …]
|
D | dwmac-mediatek.c | 618 plat->tx_queues_cfg[i].tbs_en = 1; in mediatek_dwmac_common_data()
|
/linux-6.1.9/include/linux/ |
D | stmmac.h | 224 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
|
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/stmicro/ |
D | stmmac.rst | 432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
|