]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Configure RIFs based on RIF struct
authorIdo Schimmel <idosch@mellanox.com>
Fri, 26 May 2017 06:37:35 +0000 (08:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:18:48 +0000 (15:18 -0400)
commit5607da0dc3de270e62459d346d7d68a31f0e3e26
tree15de633f2b5b27bcae24f301e52857afab2134d3
parent4140fda59e74596ffad91163dec2e3dd69ddb782
mlxsw: spectrum_router: Configure RIFs based on RIF struct

All the information necessary for the configuration of RIFs can now be
found in the RIF struct itself, so reduce the arguments list.

This gets us one step closer to the common RIF core.

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_router.c