OSDN Git Service

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)
commitab01ae916911d11af9f4375b8276378b9474400c
tree15de633f2b5b27bcae24f301e52857afab2134d3
parent4d93ceebf09b0e85adc8048752eea39785b300bf
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