Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c98 struct mlx4_update_qp_params qp_params; in mlx4_en_change_mcast_lb() local
100 memset(&qp_params, 0, sizeof(qp_params)); in mlx4_en_change_mcast_lb()
102 qp_params.flags = MLX4_UPDATE_QP_PARAMS_FLAGS_ETH_CHECK_MC_LB; in mlx4_en_change_mcast_lb()
106 &qp_params); in mlx4_en_change_mcast_lb()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c1134 *qp_params) in get_gid_info_from_table()
1144 ret = rdma_read_gid_l2_fields(gid_attr, &qp_params->vlan_id, NULL); in get_gid_info_from_table()
1151 memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], in get_gid_info_from_table()
1152 sizeof(qp_params->sgid)); in get_gid_info_from_table()
1153 memcpy(&qp_params->dgid.bytes[0], in get_gid_info_from_table()
1155 sizeof(qp_params->dgid)); in get_gid_info_from_table()
1156 qp_params->roce_mode = ROCE_V2_IPV6; in get_gid_info_from_table()
1157 SET_FIELD(qp_params->modify_flags, in get_gid_info_from_table()
1161 memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], in get_gid_info_from_table()
1162 sizeof(qp_params->sgid)); in get_gid_info_from_table()
[all …]
Dqedr_iw_cm.c212 struct qed_rdma_modify_qp_in_params qp_params = { 0 }; in qedr_iw_disconnect_worker() local
234 qp_params.new_state = QED_ROCE_QP_STATE_ERR; in qedr_iw_disconnect_worker()
236 qp_params.new_state = QED_ROCE_QP_STATE_SQD; in qedr_iw_disconnect_worker()
242 SET_FIELD(qp_params.modify_flags, in qedr_iw_disconnect_worker()
245 dev->ops->rdma_modify_qp(dev->rdma_ctx, qp->qed_qp, &qp_params); in qedr_iw_disconnect_worker()