IB/core: Limit DMAC resolution to RoCE Connected QPs
authorParav Pandit <parav@mellanox.com>
Tue, 9 Jan 2018 13:24:53 +0000 (15:24 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 15 Jan 2018 22:33:21 +0000 (15:33 -0700)
commita6753c4d6257feef2a82522d0d222166d4be4aa8
treee85871bb14d4d0f7d567a6ce5e75fb4f70a1df65
parentf2290d6d522dbcdb8c2bd36e98e57c05bf5ed523
IB/core: Limit DMAC resolution to RoCE Connected QPs

Resolving DMAC for RoCE is applicable to only Connected mode QPs.
So resolve DMAC for only for Connected mode QPs.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/verbs.c