Re: [PATCH 07/24] ibtrs: client: sysfs interface functions

Sagi Grimberg
2018-02-05T11:20:47Z

Hi Roman,

> This is the sysfs interface to IBTRS sessions on client side:
>
> /sys/kernel/ibtrs_client/<SESS-NAME>/
> *** IBTRS session created by ibtrs_clt_open() API call
> |
> |- max_reconnect_attempts
> | *** number of reconnect attempts for session
> |
> |- add_path
> | *** adds another connection path into IBTRS session
> |
> |- paths/<DEST-IP>/
> *** established paths to server in a session
> |
> |- disconnect
> | *** disconnect path
> |
> |- reconnect
> | *** reconnect path
> |
> |- remove_path
> | *** remove current path
> |
> |- state
> | *** retrieve current path state
> |
> |- stats/
> *** current path statistics
> |
> |- cpu_migration
> |- rdma
> |- rdma_lat
> |- reconnects
> |- reset_all
> |- sg_entries
> |- wc_completions
>
> Signed-off-by: Roman Pen <roman.penyaev@profitbricks.com>
> Signed-off-by: Danil Kipnis <danil.kipnis@profitbricks.com>
> Cc: Jack Wang <jinpu.wang@profitbricks.com>

I think stats usually belong in debugfs.