Hi,

I'm working on using libmemif in OVS.
https://patchwork.ozlabs.org/patch/1140858/

While using the API, one question I have is, when I call
  err = memif_rx_burst(dev->handle, qid, dev->rx_bufs, NETDEV_MAX_BURST, &recv);

There are 'recv' number of packets are at dev->rx_bufs, do I have to
copy the packet buffer immediately to my master side? For example, I
received 32 packets from memif_rx_burst, and I might process these
packets in different order. Once done, is there an API to free each
specific packet buffer back to memif buffer pool?

Now the memif_refill_queue() can only specify number of buffers to
refill, not which buffer.

Thanks
William
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13735): https://lists.fd.io/g/vpp-dev/message/13735
Mute This Topic: https://lists.fd.io/mt/32866729/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to