Searched refs:ib_attr (Results 1 – 3 of 3) sorted by relevance
124 struct ib_device_attr *ib_attr, in bnxt_re_query_device() argument130 memset(ib_attr, 0, sizeof(*ib_attr)); in bnxt_re_query_device()131 memcpy(&ib_attr->fw_ver, dev_attr->fw_ver, in bnxt_re_query_device()133 sizeof(ib_attr->fw_ver))); in bnxt_re_query_device()134 addrconf_addr_eui48((u8 *)&ib_attr->sys_image_guid, in bnxt_re_query_device()136 ib_attr->max_mr_size = BNXT_RE_MAX_MR_SIZE; in bnxt_re_query_device()137 ib_attr->page_size_cap = BNXT_RE_PAGE_SIZE_SUPPORTED; in bnxt_re_query_device()139 ib_attr->vendor_id = rdev->en_dev->pdev->vendor; in bnxt_re_query_device()140 ib_attr->vendor_part_id = rdev->en_dev->pdev->device; in bnxt_re_query_device()141 ib_attr->hw_ver = rdev->en_dev->pdev->subsystem_device; in bnxt_re_query_device()[all …]
150 struct ib_device_attr *ib_attr,
542 static bool flow_is_multicast_only(const struct ib_flow_attr *ib_attr) in flow_is_multicast_only() argument546 if (ib_attr->type != IB_FLOW_ATTR_NORMAL || in flow_is_multicast_only()547 ib_attr->num_of_specs < 1) in flow_is_multicast_only()550 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only()