]> www.infradead.org Git - users/sagi/libnvme.git/commit
mi: Add facility to scan MI endpoints from MCTP daemon
authorMatt Johnston <matt@codeconstruct.com.au>
Tue, 30 Nov 2021 04:46:50 +0000 (12:46 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Fri, 24 Jun 2022 07:42:50 +0000 (15:42 +0800)
commite11d94e938a99359ec2f8fe9e88dbd9132cdaa13
treed70b9037efe17b371dc77a9e040212b154ee2b77
parent97a16dc89797d88793801ed81e71b69ee138aeec
mi: Add facility to scan MI endpoints from MCTP daemon

This change adds support for querying a local MCTP daemon ("mctpd")
instance over its D-Bus interface, to populate the list of available
enpoints in root->endpoints.

This requires libsystemd for sdbus, if not available the
nvme_mi_scan_mctp() will always return failure at runtime.

Update for v1.x root API by Jeremy Kerr <jk@codeconstruct.com.au>.

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
meson.build
src/libnvme-mi.map
src/meson.build
src/nvme/mi-mctp.c
src/nvme/mi.h