mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
RDMA/ucma: Allow user space to set service type
Export the ability to set the type of service to user space. Model the interface after setsockopt. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
a81c994d5e
commit
7ce86409ad
2 changed files with 91 additions and 1 deletions
|
|
@ -212,4 +212,22 @@ struct rdma_ucm_event_resp {
|
|||
} param;
|
||||
};
|
||||
|
||||
/* Option levels */
|
||||
enum {
|
||||
RDMA_OPTION_ID = 0
|
||||
};
|
||||
|
||||
/* Option details */
|
||||
enum {
|
||||
RDMA_OPTION_ID_TOS = 0
|
||||
};
|
||||
|
||||
struct rdma_ucm_set_option {
|
||||
__u64 optval;
|
||||
__u32 id;
|
||||
__u32 level;
|
||||
__u32 optname;
|
||||
__u32 optlen;
|
||||
};
|
||||
|
||||
#endif /* RDMA_USER_CM_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue