commit | a13a594da06c437afa546888ddba64d3bd2db06d | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri May 26 08:37:33 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 26 15:18:47 2017 -0400 |
tree | 9f7d97f3a3b9c6dfe5ddd14c4e963448e5d88905 | |
parent | caa3ddf8e39022ee2cd87835bc400b9c516fcd95 [diff] |
mlxsw: spectrum_router: Allocate RIF prior to its configuration In the following patches the RIF's configuration function is going to expect a RIF struct with all the necessary information. Therefore, allocate the RIF just before it's configured to the device. 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>