net: hns3: print out speed info when parsing speed fails
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:19 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:04 +0000 (16:39 -0700)
commitead38a8537bf87228917f23c2131c7a020fe0951
treefe16b5681ee9d3d97424d9d860c3f934ff13a9fe
parent7c6643cac0ed78395ec10fe5b3b279e61b0ee51f
net: hns3: print out speed info when parsing speed fails

When calling hclge_parse_speed() fails, printing out the speed is
helpful for debugging.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c