diff options
author | Petr Machata <petrm@mellanox.com> | 2017-09-02 23:49:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 20:23:26 -0700 |
commit | 92107cfb411f5371bee56d9a13d28ef8b40bbbbc (patch) | |
tree | 7fb23e4cfacee2909c22cc73655c6b1752627c02 /drivers/scsi/libsas | |
parent | 86484de2c917b6ba5965ef2248d9966424932af4 (diff) |
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/scsi/libsas')
0 files changed, 0 insertions, 0 deletions