diff options
author | Shay Drory <shayd@nvidia.com> | 2021-10-18 09:18:39 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-25 13:51:18 -0700 |
commit | 038e5e471874d26881d5f3b234c78e41a71ad606 (patch) | |
tree | f4b1730ac5613114954c3d6525a47ea62bb0c4cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a64c5edbd20ec042fcd719c6aec0574e68db618b (diff) |
net/mlx5: Fix unused function warning of mlx5i_flow_type_mask
The cited commit is causing unused-function warning[1] when
CONFIG_MLX5_EN_RXNFC is not set.
Fix this by moving the function into the ifdef, where it's only used
[1]
warning: ‘mlx5i_flow_type_mask’ defined but not used [-Wunused-function]
Fixes: 9fbe1c25ecca ("net/mlx5i: Enable Rx steering for IPoIB via ethtool")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions