[rds-devel] [PATCH RFC v1] Feature reporting of RDS driver.
Konrad Rzeszutek Wilk
konrad.wilk at oracle.com
Tue Jun 10 20:47:23 UTC 2025
On Tue, Jun 10, 2025 at 12:27:24PM -0400, Konrad Rzeszutek Wilk via rds-devel wrote:
> Hi folks,
Hi cgroup folks,
Andrew suggested that I reach out to you all since you had implemented
something very similar via:
3958e2d0c34e1
01ee6cfb1483f
And I was wondering if you have have feedback on what worked for you,
best practices, etc.
Manually CCing you so you will shortly be copied on the patch too.
>
> 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(+)
>
> _______________________________________________
> rds-devel mailing list
> rds-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/rds-devel
More information about the rds-devel
mailing list