RDMA/iwcm: add tos_set bool to iw_cm struct

This allows drivers to know the tos was actively set by the application.

Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
This commit is contained in:
Steve Wise 2019-02-01 12:44:32 -08:00 • committed by Jason Gunthorpe
commit 926ba19b35
2 changed files with 4 additions and 1 deletions

View file

@ -94,7 +94,8 @@ struct iw_cm_id {
void (*add_ref)(struct iw_cm_id *);
void (*rem_ref)(struct iw_cm_id *);
u8 tos;
bool mapped;
bool tos_set:1;
bool mapped:1;
};
struct iw_cm_conn_param {