hinic: add fw version query
authorXue Chaojing <xuechaojing@huawei.com>
Fri, 5 Jul 2019 02:40:28 +0000 (02:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 05:15:12 +0000 (22:15 -0700)
commit61a582be1a668a0c1407a46f779965bfeff88784
tree2c180e5c4d242869380ed3409f5c8d95ad6f5ab1
parent877cb240f6a000078aabcd57f8ef7765d9fdf134
hinic: add fw version query

This patch adds firmware version query in ethtool -i.

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h