aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorNaman Jain <[email protected]>2025-07-11 06:08:46 +0000
committerWei Liu <[email protected]>2025-07-15 06:25:33 +0000
commita4131a50d072b369bfed0b41e741c41fd8048641 (patch)
tree8d0ad3f605792f9b6ec750575b237240e14689e3 /tools/lib/bpf/bpf_prog_linfo.c
parentPCI: hv: Use the correct hypercall for unmasking interrupts on nested (diff)
downloadkernel-a4131a50d072b369bfed0b41e741c41fd8048641.tar.gz
kernel-a4131a50d072b369bfed0b41e741c41fd8048641.zip
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: [email protected] Fixes: 0315fef2aff9 ("uio_hv_generic: Align ring size to system page") Signed-off-by: Naman Jain <[email protected]> Reviewed-by: Saurabh Sengar <[email protected]> Reviewed-by: Long Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]> Message-ID: <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions