]> git.baikalelectronics.ru Git - kernel.git/commit
switchdev: Support parent ID comparison for stacked devices
authorIdo Schimmel <idosch@mellanox.com>
Thu, 25 Aug 2016 16:42:36 +0000 (18:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2016 20:13:36 +0000 (13:13 -0700)
commit065c511b844f3b3f65e92ea48be01e8b83229a65
tree3962549215a66de837b0e1e8d0ec519b3e7f262a
parent7ac5b5a6a0cab530dd90805e19e31b0c663d755c
switchdev: Support parent ID comparison for stacked devices

switchdev_port_same_parent_id() currently expects port netdevs, but we
need it to support stacked devices in the next patch, so drop the
NO_RECURSE flag.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/switchdev/switchdev.c