net: hns3: split out hclge_cmd_send()
authorYufeng Mo <moyufeng@huawei.com>
Fri, 12 Feb 2021 03:24:13 +0000 (11:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 21:13:15 +0000 (13:13 -0800)
commit76f82fd9b1230332db2b3bc3916d097b92acbf29
tree8e4cf1c9b9f4c2dafbf2473f8619880a69e35d05
parentb3712fa73d56e31e5c94375977ad25966948c6ae
net: hns3: split out hclge_cmd_send()

hclge_cmd_send() is bloated, so split it into separate
functions for readability and maintainability.

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