public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Help with PCIe THP on ConnectX-7
@ 2026-04-22 15:22 Bruce Merry
  0 siblings, 0 replies; only message in thread
From: Bruce Merry @ 2026-04-22 15:22 UTC (permalink / raw)
  To: netdev

Hello

I'm hoping someone from NVIDIA Networking can help with this; I wasn't
sure of the best way to get in contact with the engineers working on
mlx5 kernel code so thought I'd try here. I'm trying to write some
(userspace) code using ibv_reg_mr_ex to register a memory region using
TLP Processing Hints (THP) to improve performance on an Epyc Turin
(Zen 5) system. However, in the kernel mlx5_st_create is bailing out
because of this check:

       if (!MLX5_CAP_GEN(dev, mkey_pcie_tph))
                return NULL;

As far as I can tell, that is checking a capability bit returned by
the firmware.

Before I spend a lot more time debugging, can you tell me whether
ConnectX-7 supports this feature at all (I'm on the latest 28.48.1000
firmware)? I see it mentioned in release notes for ConnectX-8
firmware, but not in ConnectX-7 release notes.

If ConnectX-7 does support it, do you have any tips on what might
cause that capability bit to be false and how to determine what the
cause is? For example, could that happen if the motherboard BIOS
doesn't support TPH?

Thanks
Bruce
-- 
Dr Bruce Merry
bmerry <@> gmail <.> com
http://www.brucemerry.org.za/
http://blog.brucemerry.org.za/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-22 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22 15:22 Help with PCIe THP on ConnectX-7 Bruce Merry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox