diff options
author | Petr Machata <petrm@mellanox.com> | 2017-09-02 23:49:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 20:23:25 -0700 |
commit | 010cadf916a5112a2de1642301917f4139104d46 (patch) | |
tree | 27db386590717aeedb2d0c1bc1f1eaa5337534d2 /drivers/fpga/xilinx-spi.c | |
parent | 38ebc0f45474abf4c4229ec3218915576475af85 (diff) |
mlxsw: spectrum_router: Support FID-less RIFs
Loopback RIFs, which will be introduced in a follow-up patch, differ
from other RIFs in that they do not have a FID associated with them.
To support this, demote FID allocation from mlxsw_sp_rif_create to
configure op of the existing RIF types, and likewise the FID release
from mlxsw_sp_rif_destroy to deconfigure op.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions