Skip to content

Commit

Permalink
ON-15658: fix zf_emu following ef_vi changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Seymour committed May 3, 2024
1 parent 8de2930 commit 85cf55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/zf/private/zf_emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,7 @@ static int emu_ef_vi_alloc_from_pd(ef_vi* vi, ef_driver_handle vi_dh,
vi->vi_rxq.mask = evi->rxq.total_buffers - 1;
evi->rxq.superbuf_pkts = 512;
evi->rxq.rollover_pkts = 1031; /* arbitrary, not a multiple of superbuf_pkts */
evi->ep_state.rxq.rxq_ptr[0].next = 1 + evi->rxq.superbuf_pkts;
evi->ep_state.rxq.rxq_ptr[0].meta_pkt = 1 + evi->rxq.superbuf_pkts;
evi->rxq.ptr = EFCT_RX_HEADER_NEXT_FRAME_LOC_1;

/* wrapping big_buf_ptr */
Expand Down

0 comments on commit 85cf55a

Please sign in to comment.