Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_base.c413 struct ice_rlan_ctx rlan_ctx; in ice_setup_rx_ctx() local
424 memset(&rlan_ctx, 0, sizeof(rlan_ctx)); in ice_setup_rx_ctx()
430 rlan_ctx.base = ring->dma >> ICE_RLAN_BASE_S; in ice_setup_rx_ctx()
432 rlan_ctx.qlen = ring->count; in ice_setup_rx_ctx()
437 rlan_ctx.dbuf = DIV_ROUND_UP(ring->rx_buf_len, in ice_setup_rx_ctx()
441 rlan_ctx.dsize = 1; in ice_setup_rx_ctx()
446 rlan_ctx.crcstrip = !(ring->flags & ICE_RX_FLAGS_CRC_STRIP_DIS); in ice_setup_rx_ctx()
459 rlan_ctx.l2tsel = 1; in ice_setup_rx_ctx()
461 rlan_ctx.l2tsel = 0; in ice_setup_rx_ctx()
463 rlan_ctx.l2tsel = 1; in ice_setup_rx_ctx()
[all …]
H A Dice_common.h56 ice_write_rxq_ctx(struct ice_hw *hw, struct ice_rlan_ctx *rlan_ctx,
H A Dice_common.c1469 ice_write_rxq_ctx(struct ice_hw *hw, struct ice_rlan_ctx *rlan_ctx, in ice_write_rxq_ctx() argument
1474 if (!rlan_ctx) in ice_write_rxq_ctx()
1477 rlan_ctx->prefena = 1; in ice_write_rxq_ctx()
1479 ice_set_ctx(hw, (u8 *)rlan_ctx, ctx_buf, ice_rlan_ctx_info); in ice_write_rxq_ctx()