Home
last modified time | relevance | path

Searched refs:prio_queues (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireless/realtek/rtw88/
H A Dmac.c1001 u32 prio_queues = 0; in get_priority_queues() local
1004 prio_queues |= BIT(rqpn->dma_map_vo); in get_priority_queues()
1006 prio_queues |= BIT(rqpn->dma_map_vi); in get_priority_queues()
1008 prio_queues |= BIT(rqpn->dma_map_be); in get_priority_queues()
1010 prio_queues |= BIT(rqpn->dma_map_bk); in get_priority_queues()
1012 return prio_queues; in get_priority_queues()
1054 u32 prio_queues, bool drop) in rtw_mac_flush_prio_queues() argument
1059 if (prio_queues & BIT(q)) in rtw_mac_flush_prio_queues()
1065 u32 prio_queues = 0; in rtw_mac_flush_queues() local
1072 prio_queues = BIT(RTW_DMA_MAPPING_MAX) - 1; in rtw_mac_flush_queues()
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dev.c2506 unsigned int count, prio_queues; in xgbe_get_pfc_queues() local
2513 prio_queues = XGMAC_PRIO_QUEUES(pdata->rx_q_count); in xgbe_get_pfc_queues()
2514 for (i = 0; i < prio_queues; i++) { in xgbe_get_pfc_queues()
2530 unsigned int prio_queues; in xgbe_calculate_dcb_fifo() local
2535 prio_queues = XGMAC_PRIO_QUEUES(pdata->rx_q_count); in xgbe_calculate_dcb_fifo()
2538 if (!pfc_count || ((q_fifo_size * prio_queues) > fifo_size)) { in xgbe_calculate_dcb_fifo()
2540 xgbe_calculate_equal_fifo(fifo_size, prio_queues, fifo); in xgbe_calculate_dcb_fifo()
2545 rem_fifo = fifo_size - (q_fifo_size * prio_queues); in xgbe_calculate_dcb_fifo()
2565 i = prio_queues; in xgbe_calculate_dcb_fifo()
2588 unsigned int inc_fifo = rem_fifo / prio_queues; in xgbe_calculate_dcb_fifo()
[all …]
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c1506 unsigned int ppq, ppq_extra, prio, prio_queues; in xlgmac_config_queue_mapping() local
1549 prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS, in xlgmac_config_queue_mapping()
1551 ppq = IEEE_8021QAZ_MAX_TCS / prio_queues; in xlgmac_config_queue_mapping()
1552 ppq_extra = IEEE_8021QAZ_MAX_TCS % prio_queues; in xlgmac_config_queue_mapping()
1556 for (i = 0, prio = 0; i < prio_queues;) { in xlgmac_config_queue_mapping()
1574 if ((i % MAC_RQC2_Q_PER_REG) && (i != prio_queues)) in xlgmac_config_queue_mapping()