Hi all, Recently I am reading codes of libmemlif (based on vpp19.01) ,I am a little bit confused about the fields of head/tail in struct memif_ring_t and last_head/last_tail in struct memif_queue_t.
Can anybody help to clarify the internal mechanism of the read/write operation of ring and how to move the head/tail and last_head/last_tail? I'd like to better understand this and really appreciate if anyone can help. BRs, Kevin ________________________________ This e-mail message may contain confidential or proprietary information of Mavenir Systems, Inc. or its affiliates and is intended solely for the use of the intended recipient(s). If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies in your control and contact us by e-mailing to secur...@mavenir.com. This message contains the views of its author and may not necessarily reflect the views of Mavenir Systems, Inc. or its affiliates, who employ systems to monitor email messages, but make no representation that such messages are authorized, secure, uncompromised, or free from computer viruses, malware, or other defects. Thank You
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14233): https://lists.fd.io/g/vpp-dev/message/14233 Mute This Topic: https://lists.fd.io/mt/35012940/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-