Skip to content
Commit 464314ea authored by Scott Feldman's avatar Scott Feldman Committed by David S. Miller
Browse files

switchdev: skip over ports returning -EOPNOTSUPP when recursing ports



This allows us to recurse over all the ports, skipping over unsupporting
ports.  Without the change, the recursion would stop at first unsupported
port.

Signed-off-by: default avatarScott Feldman <sfeldma@gmail.com>
Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f55ac58a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment