diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2016-02-17 17:24:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-17 10:29:27 -0500 |
commit | 925ab1aa9394bbaeac47ee5b65d3fdf0fb8135cf (patch) | |
tree | 79dfc56c64aa5ca9b97b8df36cef090193f6678c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 85743f1eb34548ba4b056d2f184a3d107a3b8917 (diff) |
net/mlx4_en: Avoid changing dev->features directly in run-time
It's forbidden to manually change dev->features in run-time. Currently, this is
done in the driver to make sure that GSO_UDP_TUNNEL is advertized only when
VXLAN tunnel is set. However, since the stack actually does features intersection
with hw_enc_features, we can safely revert to advertizing features early when
registering the netdevice.
Fixes: f4a1edd56120 ('net/mlx4_en: Advertize encapsulation offloads [...]')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions