linux/drivers/net/hyperv
Michael Kelley b47a984faf hv_netvsc: Remove rmsg_pgcnt
commit 5bbc644bbf upstream.

init_page_array() now always creates a single page buffer array entry
for the rndis message, even if the rndis message crosses a page
boundary. As such, the number of page buffer array entries used for
the rndis message must no longer be tracked -- it is always just 1.
Remove the rmsg_pgcnt field and use "1" where the value is needed.

Cc: <stable@vger.kernel.org> # 6.1.x
Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Link: https://patch.msgid.link/20250513000604.1396-5-mhklinux@outlook.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-05-22 14:10:05 +02:00
..
hyperv_net.h hv_netvsc: Remove rmsg_pgcnt 2025-05-22 14:10:05 +02:00
Kconfig hv_netvsc: rndis_filter needs to select NLS 2023-12-13 18:39:06 +01:00
Makefile hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
netvsc.c hv_netvsc: Remove rmsg_pgcnt 2025-05-22 14:10:05 +02:00
netvsc_bpf.c hv_netvsc: Add support for XDP_REDIRECT 2022-04-11 18:25:47 -07:00
netvsc_drv.c hv_netvsc: Remove rmsg_pgcnt 2025-05-22 14:10:05 +02:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
rndis_filter.c hv_netvsc: Preserve contiguous PFN grouping in the page buffer array 2025-05-22 14:10:05 +02:00