diff options
author | 2024-10-17 11:58:53 +0300 | |
---|---|---|
committer | 2024-11-13 10:30:21 -0800 | |
commit | 4b2c75ffeaadfce0ffdd97fbd0bbcad5c4f83131 (patch) | |
tree | 2dcac69950f0cca242cb706e429205b8a355bce4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ice: Unbind the workqueue (diff) | |
download | wireguard-linux-4b2c75ffeaadfce0ffdd97fbd0bbcad5c4f83131.tar.xz wireguard-linux-4b2c75ffeaadfce0ffdd97fbd0bbcad5c4f83131.zip |
ixgbe: Break include dependency cycle
Header ixgbe_type.h includes ixgbe_mbx.h. Also, header
ixgbe_mbx.h included ixgbe_type.h, thus introducing a circular
dependency.
- Remove ixgbe_mbx.h inclusion from ixgbe_type.h.
- ixgbe_mbx.h requires the definition of struct ixgbe_mbx_operations
so move its definition there. While at it, add missing argument
identifier names.
- Add required forward structure declarations.
- Include ixgbe_mbx.h in the .c files that need it, for the
following reasons:
ixgbe_sriov.c uses ixgbe_check_for_msg
ixgbe_main.c uses ixgbe_init_mbx_params_pf
ixgbe_82599.c uses mbx_ops_generic
ixgbe_x540.c uses mbx_ops_generic
ixgbe_x550.c uses mbx_ops_generic
Signed-off-by: Diomidis Spinellis <dds@aueb.gr>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions