Lines Matching refs:qplib_ah

702 	rc = bnxt_qplib_destroy_ah(&rdev->qplib_res, &ah->qplib_ah, block);
753 ah->qplib_ah.pd = &pd->qplib_pd;
756 memcpy(ah->qplib_ah.dgid.data, grh->dgid.raw,
763 ah->qplib_ah.sgid_index = ctx->idx;
764 ah->qplib_ah.host_sgid_index = grh->sgid_index;
765 ah->qplib_ah.traffic_class = grh->traffic_class;
766 ah->qplib_ah.flow_label = grh->flow_label;
767 ah->qplib_ah.hop_limit = grh->hop_limit;
768 ah->qplib_ah.sl = rdma_ah_get_sl(ah_attr);
772 ah->qplib_ah.nw_type = bnxt_re_stack_to_dev_nw_type(nw_type);
774 memcpy(ah->qplib_ah.dmac, ah_attr->roce.dmac, ETH_ALEN);
775 rc = bnxt_qplib_create_ah(&rdev->qplib_res, &ah->qplib_ah,
792 *wrptr = ah->qplib_ah.id;
808 rdma_ah_set_sl(ah_attr, ah->qplib_ah.sl);
809 memcpy(ah_attr->roce.dmac, ah->qplib_ah.dmac, ETH_ALEN);
811 ah->qplib_ah.host_sgid_index,
812 0, ah->qplib_ah.traffic_class);
813 rdma_ah_set_dgid_raw(ah_attr, ah->qplib_ah.dgid.data);
857 &gsi_sah->qplib_ah,
1098 ah->qplib_ah.pd = &pd->qplib_pd;
1105 memcpy(ah->qplib_ah.dgid.data, &sgid.raw,
1107 ah->qplib_ah.sgid_index = 0;
1109 ah->qplib_ah.traffic_class = 0;
1110 ah->qplib_ah.flow_label = 0;
1111 ah->qplib_ah.hop_limit = 1;
1112 ah->qplib_ah.sl = 0;
1114 ether_addr_copy(ah->qplib_ah.dmac, rdev->netdev->dev_addr);
1116 rc = bnxt_qplib_create_ah(&rdev->qplib_res, &ah->qplib_ah, false);
2248 struct bnxt_qplib_ah *qplib_ah = &ah->qplib_ah;
2282 memcpy(&dgid.raw, &qplib_ah->dgid, 16);
2305 ether_addr_copy(qp->qp1_hdr.eth.dmac_h, ah->qplib_ah.dmac);
2320 memcpy(qp->qp1_hdr.grh.destination_gid.raw, qplib_ah->dgid.data,
2322 qp->qp1_hdr.grh.hop_limit = qplib_ah->hop_limit;
2329 qp->qp1_hdr.ip4.ttl = qplib_ah->hop_limit;
2332 memcpy(&qp->qp1_hdr.ip4.daddr, qplib_ah->dgid.data + 12, 4);
2474 wqe->send.avid = ah->qplib_ah.id;