linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Enabling RO on a VF
@ 2021-10-01 11:05 Haakon Bugge
  2021-10-01 11:54 ` Jason Gunthorpe
  0 siblings, 1 reply; 8+ messages in thread
From: Haakon Bugge @ 2021-10-01 11:05 UTC (permalink / raw)
  To: Leon Romanovsky, Doug Ledford, Jason Gunthorpe, Bjorn Helgaas
  Cc: OFED mailing list, linux-pci@vger.kernel.org, LKML

Hey,


Commit 1477d44ce47d ("RDMA/mlx5: Enable Relaxed Ordering by default for kernel ULPs") uses pcie_relaxed_ordering_enabled() to check if RO can be enabled. This function checks if the Enable Relaxed Ordering bit in the Device Control register is set. However, on a VF, this bit is RsvdP (Reserved for future RW implementations. Register bits are read-only and must return zero when read. Software must preserve the value read for writes to bits.).

Hence, AFAICT, RO will not be enabled when using a VF.

How can that be fixed?


Thxs, Håkon





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

end of thread, other threads:[~2021-10-14 22:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-01 11:05 Enabling RO on a VF Haakon Bugge
2021-10-01 11:54 ` Jason Gunthorpe
2021-10-01 11:59   ` Haakon Bugge
2021-10-01 12:01     ` Jason Gunthorpe
2021-10-05 23:09       ` Si-Wei Liu
2021-10-05 23:28         ` Jason Gunthorpe
2021-10-12 17:57           ` Si-Wei Liu
2021-10-14 22:23             ` Jason Gunthorpe

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).