diff options
author | Petr Machata | 2017-09-02 23:49:18 +0200 |
---|---|---|
committer | David S. Miller | 2017-09-04 05:23:25 +0200 |
commit | 010cadf916a5112a2de1642301917f4139104d46 (patch) | |
tree | 27db386590717aeedb2d0c1bc1f1eaa5337534d2 /drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h | |
parent | mlxsw: spectrum_router: Add mlxsw_sp_ipip_ops (diff) | |
download | kernel-qcow2-linux-010cadf916a5112a2de1642301917f4139104d46.tar.gz kernel-qcow2-linux-010cadf916a5112a2de1642301917f4139104d46.tar.xz kernel-qcow2-linux-010cadf916a5112a2de1642301917f4139104d46.zip |
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/net/ethernet/mellanox/mlxsw/spectrum_router.h')
0 files changed, 0 insertions, 0 deletions