summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-12-07 15:36:43 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-09 05:46:31 +0300
commit1a2f65b4a277fca10bb24d5615e512971a87587a (patch)
tree942cd7487efd4e7186a57edebdce917a0baed4ee /drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h
parent40ef76de8a7fabb30dafebae4035d3e7eebb47a9 (diff)
downloadlinux-1a2f65b4a277fca10bb24d5615e512971a87587a.tar.xz
mlxsw: spectrum_router: Parametrize RIF allocation size
Currently, each router interface (RIF) consumes one entry in the RIFs table. This is going to change in subsequent patches where some RIFs will consume two table entries. Prepare for this change by parametrizing the RIF allocation size. For now, always pass '1'. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h')
0 files changed, 0 insertions, 0 deletions