Searched refs:tx_queues_cfg (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.15/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 | stmmac_tc.c | 356 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs() 362 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs() 369 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in tc_setup_cbs() 374 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs() 377 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs() 380 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs() 383 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs() 386 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs() 387 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs() 388 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs() [all …]
|
| D | dwmac-intel.c | 436 plat->tx_queues_cfg[0].use_prio = false; in common_default_data() 483 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in intel_mgbe_common_data() 486 plat->tx_queues_cfg[i].use_prio = false; in intel_mgbe_common_data() 489 plat->tx_queues_cfg[i].tbs_en = 1; in intel_mgbe_common_data() 497 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data() 498 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data() 499 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data() 500 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data() 501 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data() 502 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data() [all …]
|
| D | dwmac-loongson.c | 32 plat->tx_queues_cfg[0].use_prio = false; in loongson_default_data()
|
| D | stmmac_main.c | 2341 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode() 2663 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode() 2996 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight() 3014 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs() 3019 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs() 3020 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs() 3021 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs() 3022 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs() 3076 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio() 3079 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio() [all …]
|
| /Linux-v5.15/include/linux/ |
| D | stmmac.h | 224 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
|
| /Linux-v5.15/Documentation/networking/device_drivers/ethernet/stmicro/ |
| D | stmmac.rst | 432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
|