[rds-devel] [PATCH RFC v1] rds: Expose feature parameters via sysfs and ELF note
Leon Romanovsky
leon at kernel.org
Thu Jun 12 09:17:05 UTC 2025
On Tue, Jun 10, 2025 at 12:27:25PM -0400, Konrad Rzeszutek Wilk wrote:
> We would like to have a programatic way for applications
> to query which of the features defined in include/uapi/linux/rds.h
> are actually implemented by the kernel.
If you are interested in programmatic way, the IOCTL/netlink/syscall/...
are the right approach for it and not sysfs files.
Why don't you follow standard way of doing it by creating new query IOCTL
command? Which will return declared feature bitmask, which application can
parse and understand?
Thanks
More information about the rds-devel
mailing list