]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f6f650f3fce146c4297dac75582d7cddb8733db
treec574178ad4d7cc2e667ab56ead5fa5531710bd6d
parent1df87d2d9c51d685acd32e83254494bbdb3129be
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