MCPcopy Create free account
hub / github.com/F-Stack/f-stack / async_iter_cancel

Function async_iter_cancel

dpdk/lib/vhost/virtio_net.c:1113–1122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111}
1112
1113static __rte_always_inline void
1114async_iter_cancel(struct vhost_async *async)
1115{
1116 struct vhost_iov_iter *iter;
1117
1118 iter = async->iov_iter + async->iter_idx;
1119 async->iovec_idx -= iter->nr_segs;
1120 iter->nr_segs = 0;
1121 iter->iov = NULL;
1122}
1123
1124static __rte_always_inline void
1125async_iter_reset(struct vhost_async *async)

Callers 2

mbuf_to_descFunction · 0.85
desc_to_mbufFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected