diff options
| author | Michael Kelley <[email protected]> | 2025-05-13 00:06:03 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-15 02:45:24 +0000 |
| commit | 5bbc644bbf4e97a05bc0cb052189004588ff8a09 (patch) | |
| tree | 588df5881e0b07f912e029b9bd0ff1371251fd13 /drivers/net/hyperv/hyperv_net.h | |
| parent | hv_netvsc: Preserve contiguous PFN grouping in the page buffer array (diff) | |
| download | kernel-5bbc644bbf4e97a05bc0cb052189004588ff8a09.tar.gz kernel-5bbc644bbf4e97a05bc0cb052189004588ff8a09.zip | |
hv_netvsc: Remove rmsg_pgcnt
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: <[email protected]> # 6.1.x
Signed-off-by: Michael Kelley <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 76725f25abd5..cb6f5482d203 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -158,7 +158,6 @@ struct hv_netvsc_packet { u8 cp_partial; /* partial copy into send buffer */ u8 rmsg_size; /* RNDIS header and PPI size */ - u8 rmsg_pgcnt; /* page count of RNDIS header and PPI */ u8 page_buf_cnt; u16 q_idx; |
