summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ni
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2020-03-18 11:57:06 +0800
committerDavid S. Miller <davem@davemloft.net>2020-03-21 20:22:25 -0700
commitd3410018468562f43a58690c4d9e154e96bccf95 (patch)
tree492fca46e1822ae53a3c823417acc7c0bfbc06cf /drivers/net/ethernet/ni
parent027fd5316005fd524d963fe879d5bf24eee2ab85 (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>
Diffstat (limited to 'drivers/net/ethernet/ni')
0 files changed, 0 insertions, 0 deletions