Lines Matching refs:tlan_ctx
70 struct ice_tlan_ctx *tlan_ctx, u16 pf_q);
1587 ice_setup_tx_ctx(struct ice_tx_queue *txq, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
1593 tlan_ctx->port_num = hw->port_info->lport; in ice_setup_tx_ctx()
1596 tlan_ctx->qlen = txq->desc_count; in ice_setup_tx_ctx()
1599 tlan_ctx->base = txq->tx_paddr >> 7; in ice_setup_tx_ctx()
1601 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
1605 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_PF; in ice_setup_tx_ctx()
1608 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VMQ; in ice_setup_tx_ctx()
1614 tlan_ctx->src_vsi = ice_get_hw_vsi_num(hw, vsi->idx); in ice_setup_tx_ctx()
1617 tlan_ctx->tso_ena = 1; in ice_setup_tx_ctx()
1618 tlan_ctx->internal_usage_flag = 1; in ice_setup_tx_ctx()
1620 tlan_ctx->tso_qnum = pf_q; in ice_setup_tx_ctx()
1626 tlan_ctx->legacy_int = 1; in ice_setup_tx_ctx()
1629 tlan_ctx->wb_mode = 0; in ice_setup_tx_ctx()
1660 struct ice_tlan_ctx tlan_ctx = { 0 }; in ice_cfg_vsi_for_tx() local
1666 err = ice_setup_tx_ctx(txq, &tlan_ctx, pf_q); in ice_cfg_vsi_for_tx()
1670 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg->txqs[0].txq_ctx, in ice_cfg_vsi_for_tx()