Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ice/
H A Dice_base.c343 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
350 tlan_ctx->base = ring->dma >> ICE_TLAN_CTX_BASE_S; in ice_setup_tx_ctx()
351 tlan_ctx->port_num = vsi->port_info->lport; in ice_setup_tx_ctx()
354 tlan_ctx->qlen = ring->count; in ice_setup_tx_ctx()
356 ice_set_cgd_num(tlan_ctx, ring->dcb_tc); in ice_setup_tx_ctx()
359 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
361 err = ice_set_txq_ctx_vmvf(ring, &tlan_ctx->vmvf_type, in ice_setup_tx_ctx()
362 &tlan_ctx->vmvf_num); in ice_setup_tx_ctx()
368 tlan_ctx->src_vsi = ring->ch->vsi_num; in ice_setup_tx_ctx()
370 tlan_ctx->src_vsi = ice_get_hw_vsi_num(hw, vsi->idx); in ice_setup_tx_ctx()
[all …]
H A Dice_dcb_lib.h53 ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, u8 dcb_tc) in ice_set_cgd_num() argument
55 tlan_ctx->cgd_num = dcb_tc; in ice_set_cgd_num()
139 static inline void ice_set_cgd_num(struct ice_tlan_ctx *tlan_ctx, u8 dcb_tc) { } in ice_set_cgd_num() argument
H A Dice_common.h123 int ice_read_txq_ctx(struct ice_hw *hw, struct ice_tlan_ctx *tlan_ctx,
125 int ice_write_txq_ctx(struct ice_hw *hw, struct ice_tlan_ctx *tlan_ctx,
H A Dice_common.c1662 int ice_read_txq_ctx(struct ice_hw *hw, struct ice_tlan_ctx *tlan_ctx, in ice_read_txq_ctx() argument
1671 ice_unpack_txq_ctx_full(&buf, tlan_ctx); in ice_read_txq_ctx()
1687 int ice_write_txq_ctx(struct ice_hw *hw, struct ice_tlan_ctx *tlan_ctx, in ice_write_txq_ctx() argument
1695 ice_pack_txq_ctx_full(tlan_ctx, &buf); in ice_write_txq_ctx()