[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250621004741.2883507-1-konrad.wilk@oracle.com>
Date: Fri, 20 Jun 2025 20:26:10 -0400
From: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To: allison.henderson@...cle.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, rds-devel@....oracle.com, tj@...nel.org,
andrew@...n.ch
Cc: hannes@...xchg.org, mkoutny@...e.com, cgroups@...r.kernel.org
Subject: [PATCH net-next v4] Expose RDS features via sysfs.
Hi folks,
Changelog:
+ Since v1:
- Changed it to use sysfs and expose a 'features' file with the data.
+ Since v2:
- Use a 'features' directory similar to ext4, btrfs and expose each feature.
+ Since v3:
- Fix ret returning 0 if kobject_create_and_add fails
- Follow the syntax of Documentation/ABI/stable/sysfs-module.
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 sysfs space.
Documentation/ABI/stable/sysfs-transport-rds | 43 +++++++++++++++++++
net/rds/af_rds.c | 63 +++++++++++++++++++++++++++-
2 files changed, 105 insertions(+), 1 deletion(-)
Konrad Rzeszutek Wilk (1):
rds: Expose feature parameters via sysfs (and ELF)
Powered by blists - more mailing lists