Re: [PATCH net-next v1] hinic: add firmware update support

2020-07-13 Thread luobin (L)
On 2020/7/14 6:42, Jakub Kicinski wrote: > On Mon, 13 Jul 2020 22:05:22 +0800 Luo bin wrote: >> add support to update firmware by the devlink flashing API >> >> Signed-off-by: Luo bin >> --- >> V0~V1: remove the implementation from ethtool to devlink > > Thanks! > >> +static int check_image_devi

Re: [PATCH net-next v1] hinic: add firmware update support

2020-07-13 Thread Jakub Kicinski
On Mon, 13 Jul 2020 22:05:22 +0800 Luo bin wrote: > add support to update firmware by the devlink flashing API > > Signed-off-by: Luo bin > --- > V0~V1: remove the implementation from ethtool to devlink Thanks! > +static int check_image_device_type(struct hinic_dev *nic_dev, > +

[PATCH net-next v1] hinic: add firmware update support

2020-07-13 Thread Luo bin
add support to update firmware by the devlink flashing API Signed-off-by: Luo bin --- V0~V1: remove the implementation from ethtool to devlink drivers/net/ethernet/huawei/hinic/Makefile| 2 +- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 1 + .../net/ethernet/huawei/hinic/hinic_devli