tools: hv: Add vmbus_bufring
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Sat, 30 Mar 2024 08:52:00 +0000 (01:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2024 12:55:53 +0000 (14:55 +0200)
commit45bab4d746510ac2bdd9102bf152db617ef96a6b
tree1f6ffeb3eede82b238a03f61ce5cd97085b5a5e1
parent547fa4ffd799ad48bf96e60efd24985adeec35de
tools: hv: Add vmbus_bufring

Common userspace interface for read/write from VMBus ringbuffer.
This implementation is open for use by any userspace driver or
application seeking direct control over VMBus ring buffers.
A significant  part of this code is borrowed from DPDK.
Link: https://github.com/DPDK/dpdk/
Currently this library is not supported for ARM64.

Signed-off-by: Mary Hardy <maryhardy@microsoft.com>
Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/1711788723-8593-5-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/vmbus_bufring.c [new file with mode: 0644]
tools/hv/vmbus_bufring.h [new file with mode: 0644]