Skip to contentSkip to conversation

i40iw: Fill in IRD value when on connect request

PATCH New Henry Orosco 1 participant 1 message Nov 30, 2016 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i40iw: Fill in IRD value when on connect request

From: Shiraz Saleem <[email protected]>

IRD is not populated on connect request and application is getting 0 for the value. Fill in the correct value on connect request.

---
 drivers/infiniband/hw/i40iw/i40iw_cm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/infiniband/hw/i40iw/i40iw_cm.c +1 -0
index 0c92037..2f14de7 100644
@@ -272,6 +272,7 @@ static int i40iw_send_cm_event(struct i40iw_cm_node *cm_node,
 		event.provider_data = (void *)cm_node;
 		event.private_data = (void *)cm_node->pdata_buf;
 		event.private_data_len = (u8)cm_node->pdata.size;
+		event.ird = cm_node->ird_size;
 		break;
 	case IW_CM_EVENT_CONNECT_REPLY:
 		i40iw_get_cmevent_info(cm_node, cm_id, &event);
Signature · 6 lines
2.8.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html