const efx_nic_cfg_t *encp = efx_nic_cfg_get(enp);
efx_mcdi_init_rxq_params_t params;
efx_rx_prefix_layout_t erpl;
+ uint32_t fields_mask = 0;
efx_rc_t rc;
_NOTE(ARGUNUSED(id))
* which fields are required or may be allow to request so-called
* default Rx prefix (which ID is equal to 0).
*/
- if ((rc = rhead_rx_choose_prefix_id(enp,
- (1U << EFX_RX_PREFIX_FIELD_LENGTH), &erpl)) != 0)
+ fields_mask |= 1U << EFX_RX_PREFIX_FIELD_LENGTH;
+ if ((rc = rhead_rx_choose_prefix_id(enp, fields_mask, &erpl)) != 0)
goto fail3;
params.prefix_id = erpl.erpl_id;