Home
last modified time | relevance | path

Searched refs:tlan_ctx (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_base.c220 * @tlan_ctx: Pointer to the Tx LAN queue context structure to be initialized
226 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 in ice_setup_tx_ctx()
640 struct ice_tlan_ctx tlan_ctx = { 0 }; ice_vsi_cfg_txq() local
[all...]
H A 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)
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_base.c315 * @tlan_ctx: Pointer to the Tx LAN queue context structure to be initialized
321 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
326 tlan_ctx->base = ring->dma >> ICE_TLAN_CTX_BASE_S; in ice_setup_tx_ctx()
328 tlan_ctx->port_num = vsi->port_info->lport; in ice_setup_tx_ctx()
331 tlan_ctx->qlen = ring->count; in ice_setup_tx_ctx()
333 ice_set_cgd_num(tlan_ctx, ring->dcb_tc); in ice_setup_tx_ctx()
336 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
349 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_VMQ; in ice_setup_tx_ctx()
351 tlan_ctx->vmvf_type = ICE_TLAN_CTX_VMVF_TYPE_PF; in ice_setup_tx_ctx()
355 tlan_ctx in ice_setup_tx_ctx()
821 struct ice_tlan_ctx tlan_ctx = { 0 }; ice_vsi_cfg_txq() local
[all...]
H A 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

Completed in 3 milliseconds