Searched refs:prio_queues (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 920 u32 prio_queues = 0; in get_priority_queues() local 923 prio_queues |= BIT(rqpn->dma_map_vo); in get_priority_queues() 925 prio_queues |= BIT(rqpn->dma_map_vi); in get_priority_queues() 927 prio_queues |= BIT(rqpn->dma_map_be); in get_priority_queues() 929 prio_queues |= BIT(rqpn->dma_map_bk); in get_priority_queues() 931 return prio_queues; in get_priority_queues() 972 u32 prio_queues, bool drop) in rtw_mac_flush_prio_queues() argument 977 if (prio_queues & BIT(q)) in rtw_mac_flush_prio_queues() 983 u32 prio_queues = 0; in rtw_mac_flush_queues() local 990 prio_queues = BIT(RTW_DMA_MAPPING_MAX) - 1; in rtw_mac_flush_queues() [all …]
|
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 2456 unsigned int count, prio_queues; in xgbe_get_pfc_queues() local 2463 prio_queues = XGMAC_PRIO_QUEUES(pdata->rx_q_count); in xgbe_get_pfc_queues() 2464 for (i = 0; i < prio_queues; i++) { in xgbe_get_pfc_queues() 2480 unsigned int prio_queues; in xgbe_calculate_dcb_fifo() local 2485 prio_queues = XGMAC_PRIO_QUEUES(pdata->rx_q_count); in xgbe_calculate_dcb_fifo() 2488 if (!pfc_count || ((q_fifo_size * prio_queues) > fifo_size)) { in xgbe_calculate_dcb_fifo() 2490 xgbe_calculate_equal_fifo(fifo_size, prio_queues, fifo); in xgbe_calculate_dcb_fifo() 2495 rem_fifo = fifo_size - (q_fifo_size * prio_queues); in xgbe_calculate_dcb_fifo() 2515 i = prio_queues; in xgbe_calculate_dcb_fifo() 2538 unsigned int inc_fifo = rem_fifo / prio_queues; in xgbe_calculate_dcb_fifo() [all …]
|
/linux-6.1.9/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-hw.c | 1506 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()
|