Searched refs:tx_queues_cfg (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_platform.c | 147 plat->tx_queues_cfg[0].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup() 231 &plat->tx_queues_cfg[queue].weight)) in stmmac_mtl_setup() 232 plat->tx_queues_cfg[queue].weight = 0x10 + queue; in stmmac_mtl_setup() 235 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in stmmac_mtl_setup() 238 plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in stmmac_mtl_setup() 242 &plat->tx_queues_cfg[queue].send_slope)) in stmmac_mtl_setup() 243 plat->tx_queues_cfg[queue].send_slope = 0x0; in stmmac_mtl_setup() 245 &plat->tx_queues_cfg[queue].idle_slope)) in stmmac_mtl_setup() 246 plat->tx_queues_cfg[queue].idle_slope = 0x0; in stmmac_mtl_setup() 248 &plat->tx_queues_cfg[queue].high_credit)) in stmmac_mtl_setup() [all …]
|
| H A D | stmmac_pci.c | 71 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in snps_gmac5_default_data() 72 plat->tx_queues_cfg[i].weight = 25; in snps_gmac5_default_data() 74 plat->tx_queues_cfg[i].tbs_en = 1; in snps_gmac5_default_data()
|
| H A D | stmmac_tc.c | 375 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in tc_setup_cbs() 381 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; in tc_setup_cbs() 388 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; in tc_setup_cbs() 394 priv->plat->tx_queues_cfg[queue].idle_slope = value & GENMASK(31, 0); in tc_setup_cbs() 397 priv->plat->tx_queues_cfg[queue].send_slope = value & GENMASK(31, 0); in tc_setup_cbs() 400 priv->plat->tx_queues_cfg[queue].high_credit = value & GENMASK(31, 0); in tc_setup_cbs() 403 priv->plat->tx_queues_cfg[queue].low_credit = value & GENMASK(31, 0); in tc_setup_cbs() 406 priv->plat->tx_queues_cfg[queue].send_slope, in tc_setup_cbs() 407 priv->plat->tx_queues_cfg[queue].idle_slope, in tc_setup_cbs() 408 priv->plat->tx_queues_cfg[queue].high_credit, in tc_setup_cbs() [all …]
|
| H A D | dwmac-intel.c | 616 plat->tx_queues_cfg[i].mode_to_use = MTL_QUEUE_DCB; in intel_mgbe_common_data() 620 plat->tx_queues_cfg[i].tbs_en = 1; in intel_mgbe_common_data() 628 plat->tx_queues_cfg[0].weight = 0x09; in intel_mgbe_common_data() 629 plat->tx_queues_cfg[1].weight = 0x0A; in intel_mgbe_common_data() 630 plat->tx_queues_cfg[2].weight = 0x0B; in intel_mgbe_common_data() 631 plat->tx_queues_cfg[3].weight = 0x0C; in intel_mgbe_common_data() 632 plat->tx_queues_cfg[4].weight = 0x0D; in intel_mgbe_common_data() 633 plat->tx_queues_cfg[5].weight = 0x0E; in intel_mgbe_common_data() 634 plat->tx_queues_cfg[6].weight = 0x0F; in intel_mgbe_common_data() 635 plat->tx_queues_cfg[7].weight = 0x10; in intel_mgbe_common_data()
|
| H A D | stmmac_fpe.c | 235 queue_weight = priv->plat->tx_queues_cfg[offset].weight; in dwmac5_fpe_map_preemption_class() 238 if (priv->plat->tx_queues_cfg[offset + i].weight != in dwmac5_fpe_map_preemption_class()
|
| H A D | dwmac-socfpga.c | 582 plat_dat->tx_queues_cfg[7].tbs_en = true; in socfpga_agilex5_setup_plat_dat() 585 plat_dat->tx_queues_cfg[6].tbs_en = true; in socfpga_agilex5_setup_plat_dat()
|
| H A D | dwmac-imx.c | 333 plat_dat->tx_queues_cfg[i].tbs_en = 1; in imx_dwmac_probe()
|
| H A D | stmmac_main.c | 2588 qmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_dma_operation_mode() 2651 bool csum = !priv->plat->tx_queues_cfg[queue].coe_unsupported; in stmmac_xdp_xmit_zc() 3016 u8 txqmode = priv->plat->tx_queues_cfg[chan].mode_to_use; in stmmac_set_dma_operation_mode() 3418 weight = priv->plat->tx_queues_cfg[queue].weight; in stmmac_set_tx_queue_weight() 3436 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; in stmmac_configure_cbs() 3441 priv->plat->tx_queues_cfg[queue].send_slope, in stmmac_configure_cbs() 3442 priv->plat->tx_queues_cfg[queue].idle_slope, in stmmac_configure_cbs() 3443 priv->plat->tx_queues_cfg[queue].high_credit, in stmmac_configure_cbs() 3444 priv->plat->tx_queues_cfg[queue].low_credit, in stmmac_configure_cbs() 3498 if (!priv->plat->tx_queues_cfg[queue].use_prio) in stmmac_mac_config_tx_queues_prio() [all …]
|
| H A D | dwmac-loongson.c | 118 plat->tx_queues_cfg[i].coe_unsupported = 1; in loongson_default_data()
|
| H A D | dwmac-mediatek.c | 593 plat->tx_queues_cfg[i].tbs_en = 1; in mediatek_dwmac_common_data()
|
| H A D | dwmac-qcom-ethqos.c | 833 plat_dat->tx_queues_cfg[i].tbs_en = 1; in qcom_ethqos_probe()
|
| /linux/include/linux/ |
| H A D | stmmac.h | 253 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES]; member
|
| /linux/Documentation/networking/device_drivers/ethernet/stmicro/ |
| H A D | stmmac.rst | 432 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
|