diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/uverbs_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 6985a57fa6ae..12d6cc0a7f80 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c | |||
@@ -1454,6 +1454,7 @@ ssize_t ib_uverbs_create_ah(struct ib_uverbs_file *file, | |||
1454 | attr.sl = cmd.attr.sl; | 1454 | attr.sl = cmd.attr.sl; |
1455 | attr.src_path_bits = cmd.attr.src_path_bits; | 1455 | attr.src_path_bits = cmd.attr.src_path_bits; |
1456 | attr.static_rate = cmd.attr.static_rate; | 1456 | attr.static_rate = cmd.attr.static_rate; |
1457 | attr.ah_flags = cmd.attr.is_global ? IB_AH_GRH : 0; | ||
1457 | attr.port_num = cmd.attr.port_num; | 1458 | attr.port_num = cmd.attr.port_num; |
1458 | attr.grh.flow_label = cmd.attr.grh.flow_label; | 1459 | attr.grh.flow_label = cmd.attr.grh.flow_label; |
1459 | attr.grh.sgid_index = cmd.attr.grh.sgid_index; | 1460 | attr.grh.sgid_index = cmd.attr.grh.sgid_index; |