Home
last modified time | relevance | path

Searched refs:tlan_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_base.c279 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
284 tlan_ctx->base = ring->dma >> ICE_TLAN_CTX_BASE_S; in ice_setup_tx_ctx()
286 tlan_ctx->port_num = vsi->port_info->lport; in ice_setup_tx_ctx()
289 tlan_ctx->qlen = ring->count; in ice_setup_tx_ctx()
291 ice_set_cgd_num(tlan_ctx, ring->dcb_tc); in ice_setup_tx_ctx()
294 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
307 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VMQ; in ice_setup_tx_ctx()
309 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_PF; in ice_setup_tx_ctx()
313 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf->vf_id; in ice_setup_tx_ctx()
314 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VF; in ice_setup_tx_ctx()
[all …]
Dice_dcb_lib.h50 ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, u8 dcb_tc) in ice_set_cgd_num() argument
52 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