qp_params 203 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct qed_rdma_modify_qp_in_params qp_params = { 0 }; qp_params 225 drivers/infiniband/hw/qedr/qedr_iw_cm.c qp_params.new_state = QED_ROCE_QP_STATE_ERR; qp_params 227 drivers/infiniband/hw/qedr/qedr_iw_cm.c qp_params.new_state = QED_ROCE_QP_STATE_SQD; qp_params 233 drivers/infiniband/hw/qedr/qedr_iw_cm.c SET_FIELD(qp_params.modify_flags, qp_params 236 drivers/infiniband/hw/qedr/qedr_iw_cm.c dev->ops->rdma_modify_qp(dev->rdma_ctx, qp->qed_qp, &qp_params); qp_params 1012 drivers/infiniband/hw/qedr/verbs.c *qp_params) qp_params 1022 drivers/infiniband/hw/qedr/verbs.c ret = rdma_read_gid_l2_fields(gid_attr, &qp_params->vlan_id, NULL); qp_params 1029 drivers/infiniband/hw/qedr/verbs.c memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], qp_params 1030 drivers/infiniband/hw/qedr/verbs.c sizeof(qp_params->sgid)); qp_params 1031 drivers/infiniband/hw/qedr/verbs.c memcpy(&qp_params->dgid.bytes[0], qp_params 1033 drivers/infiniband/hw/qedr/verbs.c sizeof(qp_params->dgid)); qp_params 1034 drivers/infiniband/hw/qedr/verbs.c qp_params->roce_mode = ROCE_V2_IPV6; qp_params 1035 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params->modify_flags, qp_params 1039 drivers/infiniband/hw/qedr/verbs.c memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], qp_params 1040 drivers/infiniband/hw/qedr/verbs.c sizeof(qp_params->sgid)); qp_params 1041 drivers/infiniband/hw/qedr/verbs.c memcpy(&qp_params->dgid.bytes[0], qp_params 1043 drivers/infiniband/hw/qedr/verbs.c sizeof(qp_params->dgid)); qp_params 1044 drivers/infiniband/hw/qedr/verbs.c qp_params->roce_mode = ROCE_V1; qp_params 1047 drivers/infiniband/hw/qedr/verbs.c memset(&qp_params->sgid, 0, sizeof(qp_params->sgid)); qp_params 1048 drivers/infiniband/hw/qedr/verbs.c memset(&qp_params->dgid, 0, sizeof(qp_params->dgid)); qp_params 1050 drivers/infiniband/hw/qedr/verbs.c qp_params->sgid.ipv4_addr = ipv4_addr; qp_params 1053 drivers/infiniband/hw/qedr/verbs.c qp_params->dgid.ipv4_addr = ipv4_addr; qp_params 1054 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params->modify_flags, qp_params 1056 drivers/infiniband/hw/qedr/verbs.c qp_params->roce_mode = ROCE_V2_IPV4; qp_params 1061 drivers/infiniband/hw/qedr/verbs.c qp_params->sgid.dwords[i] = ntohl(qp_params->sgid.dwords[i]); qp_params 1062 drivers/infiniband/hw/qedr/verbs.c qp_params->dgid.dwords[i] = ntohl(qp_params->dgid.dwords[i]); qp_params 1065 drivers/infiniband/hw/qedr/verbs.c if (qp_params->vlan_id >= VLAN_CFI_MASK) qp_params 1066 drivers/infiniband/hw/qedr/verbs.c qp_params->vlan_id = 0; qp_params 2109 drivers/infiniband/hw/qedr/verbs.c struct qed_rdma_modify_qp_in_params qp_params = { 0 }; qp_params 2141 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2143 drivers/infiniband/hw/qedr/verbs.c qp_params.new_state = qedr_get_state_from_ibqp(attr->qp_state); qp_params 2147 drivers/infiniband/hw/qedr/verbs.c qp_params.sqd_async = true; qp_params 2150 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2157 drivers/infiniband/hw/qedr/verbs.c qp_params.pkey = QEDR_ROCE_PKEY_DEFAULT; qp_params 2164 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2166 drivers/infiniband/hw/qedr/verbs.c qp_params.incoming_rdma_read_en = attr->qp_access_flags & qp_params 2168 drivers/infiniband/hw/qedr/verbs.c qp_params.incoming_rdma_write_en = attr->qp_access_flags & qp_params 2170 drivers/infiniband/hw/qedr/verbs.c qp_params.incoming_atomic_en = attr->qp_access_flags & qp_params 2196 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2199 drivers/infiniband/hw/qedr/verbs.c qp_params.traffic_class_tos = grh->traffic_class; qp_params 2200 drivers/infiniband/hw/qedr/verbs.c qp_params.flow_label = grh->flow_label; qp_params 2201 drivers/infiniband/hw/qedr/verbs.c qp_params.hop_limit_ttl = grh->hop_limit; qp_params 2205 drivers/infiniband/hw/qedr/verbs.c rc = get_gid_info_from_table(ibqp, attr, attr_mask, &qp_params); qp_params 2214 drivers/infiniband/hw/qedr/verbs.c qp_params.remote_mac_addr); qp_params 2218 drivers/infiniband/hw/qedr/verbs.c qp_params.use_local_mac = true; qp_params 2219 drivers/infiniband/hw/qedr/verbs.c ether_addr_copy(qp_params.local_mac_addr, dev->ndev->dev_addr); qp_params 2222 drivers/infiniband/hw/qedr/verbs.c qp_params.dgid.dwords[0], qp_params.dgid.dwords[1], qp_params 2223 drivers/infiniband/hw/qedr/verbs.c qp_params.dgid.dwords[2], qp_params.dgid.dwords[3]); qp_params 2225 drivers/infiniband/hw/qedr/verbs.c qp_params.sgid.dwords[0], qp_params.sgid.dwords[1], qp_params 2226 drivers/infiniband/hw/qedr/verbs.c qp_params.sgid.dwords[2], qp_params.sgid.dwords[3]); qp_params 2228 drivers/infiniband/hw/qedr/verbs.c qp_params.remote_mac_addr); qp_params 2230 drivers/infiniband/hw/qedr/verbs.c qp_params.mtu = qp->mtu; qp_params 2231 drivers/infiniband/hw/qedr/verbs.c qp_params.lb_indication = false; qp_params 2234 drivers/infiniband/hw/qedr/verbs.c if (!qp_params.mtu) { qp_params 2237 drivers/infiniband/hw/qedr/verbs.c qp_params.mtu = qp->mtu; qp_params 2239 drivers/infiniband/hw/qedr/verbs.c qp_params.mtu = qp_params 2244 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2258 drivers/infiniband/hw/qedr/verbs.c qp_params.ack_timeout = qp_params 2261 drivers/infiniband/hw/qedr/verbs.c qp_params.ack_timeout = 0; qp_params 2265 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2267 drivers/infiniband/hw/qedr/verbs.c qp_params.retry_cnt = attr->retry_cnt; qp_params 2271 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2273 drivers/infiniband/hw/qedr/verbs.c qp_params.rnr_retry_cnt = attr->rnr_retry; qp_params 2277 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2279 drivers/infiniband/hw/qedr/verbs.c qp_params.rq_psn = attr->rq_psn; qp_params 2293 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2295 drivers/infiniband/hw/qedr/verbs.c qp_params.max_rd_atomic_req = attr->max_rd_atomic; qp_params 2299 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2301 drivers/infiniband/hw/qedr/verbs.c qp_params.min_rnr_nak_timer = attr->min_rnr_timer; qp_params 2305 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2307 drivers/infiniband/hw/qedr/verbs.c qp_params.sq_psn = attr->sq_psn; qp_params 2323 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2325 drivers/infiniband/hw/qedr/verbs.c qp_params.max_rd_atomic_resp = attr->max_dest_rd_atomic; qp_params 2329 drivers/infiniband/hw/qedr/verbs.c SET_FIELD(qp_params.modify_flags, qp_params 2332 drivers/infiniband/hw/qedr/verbs.c qp_params.dest_qp = attr->dest_qp_num; qp_params 2344 drivers/infiniband/hw/qedr/verbs.c !udata && qp_params.new_state == QED_ROCE_QP_STATE_ERR) qp_params 2349 drivers/infiniband/hw/qedr/verbs.c qp->qed_qp, &qp_params); qp_params 2354 drivers/infiniband/hw/qedr/verbs.c qp_params.new_state); qp_params 2355 drivers/infiniband/hw/qedr/verbs.c qp->state = qp_params.new_state; qp_params 98 drivers/net/ethernet/mellanox/mlx4/en_resources.c struct mlx4_update_qp_params qp_params; qp_params 100 drivers/net/ethernet/mellanox/mlx4/en_resources.c memset(&qp_params, 0, sizeof(qp_params)); qp_params 102 drivers/net/ethernet/mellanox/mlx4/en_resources.c qp_params.flags = MLX4_UPDATE_QP_PARAMS_FLAGS_ETH_CHECK_MC_LB; qp_params 106 drivers/net/ethernet/mellanox/mlx4/en_resources.c &qp_params);