You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider defining an iterator style poll CQ interface, which is more idiomatic and may be able to unify the old-style ibv_poll_cq interface with the new ibv_start_poll interface.
// create a iterator on cq; maybe we can pass some parameters to itletmut iter = cq.poll();// get one wc from the iteratorlet wc = iter.next().unwrap();// access the fields in wc through methods; let wr_id = wc.wr_id();// for new-style poll interface, drop iterator will invoke `ibv_end_poll`drop(iter);
The text was updated successfully, but these errors were encountered:
Consider defining an iterator style poll CQ interface, which is more idiomatic and may be able to unify the old-style
ibv_poll_cq
interface with the newibv_start_poll
interface.The text was updated successfully, but these errors were encountered: