OSDN Git Service

IB/sa: Export function to pack a path record into wire format
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:26 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 21 Jun 2013 06:35:39 +0000 (23:35 -0700)
commit2e08b5879e9244fa893fe09f5b887f72f4e6c29b
tree4390a3f69fde121e64c876ee04bb3ce875fb7ed0
parentee7aed4528fb3c44a36abd79eb23fd5401a5b697
IB/sa: Export function to pack a path record into wire format

Allow converting from struct ib_sa_path_rec to the IB defined SA path
record wire format.  This will be used to report path data from the
rdma cm into user space.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/sa_query.c
include/rdma/ib_sa.h