Lines Matching refs:tlan_ctx
116 ice_setup_tx_ctx(struct ice_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
121 tlan_ctx->base = ring->dma >> ICE_TLAN_CTX_BASE_S; in ice_setup_tx_ctx()
123 tlan_ctx->port_num = vsi->port_info->lport; in ice_setup_tx_ctx()
126 tlan_ctx->qlen = ring->count; in ice_setup_tx_ctx()
128 ice_set_cgd_num(tlan_ctx, ring); in ice_setup_tx_ctx()
131 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
143 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_PF; in ice_setup_tx_ctx()
147 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf_id; in ice_setup_tx_ctx()
148 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VF; in ice_setup_tx_ctx()
155 tlan_ctx->src_vsi = ice_get_hw_vsi_num(hw, vsi->idx); in ice_setup_tx_ctx()
157 tlan_ctx->tso_ena = ICE_TX_LEGACY; in ice_setup_tx_ctx()
158 tlan_ctx->tso_qnum = pf_q; in ice_setup_tx_ctx()
164 tlan_ctx->legacy_int = ICE_TX_LEGACY; in ice_setup_tx_ctx()
1726 struct ice_tlan_ctx tlan_ctx = { 0 }; in ice_vsi_cfg_txq() local
1734 ice_setup_tx_ctx(ring, &tlan_ctx, pf_q); in ice_vsi_cfg_txq()
1737 ice_set_ctx((u8 *)&tlan_ctx, qg_buf->txqs[0].txq_ctx, in ice_vsi_cfg_txq()