summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-03-10 08:53:39 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-10 09:36:06 -0800
commit4724ba561a1ae0fcad2f2f2d3a5b1d4fd0840a9d (patch)
treee31903b6582dbc14a6b4fd7bb96a31cb45e665ca /net/switchdev
parent97989ee0f5e855f4f5ec473b292c17f39cbaac58 (diff)
mlxsw: spectrum_router: Place RIF related code with router code
The inetaddr notification block is currently implemented in the main driver file, but this isn't really appropriate, as it mainly creates and destroys router interfaces (RIFs) which belong with the rest of the router code. This will become even more apparent later on when we'll need to bind these RIFs to virtual routers according to the VRF's table. Structure the driver better and prevent unnecessary function exports by moving the RIF related code with the rest of the router code. Signed-off-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 'net/switchdev')
0 files changed, 0 insertions, 0 deletions