]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Simplify check for RoCE route resolve
authorParav Pandit <parav@mellanox.com>
Sun, 8 Jul 2018 10:41:17 +0000 (13:41 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 9 Jul 2018 21:11:53 +0000 (15:11 -0600)
commitae97dd928d26e5799039fbcbda28dec2033f02b4
tree0f1cdebb935b3c0d66c414b2585b5f3d9355d16b
parent533482fd9c4192304f26b6e5d0afe88bcfa3ad88
IB/core: Simplify check for RoCE route resolve

roce_resolve_route_from_path() resolves the route based on the netdevice
of the GID attribute, therefore there is no point in checking again if
the route is resolved matches the same interface it arrived.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/sa_query.c