Lines Matching refs:ah_info

316 	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()
2122 struct irdma_ah_info ah_info = {}; in irdma_cm_create_ah() local
2125 ether_addr_copy(ah_info.mac_addr, iwdev->netdev->dev_addr); in irdma_cm_create_ah()
2127 ah_info.hop_ttl = 0x40; in irdma_cm_create_ah()
2128 ah_info.tc_tos = cm_node->tos; in irdma_cm_create_ah()
2129 ah_info.vsi = &iwdev->vsi; in irdma_cm_create_ah()
2132 ah_info.ipv4_valid = true; in irdma_cm_create_ah()
2133 ah_info.dest_ip_addr[0] = cm_node->rem_addr[0]; in irdma_cm_create_ah()
2134 ah_info.src_ip_addr[0] = cm_node->loc_addr[0]; in irdma_cm_create_ah()
2135 ah_info.do_lpbk = irdma_ipv4_is_lpb(ah_info.src_ip_addr[0], in irdma_cm_create_ah()
2136 ah_info.dest_ip_addr[0]); in irdma_cm_create_ah()
2138 memcpy(ah_info.dest_ip_addr, cm_node->rem_addr, in irdma_cm_create_ah()
2139 sizeof(ah_info.dest_ip_addr)); in irdma_cm_create_ah()
2140 memcpy(ah_info.src_ip_addr, cm_node->loc_addr, in irdma_cm_create_ah()
2141 sizeof(ah_info.src_ip_addr)); in irdma_cm_create_ah()
2142 ah_info.do_lpbk = irdma_ipv6_is_lpb(ah_info.src_ip_addr, in irdma_cm_create_ah()
2143 ah_info.dest_ip_addr); in irdma_cm_create_ah()
2146 ah_info.vlan_tag = cm_node->vlan_id; in irdma_cm_create_ah()
2148 ah_info.insert_vlan_tag = 1; in irdma_cm_create_ah()
2149 ah_info.vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT; in irdma_cm_create_ah()
2152 ah_info.dst_arpindex = in irdma_cm_create_ah()
2153 irdma_arp_table(iwdev->rf, ah_info.dest_ip_addr, in irdma_cm_create_ah()
2154 ah_info.ipv4_valid, NULL, IRDMA_ARP_RESOLVE); in irdma_cm_create_ah()
2156 if (irdma_puda_create_ah(&iwdev->rf->sc_dev, &ah_info, wait, in irdma_cm_create_ah()