[EXTERNAL] [PATCH 0/4] Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes

Wei Hu weh at microsoft.com
Mon Apr 21 17:33:13 CEST 2025


> From: longli at linuxonhyperv.com <longli at linuxonhyperv.com>
> Sent: Saturday, April 19, 2025 3:33 AM
> To: Stephen Hemminger <stephen at networkplumber.org>; Wei Hu
> <weh at microsoft.com>
> Cc: dev at dpdk.org; Long Li <longli at microsoft.com>
> Subject: [EXTERNAL] [PATCH 0/4] Fix incorrect page size and address
> caclulations on systems with 64k (or other) page sizes
> 
> From: Long Li <longli at microsoft.com>
> 
> The Hyper-V uses 4k page size regardless of system page size.
> 
> This patchset fixes issues while running on systems with page sizes other than
> 4k.
> 
> Long Li (4):
>   bus/vmbus: Align ring buffer data region to system page boundary
>   bus/vmbus: Define Hyper-V page size
>   bus/vmbus: Use Hyper-V page size for mapping to UIO pages
>   net/netvsc: Use Hyper-V page size for the driver
> 
>  drivers/bus/vmbus/bus_vmbus_driver.h |  4 ++++
> drivers/bus/vmbus/linux/vmbus_uio.c  |  2 +-
>  drivers/bus/vmbus/rte_vmbus_reg.h    |  9 +++------
>  drivers/bus/vmbus/vmbus_bufring.c    |  9 ++++++---
>  drivers/bus/vmbus/vmbus_common_uio.c |  2 +-
>  drivers/net/netvsc/hn_rndis.c        | 14 +++++++-------
>  drivers/net/netvsc/hn_rxtx.c         | 16 ++++++++--------
>  drivers/net/netvsc/hn_var.h          |  4 ----
>  8 files changed, 30 insertions(+), 30 deletions(-)
> 
> --
> 2.34.1

Reviewed by: weh at microsoft.com


More information about the dev mailing list