commit | 3179a56f6ed9341c3f7ca451039b9d2f99c48ab4 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Wed Jan 23 14:32:56 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 23 09:28:27 2019 -0800 |
tree | 0ff986635c3b849c2f4eb8b8dd89cdcd8183327f | |
parent | eff42aa9986ec2c4ca7d778f2f04556f5b9e722b [diff] |
mlxsw: spectrum_nve: Breakout common code to a common function The configuration of a VXLAN tunnel in Spectrum-1 and Spectrum-2 is largely the same. To avoid code duplication, breakout the common parts to a common function that can be invoked from the ASIC-specific code. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>