diff options
author | 2020-07-06 17:18:08 +0200 | |
---|---|---|
committer | 2020-07-06 13:16:20 -0700 | |
commit | 9e06e8596bc87cad9dd18869a1b1b42132170dd9 (patch) | |
tree | b846ac2baed230aecdfcab95730fde8a614f3d67 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dpaa2-eth: fix draining of S/G cache (diff) | |
download | linux-dev-9e06e8596bc87cad9dd18869a1b1b42132170dd9.tar.xz linux-dev-9e06e8596bc87cad9dd18869a1b1b42132170dd9.zip |
geneve: move all configuration under struct geneve_config
This patch adds a new structure geneve_config and moves the per-device
configuration attributes to it, like we already have in VXLAN with
struct vxlan_config. This ends up being pretty invasive since those
attributes are used everywhere.
This allows us to clean up the argument lists for geneve_configure (4
arguments instead of 8) and geneve_nl2info (5 instead of 9).
This also reduces the copy-paste of code setting those attributes
between geneve_configure and geneve_changelink to a single memcpy,
which would have avoided the bug fixed in commit
56c09de347e4 ("geneve: allow changing DF behavior after creation").
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions