RDMA/ucma: Extend ucma_connect to receive ECE parameters
Active side of CMID initiates connection through librdmacm's rdma_connect() and kernel's ucma_connect(). Extend UCMA interface to handle those new parameters. Link: https://lore.kernel.org/r/20200526103304.196371-3-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
committed by
Jason Gunthorpe
parent
fef17f91da
commit
34e2ab57a9
@@ -210,10 +210,16 @@ struct rdma_ucm_ud_param {
|
||||
__u8 reserved[7];
|
||||
};
|
||||
|
||||
struct rdma_ucm_ece {
|
||||
__u32 vendor_id;
|
||||
__u32 attr_mod;
|
||||
};
|
||||
|
||||
struct rdma_ucm_connect {
|
||||
struct rdma_ucm_conn_param conn_param;
|
||||
__u32 id;
|
||||
__u32 reserved;
|
||||
struct rdma_ucm_ece ece;
|
||||
};
|
||||
|
||||
struct rdma_ucm_listen {
|
||||
|
||||
Reference in New Issue
Block a user