Home
last modified time | relevance | path

Searched refs:rlan_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_base.c383 struct ice_rlan_ctx rlan_ctx; in ice_setup_rx_ctx() local
394 memset(&rlan_ctx, 0, sizeof(rlan_ctx)); in ice_setup_rx_ctx()
400 rlan_ctx.base = ring->dma >> ICE_RLAN_BASE_S; in ice_setup_rx_ctx()
402 rlan_ctx.qlen = ring->count; in ice_setup_rx_ctx()
407 rlan_ctx.dbuf = DIV_ROUND_UP(ring->rx_buf_len, in ice_setup_rx_ctx()
411 rlan_ctx.dsize = 1; in ice_setup_rx_ctx()
416 rlan_ctx.crcstrip = !(ring->flags & ICE_RX_FLAGS_CRC_STRIP_DIS); in ice_setup_rx_ctx()
429 rlan_ctx.l2tsel = 1; in ice_setup_rx_ctx()
431 rlan_ctx.l2tsel = 0; in ice_setup_rx_ctx()
433 rlan_ctx.l2tsel = 1; in ice_setup_rx_ctx()
[all …]
Dice_common.h78 int ice_write_rxq_ctx(struct ice_hw *hw, struct ice_rlan_ctx *rlan_ctx,
Dice_common.c1426 int ice_write_rxq_ctx(struct ice_hw *hw, struct ice_rlan_ctx *rlan_ctx, in ice_write_rxq_ctx() argument
1431 if (!rlan_ctx) in ice_write_rxq_ctx()
1434 rlan_ctx->prefena = 1; in ice_write_rxq_ctx()
1436 ice_set_ctx(hw, (u8 *)rlan_ctx, ctx_buf, ice_rlan_ctx_info); in ice_write_rxq_ctx()