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

hclgevf_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/hns3vf/hclgevf_cmd.c