Searched refs:ib_attr (Results 1 – 3 of 3) sorted by relevance
142 struct ib_device_attr *ib_attr, in bnxt_re_query_device() argument148 memset(ib_attr, 0, sizeof(*ib_attr)); in bnxt_re_query_device()149 memcpy(&ib_attr->fw_ver, dev_attr->fw_ver, in bnxt_re_query_device()151 sizeof(ib_attr->fw_ver))); in bnxt_re_query_device()152 addrconf_addr_eui48((u8 *)&ib_attr->sys_image_guid, in bnxt_re_query_device()154 ib_attr->max_mr_size = BNXT_RE_MAX_MR_SIZE; in bnxt_re_query_device()155 ib_attr->page_size_cap = BNXT_RE_PAGE_SIZE_SUPPORTED; in bnxt_re_query_device()157 ib_attr->vendor_id = rdev->en_dev->pdev->vendor; in bnxt_re_query_device()158 ib_attr->vendor_part_id = rdev->en_dev->pdev->device; in bnxt_re_query_device()159 ib_attr->hw_ver = rdev->en_dev->pdev->subsystem_device; in bnxt_re_query_device()[all …]
197 struct ib_device_attr *ib_attr,
541 static bool flow_is_multicast_only(const struct ib_flow_attr *ib_attr) in flow_is_multicast_only() argument545 if (ib_attr->type != IB_FLOW_ATTR_NORMAL || in flow_is_multicast_only()546 ib_attr->num_of_specs < 1) in flow_is_multicast_only()549 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only()