RDMA/cm: Add accessors for CM_REQ transport_type
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 16 Jan 2020 17:00:31 +0000 (13:00 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 25 Jan 2020 19:05:59 +0000 (15:05 -0400)
commit792a7c1f2e74bba878a1836cfbe9611f98576d3b
treeaaa439e6ff1fcc556393bce9b561aad54f297de2
parent4bbd4923d1f5627b0c47a9d7dfb5cc91224cfe0c
RDMA/cm: Add accessors for CM_REQ transport_type

Access the two fields through wrappers, like all other fields, to make it
clearer what is happening.

Link: https://lore.kernel.org/r/20200116170037.30109-2-jgg@ziepe.ca
Tested-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm_msgs.h