summaryrefslogtreecommitdiffstats
path: root/drivers/zorro
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2020-11-10 11:48:57 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-12 15:55:21 -0800
commit91d20d71b2f0b1e3ff4197d27a69b22da3d8de0d (patch)
tree2c8ec316ae5d591175209befd7cf64ab35a71c29 /drivers/zorro
parent505cd65c66e82233e0791da8f39312c1e53b6791 (diff)
downloadlinux-91d20d71b2f0b1e3ff4197d27a69b22da3d8de0d.tar.bz2
mlxsw: spectrum_router: Have FIB entry op context allocated for the instance
Get the max size needed for FIB entry op context and allocate it once for the instance. Use it repeatedly from the scheduled work. By this, allow to extend the context to hold more data than it is wise to do when it was on the stack. Make sure to signalize that the context needs to be initialized in case families of subsequent FIB entries differ. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions