DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes
@ 2025-04-18 19:32 longli
  2025-04-18 19:32 ` [PATCH 1/4] bus/vmbus: Align ring buffer data region to system page boundary longli
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: longli @ 2025-04-18 19:32 UTC (permalink / raw)
  To: Stephen Hemminger, Wei Hu; +Cc: dev, Long Li

From: Long Li <longli@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-21 15:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-18 19:32 [PATCH 0/4] Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes longli
2025-04-18 19:32 ` [PATCH 1/4] bus/vmbus: Align ring buffer data region to system page boundary longli
2025-04-18 19:32 ` [PATCH 2/4] bus/vmbus: Define Hyper-V page size longli
2025-04-18 19:32 ` [PATCH 3/4] bus/vmbus: Use Hyper-V page size for mapping to UIO pages longli
2025-04-18 19:32 ` [PATCH 4/4] net/netvsc: Use Hyper-V page size for the driver longli
2025-04-21 15:33 ` [EXTERNAL] [PATCH 0/4] Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes Wei Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).