Searched refs:tlan_ctx (Results 1 – 2 of 2) sorted by relevance
291 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument296 tlan_ctx->base = ring->dma >> ICE_TLAN_CTX_BASE_S; in ice_setup_tx_ctx()298 tlan_ctx->port_num = vsi->port_info->lport; in ice_setup_tx_ctx()301 tlan_ctx->qlen = ring->count; in ice_setup_tx_ctx()303 ice_set_cgd_num(tlan_ctx, ring->dcb_tc); in ice_setup_tx_ctx()306 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()319 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VMQ; in ice_setup_tx_ctx()321 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_PF; in ice_setup_tx_ctx()325 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf->vf_id; in ice_setup_tx_ctx()326 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VF; in ice_setup_tx_ctx()[all …]
50 ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, u8 dcb_tc) in ice_set_cgd_num() argument52 tlan_ctx->cgd_num = dcb_tc; in ice_set_cgd_num()136 static inline void ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, u8 dcb_tc) { } in ice_set_cgd_num() argument