commit | d3410018468562f43a58690c4d9e154e96bccf95 | [log] [tgz] |
---|---|---|
author | Yufeng Mo <moyufeng@huawei.com> | Wed Mar 18 11:57:06 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 21 20:22:25 2020 -0700 |
tree | 492fca46e1822ae53a3c823417acc7c0bfbc06cf | |
parent | 027fd5316005fd524d963fe879d5bf24eee2ab85 [diff] |
net: hns3: refactor the mailbox message between PF and VF For making the code more readable, this adds several new structure to replace the msg field in structure hclge_mbx_vf_to_pf_cmd and hclge_mbx_pf_to_vf_cmd. Also uses macro to instead of some magic number. 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>