summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2024-12-13 13:36:57 +0100
committerJakub Kicinski <kuba@kernel.org>2024-12-16 18:23:12 -0800
commite78c20f327bd94dabac68b98218dff069a8780f0 (patch)
treefdc4785ea9d3113a721404907f0dcb575e9fdb29 /tools/perf/scripts/python/export-to-sqlite.py
parentfbbd84af6ba70334335bdeba3ae536cf751c14c6 (diff)
team: Fix feature exposure when no ports are present
Small follow-up to align this to an equivalent behavior as the bond driver. The change in 3625920b62c3 ("teaming: fix vlan_features computing") removed the netdevice vlan_features when there is no team port attached, yet it leaves the full set of enc_features intact. Instead, leave the default features as pre 3625920b62c3, and recompute once we do have ports attached. Also, similarly as in bonding case, call the netdev_base_features() helper on the enc_features. Fixes: 3625920b62c3 ("teaming: fix vlan_features computing") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Link: https://patch.msgid.link/20241213123657.401868-1-daniel@iogearbox.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions