diff options
author | 2017-11-03 10:03:38 +0100 | |
---|---|---|
committer | 2017-11-04 09:15:17 +0900 | |
commit | 0c5f1cd5ba8c03567c67910816a7a0fb9fee5746 (patch) | |
tree | 296172824411375cd19150adfcf81a5b3d5642fc /net/netfilter/x_tables.c | |
parent | mlxsw: spectrum_router: Extract __mlxsw_sp_ipip_entry_update_tunnel() (diff) | |
download | wireguard-linux-0c5f1cd5ba8c03567c67910816a7a0fb9fee5746.tar.xz wireguard-linux-0c5f1cd5ba8c03567c67910816a7a0fb9fee5746.zip |
mlxsw: spectrum_router: Generalize __mlxsw_sp_ipip_entry_update_tunnel()
The work that needs to be done to update HW configuration in response to
changes is similar to what __mlxsw_sp_ipip_entry_update_tunnel() already
does, but with a number of twists: each change requires a different
subset of things to happen. Extend the function to support all these
uses, and allow finely-grained configuration of what should happen at
each call through a suite of function arguments.
Publish the updated function to allow use from the spectrum_ipip module.
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 'net/netfilter/x_tables.c')
0 files changed, 0 insertions, 0 deletions