Skip to content

Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes

[email protected] dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bus/vmbus: Align ring buffer data region to system page boundarydrivers/bus/vmbus/rte_vmbus_reg.h drivers/bus/vmbus/vmbus_bufring.c+9 -90 replies
2/4bus/vmbus: Define Hyper-V page sizedrivers/bus/vmbus/bus_vmbus_driver.h+4 -00 replies
3/4bus/vmbus: Use Hyper-V page size for mapping to UIO pagesdrivers/bus/vmbus/linux/vmbus_uio.c drivers/bus/vmbus/vmbus_common_uio.c+2 -20 replies
4/4net/netvsc: Use Hyper-V page size for the driverdrivers/net/netvsc/hn_rndis.c drivers/net/netvsc/hn_rxtx.c drivers/net/netvsc/hn_var.h+15 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Long Li <[email protected]>

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(-)
Signature · 1 line
2.34.1