Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_base.c226 ice_setup_tx_ctx(struct ice_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
231 tlan_ctx->base = ring->dma >> ICE_TLAN_CTX_BASE_S; in ice_setup_tx_ctx()
233 tlan_ctx->port_num = vsi->port_info->lport; in ice_setup_tx_ctx()
236 tlan_ctx->qlen = ring->count; in ice_setup_tx_ctx()
238 ice_set_cgd_num(tlan_ctx, ring); in ice_setup_tx_ctx()
241 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
253 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_PF; in ice_setup_tx_ctx()
257 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf_id; in ice_setup_tx_ctx()
258 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VF; in ice_setup_tx_ctx()
265 tlan_ctx->src_vsi = ice_get_hw_vsi_num(hw, vsi->idx); in ice_setup_tx_ctx()
[all …]
Dice_dcb_lib.h52 ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, struct ice_ring *ring) in ice_set_cgd_num() argument
54 tlan_ctx->cgd_num = ring->dcb_tc; in ice_set_cgd_num()
120 #define ice_set_cgd_num(tlan_ctx, ring) do {} while (0) argument