diff options
| author | 2021-12-31 18:22:32 +0800 | |
|---|---|---|
| committer | 2021-12-31 14:25:46 +0000 | |
| commit | 0a7b6d221868be6aa3249c70ffab707a265b89d6 (patch) | |
| tree | db4ba0abd4aa32d1df23f168d1fdea6de620d4ec /tools/perf/scripts/python/bin | |
| parent | net: hns3: refactor hns3 makefile to support hns3_common module (diff) | |
| download | linux-dev-0a7b6d221868be6aa3249c70ffab707a265b89d6.tar.xz linux-dev-0a7b6d221868be6aa3249c70ffab707a265b89d6.zip | |
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
