diff options
| author | Jie Wang <wangjie125@huawei.com> | 2021-12-31 18:22:32 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-12-31 14:25:46 +0000 |
| commit | 0a7b6d221868be6aa3249c70ffab707a265b89d6 (patch) | |
| tree | db4ba0abd4aa32d1df23f168d1fdea6de620d4ec /lib/mpi/mpiutil.c | |
| parent | 5f20be4e90e603d8967962f81ac89307fd4f8af9 (diff) | |
net: hns3: create new cmdq hardware description structure hclge_comm_hw
Currently PF and VF cmdq APIs use struct hclge(vf)_hw to describe cmdq
hardware information needed by hclge(vf)_cmd_send. There are a little
differences between its child struct hclge_cmq_ring and hclgevf_cmq_ring.
It is redundent to use two sets of structures to support same functions.
So this patch creates new set of common cmdq hardware description
structures(hclge_comm_hw) to unify PF and VF cmdq functions. The struct
hclge_desc is still kept to avoid too many meaningless replacement.
These new structures will be used to unify hclge(vf)_hw structures in PF
and VF cmdq APIs in next patches.
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
