Re: [PATCH net-next v4 1/2] hinic: add support to handle hw abnormal event

2020-07-24 Thread luobin (L)
On 2020/7/25 8:04, David Miller wrote: > From: Luo bin > Date: Fri, 24 Jul 2020 17:17:31 +0800 > >> +static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, >> + struct devlink_fmsg *fmsg, void *priv_ctx, >> + struct ne

Re: [PATCH net-next v4 1/2] hinic: add support to handle hw abnormal event

2020-07-24 Thread David Miller
From: Luo bin Date: Fri, 24 Jul 2020 17:17:31 +0800 > +static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter, > + struct devlink_fmsg *fmsg, void *priv_ctx, > + struct netlink_ext_ack *extack) > +{ > + int err; >

[PATCH net-next v4 1/2] hinic: add support to handle hw abnormal event

2020-07-24 Thread Luo bin
add support to handle hw abnormal event such as hardware failure, cable unplugged,link error Signed-off-by: Luo bin --- V3~V4: remove 'watchdog_info' variable in hinic_fw_reporter_dump V2~V3: add devlink health support V1~V2: add link extended state V0~V1: fix auto build test WARNING drivers/ne