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>
This commit is contained in:
Yuval Shaia 2018-12-06 16:02:34 +02:00 • committed by Jason Gunthorpe
commit e7521d82b3