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