linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC v1] Feature reporting of RDS driver.
@ 2025-06-10 16:27 Konrad Rzeszutek Wilk
  2025-06-10 16:27 ` [PATCH RFC v1] rds: Expose feature parameters via sysfs and ELF note Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Konrad Rzeszutek Wilk @ 2025-06-10 16:27 UTC (permalink / raw)
  To: allison.henderson, netdev, linux-rdma, rds-devel

Hi folks,

This patch addresses an issue where we have applications compiled against
against older (or newer) kernels. RDS does not have any ioctls to query
for what version of ABIs it has or what features it has. Hence this solution
that proposes to put this ABI information in user-accessible way.

The patch does it two ways:

1) Power of the ELF .note section to put in the module so that
applications can discern before installing whether the kernel
has the right support.

2) The sysfs way - in which the /sys/modules/ was appealing since
it was simple and non invasive means of delivering this functionality,
and requires no changes to existing APIs or kernel logic.

I am not tied to any specific ways - hence the request for collaboration.

And as such questions, comments and discussion are appreciated and if you
have read to this part - then thank you for spending your time reading over
this cover letter and I am looking forward to your feedback on the patch!

Konrad Rzeszutek Wilk (1):
      rds: Expose feature parameters via sysfs and ELF note

 Documentation/ABI/stable/sysfs-driver-rds | 92 +++++++++++++++++++++++++++++++
 net/rds/af_rds.c                          | 33 +++++++++++
 2 files changed, 125 insertions(+)

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

end of thread, other threads:[~2025-06-16 17:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10 16:27 [PATCH RFC v1] Feature reporting of RDS driver Konrad Rzeszutek Wilk
2025-06-10 16:27 ` [PATCH RFC v1] rds: Expose feature parameters via sysfs and ELF note Konrad Rzeszutek Wilk
2025-06-10 20:30   ` Andrew Lunn
2025-06-10 20:41     ` Konrad Rzeszutek Wilk
2025-06-10 20:50       ` Andrew Lunn
2025-06-10 20:54         ` Konrad Rzeszutek Wilk
2025-06-10 20:51   ` Konrad Rzeszutek Wilk
2025-06-12  9:17   ` Leon Romanovsky
2025-06-10 20:47 ` [rds-devel] [PATCH RFC v1] Feature reporting of RDS driver Konrad Rzeszutek Wilk
2025-06-10 21:32   ` Tejun Heo
2025-06-10 23:15     ` Konrad Rzeszutek Wilk
2025-06-16 17:45       ` Tejun Heo
2025-06-10 21:09 ` Allison Henderson

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