IB/core: Add inline function to validate port
authorYuval Shaia <yuval.shaia@oracle.com>
Wed, 25 Jan 2017 16:41:37 +0000 (18:41 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 27 Jan 2017 19:33:59 +0000 (14:33 -0500)
commit24dc831b77eca9361cf835be59fa69ea0e471afc
tree5aa6e10dfc77e48e2c969b3f6f870b3fc18f7e5e
parent2bce1a6d2209c8c776a9598741f5aa1991689dcb
IB/core: Add inline function to validate port

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cache.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/device.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h