commit | caa3ddf8e39022ee2cd87835bc400b9c516fcd95 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri May 26 08:37:32 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 26 15:18:47 2017 -0400 |
tree | 5c279688dbde46ba53ed5826dbb9be83ba7e6f9c | |
parent | c57529e1d5d882fbd6383163e2cb2e4ba3118174 [diff] |
mlxsw: spectrum_router: Allocate FID prior to RIF configuration The following patches are going to re-arrange the FID and RIF code, so that when the RIF is configured to the device based on the information present in the RIF struct (which points to a FID). For this reason, move the FID allocation to just before the RIF configuration. 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>