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

Roman Penyaev
2018-02-06T12:28:29Z

On Mon, Feb 5, 2018 at 12:20 PM, Sagi Grimberg <sagi@grimberg.me> wrote:
> 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.

I will change that.

--
Roman