mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
IB/cm: Expose BTH P_Key in CM and SIDR request events
The rdma_cm module will later use the P_Key from the BTH to de-mux requests. See discussion at: http://www.spinics.net/lists/netdev/msg336067.html Cc: Jason Gunthorpe <[email protected]> Cc: Liran Liss <[email protected]> Signed-off-by: Haggai Eran <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
aac978e152
commit
24cad9a7e8
2 changed files with 26 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ struct ib_cm_id;
|
|||
|
||||
struct ib_cm_req_event_param {
|
||||
struct ib_cm_id *listen_id;
|
||||
|
||||
/* P_Key that was used by the GMP's BTH header */
|
||||
u16 bth_pkey;
|
||||
|
||||
u8 port;
|
||||
|
||||
struct ib_sa_path_rec *primary_path;
|
||||
|
|
@ -224,6 +228,8 @@ struct ib_cm_apr_event_param {
|
|||
struct ib_cm_sidr_req_event_param {
|
||||
struct ib_cm_id *listen_id;
|
||||
__be64 service_id;
|
||||
/* P_Key that was used by the GMP's BTH header */
|
||||
u16 bth_pkey;
|
||||
u8 port;
|
||||
u16 pkey;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue