]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mlxsw: spectrum_router: Move RIFs array to its rightful place
authorIdo Schimmel <idosch@mellanox.com>
Tue, 16 May 2017 17:38:27 +0000 (19:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 18:06:54 +0000 (14:06 -0400)
commit5f9efffbdb1722631714d7afce793379abd94c1f
tree708a32081219a52eb2f3656d31501ac9ead7efc9
parent5f6935c6a4eafd853489c70d6ef3250296a4d534
mlxsw: spectrum_router: Move RIFs array to its rightful place

The router interfaces (RIFs) array is of no interest to code outside the
routing realm, so declare it inside the router specific struct instead
of the chip-wide one.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h