summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_export.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2018-10-18 12:31:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-23 08:17:04 +0100
commit92a2f39fc374f47dbaa6d47fae10677620900bb0 (patch)
tree42ff3a5016073371bc27755752c640a80995dc34 /kernel/trace/trace_export.c
parent5351b859a6dd60787e78982ef5e1072704806b6d (diff)
net/mlx5e: Claim TC hw offloads support only under a proper build config
[ Upstream commit 077ecd785d90c6cbba08d719faa4be8561aa0a1e ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_export.c')
0 files changed, 0 insertions, 0 deletions