Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_base.c79 static int ice_pf_rxq_wait(struct ice_pf *pf, int pf_q, bool ena) in ice_pf_rxq_wait() argument
84 if (ena == !!(rd32(&pf->hw, QRX_CTRL(pf_q)) & in ice_pf_rxq_wait()
279 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
339 tlan_ctx->tso_qnum = pf_q; in ice_setup_tx_ctx()
377 u16 pf_q; in ice_setup_rx_ctx() local
383 pf_q = vsi->rxq_map[ring->q_index]; in ice_setup_rx_ctx()
458 ice_write_qrxflxp_cntxt(hw, pf_q, rxdid, 0x3, true); in ice_setup_rx_ctx()
460 ice_write_qrxflxp_cntxt(hw, pf_q, ICE_RXDID_LEGACY_1, 0x3, in ice_setup_rx_ctx()
464 err = ice_write_rxq_ctx(hw, &rlan_ctx, pf_q); in ice_setup_rx_ctx()
467 pf_q, err); in ice_setup_rx_ctx()
[all …]
Dice_lib.h79 ice_write_qrxflxp_cntxt(struct ice_hw *hw, u16 pf_q, u32 rxdid, u32 prio,
Dice_lib.c1870 ice_write_qrxflxp_cntxt(struct ice_hw *hw, u16 pf_q, u32 rxdid, u32 prio, in ice_write_qrxflxp_cntxt() argument
1873 int regval = rd32(hw, QRXFLXP_CNTXT(pf_q)); in ice_write_qrxflxp_cntxt()
1890 wr32(hw, QRXFLXP_CNTXT(pf_q), regval); in ice_write_qrxflxp_cntxt()
2256 int pf_q; in ice_vsi_is_rx_queue_active() local
2258 pf_q = vsi->rxq_map[i]; in ice_vsi_is_rx_queue_active()
2259 rx_reg = rd32(hw, QRX_CTRL(pf_q)); in ice_vsi_is_rx_queue_active()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_main.c3429 u16 pf_q = vsi->base_queue + ring->queue_index; in i40e_configure_tx_ring() local
3485 err = i40e_clear_lan_tx_queue_context(hw, pf_q); in i40e_configure_tx_ring()
3489 ring->queue_index, pf_q, err); in i40e_configure_tx_ring()
3494 err = i40e_set_lan_tx_queue_context(hw, pf_q, &tx_ctx); in i40e_configure_tx_ring()
3498 ring->queue_index, pf_q, err); in i40e_configure_tx_ring()
3524 wr32(hw, I40E_QTX_CTL(pf_q), qtx_ctl); in i40e_configure_tx_ring()
3528 ring->tail = hw->hw_addr + I40E_QTX_TAIL(pf_q); in i40e_configure_tx_ring()
3554 u16 pf_q = vsi->base_queue + ring->queue_index; in i40e_configure_rx_ring() local
3625 err = i40e_clear_lan_rx_queue_context(hw, pf_q); in i40e_configure_rx_ring()
3629 ring->queue_index, pf_q, err); in i40e_configure_rx_ring()
[all …]
Di40e.h1184 int i40e_control_wait_tx_q(int seid, struct i40e_pf *pf, int pf_q, bool is_xdp,
1186 int i40e_control_wait_rx_q(struct i40e_pf *pf, int pf_q, bool enable);