diff options
author | Jie Wang <wangjie125@huawei.com> | 2022-01-05 22:20:02 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-05 14:36:36 +0000 |
commit | 9970308fe6a5903d5f747eed5568a8bcc9457380 (patch) | |
tree | d14f2e180d08864c7c18a23afc85215ecc11a530 /drivers/video | |
parent | 9667b814387c1d7436b0c171d64d7a02d2a21a76 (diff) |
net: hns3: refactor hclge_comm_send function in PF/VF drivers
Currently, there are two different sets of special command codes in PF and
VF cmdq modules, this is because VF driver only uses small part of all the
command codes. In other words, these not used command codes in VF are also
sepcial command codes theoretically.
So this patch unifes the special command codes and deletes the bool param
is_pf of hclge_comm_send. All the related functions are refactored
according to the new hclge_comm_send function prototype.
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions