OSDN Git Service

IB/rxe: Utilize generic function to validate port number
authorYuval Shaia <yuval.shaia@oracle.com>
Thu, 6 Dec 2018 14:02:34 +0000 (16:02 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 7 Dec 2018 04:18:00 +0000 (21:18 -0700)
commite7521d82b33593c9b3ffd1e49a7ea2999ddc2285
treea492ff5209806a7cce26162ce1b61af48ee480b5
parent1ceb25c885a291b57f2b069081599834204025a3
IB/rxe: Utilize generic function to validate port number

Utilize rdma_is_port_valid to validate the given port.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_qp.c