Home
last modified time | relevance | path

Searched refs:ah_info (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/irdma/
Dutils.c1470 struct irdma_ah_info *ah_info) in irdma_puda_ieq_get_ah_info() argument
1476 memset(ah_info, 0, sizeof(*ah_info)); in irdma_puda_ieq_get_ah_info()
1477 ah_info->do_lpbk = true; in irdma_puda_ieq_get_ah_info()
1478 ah_info->vlan_tag = buf->vlan_id; in irdma_puda_ieq_get_ah_info()
1479 ah_info->insert_vlan_tag = buf->vlan_valid; in irdma_puda_ieq_get_ah_info()
1480 ah_info->ipv4_valid = buf->ipv4; in irdma_puda_ieq_get_ah_info()
1481 ah_info->vsi = qp->vsi; in irdma_puda_ieq_get_ah_info()
1484 ether_addr_copy(ah_info->mac_addr, buf->smac); in irdma_puda_ieq_get_ah_info()
1487 ah_info->ipv4_valid = true; in irdma_puda_ieq_get_ah_info()
1489 ah_info->hop_ttl = iph->ttl; in irdma_puda_ieq_get_ah_info()
[all …]
Dverbs.c3339 info.op.send.ah_id = ah->sc_ah.ah_info.ah_idx; in irdma_post_send()
4251 err = irdma_alloc_rsrc(rf, rf->allocated_ahs, rf->max_ah, &ah->sc_ah.ah_info.ah_idx, in irdma_create_hw_ah()
4270 } while (!ah->sc_ah.ah_info.ah_valid && --cnt); in irdma_create_hw_ah()
4281 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_ahs, ah->sc_ah.ah_info.ah_idx); in irdma_create_hw_ah()
4295 struct irdma_ah_info *ah_info; in irdma_setup_ah() local
4302 sc_ah->ah_info.vsi = &iwdev->vsi; in irdma_setup_ah()
4311 ah_info = &sc_ah->ah_info; in irdma_setup_ah()
4312 ah_info->pd_idx = pd->sc_pd.pd_id; in irdma_setup_ah()
4314 ah_info->flow_label = ah_attr->grh.flow_label; in irdma_setup_ah()
4315 ah_info->hop_ttl = ah_attr->grh.hop_limit; in irdma_setup_ah()
[all …]
Dcm.c316 if (!cm_node->ah || !cm_node->ah->ah_info.ah_valid) { in irdma_form_ah_cm_frame()
327 sqbuf->ah_id = cm_node->ah->ah_info.ah_idx; in irdma_form_ah_cm_frame()
2170 struct irdma_ah_info ah_info = {}; in irdma_cm_create_ah() local
2173 ether_addr_copy(ah_info.mac_addr, iwdev->netdev->dev_addr); in irdma_cm_create_ah()
2175 ah_info.hop_ttl = 0x40; in irdma_cm_create_ah()
2176 ah_info.tc_tos = cm_node->tos; in irdma_cm_create_ah()
2177 ah_info.vsi = &iwdev->vsi; in irdma_cm_create_ah()
2180 ah_info.ipv4_valid = true; in irdma_cm_create_ah()
2181 ah_info.dest_ip_addr[0] = cm_node->rem_addr[0]; in irdma_cm_create_ah()
2182 ah_info.src_ip_addr[0] = cm_node->loc_addr[0]; in irdma_cm_create_ah()
[all …]
Dpuda.h176 struct irdma_ah_info *ah_info);
178 struct irdma_ah_info *ah_info, bool wait,
Duda.h32 struct irdma_ah_info ah_info; member
Dpuda.c1410 txbuf->ah_id = pfpdu->ah->ah_info.ah_idx; in irdma_ieq_handle_partial()
1498 txbuf->ah_id = pfpdu->ah->ah_info.ah_idx; in irdma_ieq_process_buf()
1577 struct irdma_ah_info ah_info = {}; in irdma_ieq_create_ah() local
1580 irdma_puda_ieq_get_ah_info(qp, &ah_info); in irdma_ieq_create_ah()
1581 return irdma_puda_create_ah(qp->vsi->dev, &ah_info, false, in irdma_ieq_create_ah()
1662 else if (pfpdu->ah && pfpdu->ah->ah_info.ah_valid) in irdma_ieq_handle_exception()