diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-10-18 13:31:27 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-20 01:35:04 +0300 |
commit | 077ecd785d90c6cbba08d719faa4be8561aa0a1e (patch) | |
tree | 11eb9998a150669df528f4a24282c35b827491b5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d3a80bb5a3eac311ddf28387402593977574460d (diff) | |
download | linux-077ecd785d90c6cbba08d719faa4be8561aa0a1e.tar.xz |
net/mlx5e: Claim TC hw offloads support only under a proper build config
Currently, we are only supporting tc hw offloads when the eswitch
support is compiled in, but we are not gating the adevertizment
of the NETIF_F_HW_TC feature on this config being set.
Fix it, and while doing that, also avoid dealing with the feature
on ethtool when the config is not set.
Fixes: e8f887ac6a45 ('net/mlx5e: Introduce tc offload support')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions