Re: [question] About triggering a region snapshot through the devlink cmd

2019-09-29 Thread Yunsheng Lin
On 2019/9/27 16:13, Jiri Pirko wrote: > Fri, Sep 27, 2019 at 09:40:47AM CEST, linyunsh...@huawei.com wrote: >> Hi, Jiri & Alex >> >>It seems that a region' snapshot is only created through the >> driver when some error is detected, for example: >> mlx4_crdump_collect_fw_health() -> devlink_regi

Re: [question] About triggering a region snapshot through the devlink cmd

2019-09-27 Thread Jiri Pirko
Fri, Sep 27, 2019 at 09:40:47AM CEST, linyunsh...@huawei.com wrote: >Hi, Jiri & Alex > >It seems that a region' snapshot is only created through the >driver when some error is detected, for example: >mlx4_crdump_collect_fw_health() -> devlink_region_snapshot_create() > >We want to trigger a

[question] About triggering a region snapshot through the devlink cmd

2019-09-27 Thread Yunsheng Lin
Hi, Jiri & Alex It seems that a region' snapshot is only created through the driver when some error is detected, for example: mlx4_crdump_collect_fw_health() -> devlink_region_snapshot_create() We want to trigger a region' snapshot creation through devlink cmd, maybe by adding the "devlin