summaryrefslogtreecommitdiff
path: root/scripts/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPatrisious Haddad <phaddad@nvidia.com>2025-12-25 15:27:13 +0200
committerJakub Kicinski <kuba@kernel.org>2026-01-04 10:38:49 -0800
commit31057979cdadfee9f934746fd84046b43506ba61 (patch)
tree091d720bba27e6ae0f40cb7bcffd06a6d75fd409 /scripts/git@git.tavy.me:linux.git
parent02d1e1a3f9239cdb3ecf2c6d365fb959d1bf39df (diff)
net/mlx5: Lag, multipath, give priority for routes with smaller network prefix
Today multipath offload is controlled by a single route and the route controlling is selected if it meets one of the following criteria: 1. No controlling route is set. 2. New route destination is the same as old one. 3. New route metric is lower than old route metric. This can cause unwanted behaviour in case a new route is added with a smaller network prefix which should get the priority. Fix this by adding a new criteria to give priority to new route with a smaller network prefix. Fixes: ad11c4f1d8fd ("net/mlx5e: Lag, Only handle events from highest priority multipath entry") Signed-off-by: Patrisious Haddad <phaddad@nvidia.com> Signed-off-by: Mark Bloch <mbloch@nvidia.com> Link: https://patch.msgid.link/20251225132717.358820-2-mbloch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions