Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_fw_funcs.c385 struct qm_rf_pq_map tx_pq_map; in ecore_tx_pq_map_rt_init() local
412 OSAL_MEMSET(&tx_pq_map, 0, sizeof(tx_pq_map)); in ecore_tx_pq_map_rt_init()
413 SET_FIELD(tx_pq_map.reg, QM_RF_PQ_MAP_PQ_VALID, 1); in ecore_tx_pq_map_rt_init()
414 SET_FIELD(tx_pq_map.reg, QM_RF_PQ_MAP_RL_VALID, rl_valid ? 1 : 0); in ecore_tx_pq_map_rt_init()
415 SET_FIELD(tx_pq_map.reg, QM_RF_PQ_MAP_VP_PQ_ID, first_tx_pq_id); in ecore_tx_pq_map_rt_init()
416 SET_FIELD(tx_pq_map.reg, QM_RF_PQ_MAP_RL_ID, rl_valid ? pq_params[i].vport_id : 0); in ecore_tx_pq_map_rt_init()
417 SET_FIELD(tx_pq_map.reg, QM_RF_PQ_MAP_VOQ, voq); in ecore_tx_pq_map_rt_init()
418 SET_FIELD(tx_pq_map.reg, QM_RF_PQ_MAP_WRR_WEIGHT_GROUP, pq_params[i].wrr_group); in ecore_tx_pq_map_rt_init()
421 STORE_RT_REG(p_hwfn, QM_REG_TXPQMAP_RT_OFFSET + pq_id, *((u32*)&tx_pq_map)); in ecore_tx_pq_map_rt_init()