Petr Machata 0c5f1cd5ba 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>
2017-11-04 09:15:17 +09:00
..
2017-10-27 08:23:21 -06:00
2017-10-07 13:17:07 +02:00
2017-09-05 11:08:17 -07:00
2017-10-17 06:23:09 -04:00
2017-09-10 20:40:00 -07:00
2017-10-15 07:50:38 -04:00
2017-08-29 13:46:35 +02:00
2017-09-05 11:08:17 -07:00
2017-08-22 11:04:51 -07:00
2017-09-11 13:04:32 -07:00
2017-09-13 10:56:00 -07:00
2017-10-23 06:37:16 -04:00
2017-08-30 14:03:42 -06:00
2017-09-14 13:33:33 -07:00
2017-09-07 21:11:05 -07:00
2017-10-27 20:41:05 -07:00
2017-08-24 09:57:28 +02:00