Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c152 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.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()
Ddwmac-intel.c442 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 …]
Dstmmac_tc.c384 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 …]
Ddwmac-loongson.c32 plat->tx_queues_cfg[0].use_prio = false; in loongson_default_data()
Dstmmac_main.c2324 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()
2988 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight()
3006 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs()
3011 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs()
3012 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs()
3013 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs()
3014 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs()
3068 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio()
3071 prio = priv->plat->tx_queues_cfg[queue].prio; in stmmac_mac_config_tx_queues_prio()
[all …]
Ddwmac-mediatek.c644 plat->tx_queues_cfg[i].tbs_en = 1; in mediatek_dwmac_common_data()
/linux-5.19.10/include/linux/
Dstmmac.h224 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
/linux-5.19.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];