Lines Matching refs:ah_attr

1169 		if (attr->ah_attr.ah_flags & IB_AH_GRH) {  in irdma_modify_qp_roce()
1170 udp_info->ttl = attr->ah_attr.grh.hop_limit; in irdma_modify_qp_roce()
1171 udp_info->flow_label = attr->ah_attr.grh.flow_label; in irdma_modify_qp_roce()
1172 udp_info->tos = attr->ah_attr.grh.traffic_class; in irdma_modify_qp_roce()
1181 sgid_attr = attr->ah_attr.grh.sgid_attr; in irdma_modify_qp_roce()
1197 av->attrs = attr->ah_attr; in irdma_modify_qp_roce()
1199 rdma_gid2ip((struct sockaddr *)&av->dgid_addr, &attr->ah_attr.grh.dgid); in irdma_modify_qp_roce()
1235 attr->ah_attr.roce.dmac); in irdma_modify_qp_roce()
4144 struct rdma_ah_attr *ah_attr = attr->ah_attr; in irdma_create_ah() local
4170 ah->sgid_index = ah_attr->grh.sgid_index; in irdma_create_ah()
4171 sgid_attr = ah_attr->grh.sgid_attr; in irdma_create_ah()
4172 memcpy(&ah->dgid, &ah_attr->grh.dgid, sizeof(ah->dgid)); in irdma_create_ah()
4174 rdma_gid2ip((struct sockaddr *)&dgid_addr, &ah_attr->grh.dgid); in irdma_create_ah()
4175 ah->av.attrs = *ah_attr; in irdma_create_ah()
4182 if (ah_attr->ah_flags & IB_AH_GRH) { in irdma_create_ah()
4183 ah_info->flow_label = ah_attr->grh.flow_label; in irdma_create_ah()
4184 ah_info->hop_ttl = ah_attr->grh.hop_limit; in irdma_create_ah()
4185 ah_info->tc_tos = ah_attr->grh.traffic_class; in irdma_create_ah()
4188 ether_addr_copy(dmac, ah_attr->roce.dmac); in irdma_create_ah()
4299 static int irdma_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in irdma_query_ah() argument
4303 memset(ah_attr, 0, sizeof(*ah_attr)); in irdma_query_ah()
4305 ah_attr->ah_flags = IB_AH_GRH; in irdma_query_ah()
4306 ah_attr->grh.flow_label = ah->sc_ah.ah_info.flow_label; in irdma_query_ah()
4307 ah_attr->grh.traffic_class = ah->sc_ah.ah_info.tc_tos; in irdma_query_ah()
4308 ah_attr->grh.hop_limit = ah->sc_ah.ah_info.hop_ttl; in irdma_query_ah()
4309 ah_attr->grh.sgid_index = ah->sgid_index; in irdma_query_ah()
4310 ah_attr->grh.sgid_index = ah->sgid_index; in irdma_query_ah()
4311 memcpy(&ah_attr->grh.dgid, &ah->dgid, in irdma_query_ah()
4312 sizeof(ah_attr->grh.dgid)); in irdma_query_ah()