Home
last modified time | relevance | path

Searched refs:ib_attr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c123 struct ib_device_attr *ib_attr, in bnxt_re_query_device() argument
129 memset(ib_attr, 0, sizeof(*ib_attr)); in bnxt_re_query_device()
130 memcpy(&ib_attr->fw_ver, dev_attr->fw_ver, in bnxt_re_query_device()
132 sizeof(ib_attr->fw_ver))); in bnxt_re_query_device()
134 (u8 *)&ib_attr->sys_image_guid); in bnxt_re_query_device()
135 ib_attr->max_mr_size = BNXT_RE_MAX_MR_SIZE; in bnxt_re_query_device()
136 ib_attr->page_size_cap = BNXT_RE_PAGE_SIZE_4K | BNXT_RE_PAGE_SIZE_2M; in bnxt_re_query_device()
138 ib_attr->vendor_id = rdev->en_dev->pdev->vendor; in bnxt_re_query_device()
139 ib_attr->vendor_part_id = rdev->en_dev->pdev->device; in bnxt_re_query_device()
140 ib_attr->hw_ver = rdev->en_dev->pdev->subsystem_device; in bnxt_re_query_device()
[all …]
Dib_verbs.h146 struct ib_device_attr *ib_attr,
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c3045 static bool flow_is_multicast_only(const struct ib_flow_attr *ib_attr) in flow_is_multicast_only() argument
3049 if (ib_attr->type != IB_FLOW_ATTR_NORMAL || in flow_is_multicast_only()
3050 ib_attr->num_of_specs < 1) in flow_is_multicast_only()
3053 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only()