linux/tools/hv
Naman Jain a4131a50d0 tools/hv: fcopy: Fix irregularities with size of ring buffer
Size of ring buffer, as defined in uio_hv_generic driver, is no longer
fixed to 16 KB. This creates a problem in fcopy, since this size was
hardcoded. With the change in place to make ring sysfs node actually
reflect the size of underlying ring buffer, it is safe to get the size
of ring sysfs file and use it for ring buffer size in fcopy daemon.
Fix the issue of disparity in ring buffer size, by making it dynamic
in fcopy uio daemon.

Cc: stable@vger.kernel.org
Fixes: 0315fef2af ("uio_hv_generic: Align ring size to system page")
Signed-off-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/20250711060846.9168-1-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250711060846.9168-1-namjain@linux.microsoft.com>
2025-07-15 06:25:33 +00:00
..
.gitignore tools/hv: add a .gitignore file 2024-12-09 18:44:15 +00:00
Build tools: hv: Add new fcopy application based on uio driver 2024-04-11 14:55:53 +02:00
hv_fcopy_uio_daemon.c tools/hv: fcopy: Fix irregularities with size of ring buffer 2025-07-15 06:25:33 +00:00
hv_get_dhcp_info.sh
hv_get_dns_info.sh tools/hv: reduce resouce usage in hv_get_dns_info helper 2024-12-09 18:44:15 +00:00
hv_kvp_daemon.c tools: hv: Enable debug logs for hv_kvp_daemon 2025-05-23 16:30:55 +00:00
hv_set_ifconfig.sh tools: hv: change permissions of NetworkManager configuration file 2024-12-09 18:42:52 +00:00
hv_vss_daemon.c
lsvmbus tools: hv: lsvmbus: change shebang to use python3 2024-08-03 00:01:55 +00:00
Makefile tools: hv: rm .*.cmd when make clean 2024-09-05 07:23:08 +00:00
vmbus_bufring.c tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_bufring.h tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_testing vmbus_testing: fix wrong python syntax for integer value comparison 2023-07-23 23:19:30 +00:00