summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h
diff options
context:
space:
mode:
authorPetr Machata2017-09-02 23:49:28 +0200
committerDavid S. Miller2017-09-04 05:23:26 +0200
commit92107cfb411f5371bee56d9a13d28ef8b40bbbbc (patch)
tree7fb23e4cfacee2909c22cc73655c6b1752627c02 /drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h
parentmlxsw: spectrum: Register for IPIP_DECAP_ERROR trap (diff)
downloadkernel-qcow2-linux-92107cfb411f5371bee56d9a13d28ef8b40bbbbc.tar.gz
kernel-qcow2-linux-92107cfb411f5371bee56d9a13d28ef8b40bbbbc.tar.xz
kernel-qcow2-linux-92107cfb411f5371bee56d9a13d28ef8b40bbbbc.zip
mlxsw: spectrum_router: Add loopback accessors
struct mlxsw_sp_rif is a router-private structure, and therefore everything related to it is as well: parameters, and derived RIF types including loopbacks. IPIP module needs access to some details of loopback interfaces, but exporting all the RIF shebang would create too large an interface. So instead export just the bare minimum necessary: accessors for RIF index and underlay VRF ID. 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 'drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h')
0 files changed, 0 insertions, 0 deletions