aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2023-06-02 16:20:07 +0000
committerDavid S. Miller <[email protected]>2023-06-05 10:29:48 +0000
commit3903249ee1afb9aa06d77e2c39c4be2d3df25e0e (patch)
treec6b6bd8c95fefea638c2531e5d4b22752444cea3 /tools/net/ynl/generated/netdev-user.c
parentmlxsw: spectrum_router: Use extack in mlxsw_sp~_rif_ipip_lb_configure() (diff)
downloadkernel-3903249ee1afb9aa06d77e2c39c4be2d3df25e0e.tar.gz
kernel-3903249ee1afb9aa06d77e2c39c4be2d3df25e0e.zip
mlxsw: spectrum_router: Do not query MAX_RIFS on each iteration
MLXSW_CORE_RES_GET involves a call to spectrum_core, a separate module. Instead of making the call on every iteration, cache it up front, and use the value. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions