diff options
author | Petr Machata <petrm@mellanox.com> | 2017-11-03 10:03:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-04 09:15:17 +0900 |
commit | 9fb7bd77d11ab03b4a969279de9f54d8fd6fe988 (patch) | |
tree | 5eaa7a1346b31f7f3ebc1cf1a910664a36ecf2e0 /drivers/bluetooth/btmrvl_main.c | |
parent | 474f0ff618ae4305637e972746b42fabe2245b99 (diff) |
mlxsw: spectrum_ipip: Split accessor functions
To implement NETDEV_CHANGE notifications on IP-in-IP tunnels, the
handler needs to figure out what actually changed, to understand how
exactly to update the offloads. It will do so by storing struct
ip_tunnel_parm with previous configuration, and comparing that to the
new version.
To facilitate these comparisons, extract the code that operates on
struct ip_tunnel_parm from the existing accessor functions, and make
those a thin wrapper that extracts tunnel parameters and dispatches.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/btmrvl_main.c')
0 files changed, 0 insertions, 0 deletions