summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-07-29 11:35:00 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-08-02 20:27:44 -0600
commit760109760455a0a35491cb02a3bc3e15f0c180f6 (patch)
treee77d4cf0db3cdcacbbc85f872c0256148714829a /drivers/infiniband/core
parent13476d35bba60b59521ff25d902fdb552b8bf2ac (diff)
downloadtalos-op-linux-760109760455a0a35491cb02a3bc3e15f0c180f6.tar.gz
talos-op-linux-760109760455a0a35491cb02a3bc3e15f0c180f6.zip
IB/ipoib: Consolidate checking of the proposed child interface
Move all the checking for pkey and other validity to the __ipoib_vlan_add function. This removes the last difference from the control flow of the __ipoib_vlan_add to make the overall design simpler to understand. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Erez Shitrit <erezsh@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud