Home
last modified time | relevance | path

Searched refs:uverb_attr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_cmd.c1607 static void copy_ah_attr_to_uverbs(struct ib_uverbs_qp_dest *uverb_attr, in copy_ah_attr_to_uverbs() argument
1612 uverb_attr->dlid = rdma_ah_get_dlid(rdma_attr); in copy_ah_attr_to_uverbs()
1613 uverb_attr->sl = rdma_ah_get_sl(rdma_attr); in copy_ah_attr_to_uverbs()
1614 uverb_attr->src_path_bits = rdma_ah_get_path_bits(rdma_attr); in copy_ah_attr_to_uverbs()
1615 uverb_attr->static_rate = rdma_ah_get_static_rate(rdma_attr); in copy_ah_attr_to_uverbs()
1616 uverb_attr->is_global = !!(rdma_ah_get_ah_flags(rdma_attr) & in copy_ah_attr_to_uverbs()
1618 if (uverb_attr->is_global) { in copy_ah_attr_to_uverbs()
1620 memcpy(uverb_attr->dgid, grh->dgid.raw, 16); in copy_ah_attr_to_uverbs()
1621 uverb_attr->flow_label = grh->flow_label; in copy_ah_attr_to_uverbs()
1622 uverb_attr in copy_ah_attr_to_uverbs()
1720 copy_ah_attr_from_uverbs(struct ib_device *dev, struct rdma_ah_attr *rdma_attr, struct ib_uverbs_qp_dest *uverb_attr) copy_ah_attr_from_uverbs() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_cmd.c1615 static void copy_ah_attr_to_uverbs(struct ib_uverbs_qp_dest *uverb_attr, in copy_ah_attr_to_uverbs() argument
1620 uverb_attr->dlid = rdma_ah_get_dlid(rdma_attr); in copy_ah_attr_to_uverbs()
1621 uverb_attr->sl = rdma_ah_get_sl(rdma_attr); in copy_ah_attr_to_uverbs()
1622 uverb_attr->src_path_bits = rdma_ah_get_path_bits(rdma_attr); in copy_ah_attr_to_uverbs()
1623 uverb_attr->static_rate = rdma_ah_get_static_rate(rdma_attr); in copy_ah_attr_to_uverbs()
1624 uverb_attr->is_global = !!(rdma_ah_get_ah_flags(rdma_attr) & in copy_ah_attr_to_uverbs()
1626 if (uverb_attr->is_global) { in copy_ah_attr_to_uverbs()
1628 memcpy(uverb_attr->dgid, grh->dgid.raw, 16); in copy_ah_attr_to_uverbs()
1629 uverb_attr->flow_label = grh->flow_label; in copy_ah_attr_to_uverbs()
1630 uverb_attr in copy_ah_attr_to_uverbs()
1728 copy_ah_attr_from_uverbs(struct ib_device *dev, struct rdma_ah_attr *rdma_attr, struct ib_uverbs_qp_dest *uverb_attr) copy_ah_attr_from_uverbs() argument
[all...]

Completed in 7 milliseconds