diff options
author | Steve Wise <swise@opengridcomputing.com> | 2019-02-01 21:44:32 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-09 00:18:06 +0100 |
commit | 926ba19b3574f6a80823a42484877ed65e91da9c (patch) | |
tree | 62798bac4b4a26598664887b88efc5336ff4eb80 /include/rdma | |
parent | RDMA/cma: listening device cm_ids should inherit tos (diff) | |
download | linux-926ba19b3574f6a80823a42484877ed65e91da9c.tar.xz linux-926ba19b3574f6a80823a42484877ed65e91da9c.zip |
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 <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/iw_cm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rdma/iw_cm.h b/include/rdma/iw_cm.h index 48512abd3162..0e1f02815643 100644 --- a/include/rdma/iw_cm.h +++ b/include/rdma/iw_cm.h @@ -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 { |