show `host-iface` and `host-traddr` in `list-subsys` and `show-topology`
igaw opened this issue · comments
I am getting bug reports where it is not clear which host-iface
and/or host-traddr
has been used. Let's add them to list-subsys
and show-topology
which should help in future to debug such setups a bit quicker.
Note that the kernel also reports the socket's source address (src_addr=
) in the controller's address
attribute (TCP only).
For the case where host-iface
and host-traddr
are not provided by the user (and therefore the kernel automatically selects the interface and source-address), src-addr=
is the only way to tell on which interface a connection is made and which source address is associated with that connection.
nvme_ctrl_get_address
returns this information already. So nothing to do.