summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-03-10 08:53:35 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-10 09:36:06 -0800
commit1f88061ee409f5ec3d3451fc3235965aa3789af1 (patch)
tree1ba4be8c79dbf43e41ea7f88ac2afc22b6d3b052 /init
parentb414970e210d39d81cc70b46f7d9aa8e07b9297f (diff)
downloadlwn-1f88061ee409f5ec3d3451fc3235965aa3789af1.tar.gz
lwn-1f88061ee409f5ec3d3451fc3235965aa3789af1.zip
mlxsw: spectrum: Don't assume upper device's type
When an upper device is configured on top of a vPort we make sure it's a bridge master during PRECHANGEUPPER and fail otherwise. Therefore, when CHANGEUPPER is later received we don't bother checking the upper's type. Make the code more extendable in preparation for VRF uppers, by checking the upper's type. 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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions