mlxsw: spectrum: Expose functions to create and destroy underlay RIF
authorIdo Schimmel <idosch@mellanox.com>
Wed, 23 Jan 2019 14:32:55 +0000 (14:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 17:28:27 +0000 (09:28 -0800)
commiteff42aa9986ec2c4ca7d778f2f04556f5b9e722b
tree6095531799f319038ef13474dfab7e5b75cd92ad
parent482dcf7df7e9be692b57159da414491389f93d03
mlxsw: spectrum: Expose functions to create and destroy underlay RIF

In Spectrum-2, instead of providing the ID of the virtual router (VR)
where NVE underlay lookups will occur as in Spectrum-1, the ID of a
router interface (RIF) in this VR is required.

Expose functions to create and destroy such a RIF.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c