aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/netfilter/x_tables.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2017-11-03 10:03:38 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-04 09:15:17 +0900
commit0c5f1cd5ba8c03567c67910816a7a0fb9fee5746 (patch)
tree296172824411375cd19150adfcf81a5b3d5642fc /net/netfilter/x_tables.c
parentmlxsw: spectrum_router: Extract __mlxsw_sp_ipip_entry_update_tunnel() (diff)
downloadwireguard-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