Drivers: hv: vmbus: Add utility function for querying ring size
[ Upstream commit e8c4bd6c ] Add a function to query for the preferred ring buffer size of VMBus device. This will allow the drivers (eg. UIO) to allocate the most optimized ring buffer size for devices. Signed-off-by:Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by:
Long Li <longli@microsoft.com> Link: https://lore.kernel.org/r/1711788723-8593-2-git-send-email-ssengar@linux.microsoft.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 0315fef2 ("uio_hv_generic: Align ring size to system page") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading