Searched refs:pri_path (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 64 context->pri_path.ackto = 1 & 0x07; in mlx4_en_fill_qp_context() 65 context->pri_path.sched_queue = 0x83 | (priv->port - 1) << 6; in mlx4_en_fill_qp_context() 68 context->pri_path.sched_queue |= user_prio << 3; in mlx4_en_fill_qp_context() 69 context->pri_path.feup = MLX4_FEUP_FORCE_ETH_UP; in mlx4_en_fill_qp_context() 71 context->pri_path.counter_index = priv->counter_index; in mlx4_en_fill_qp_context() 76 context->pri_path.counter_index != in mlx4_en_fill_qp_context() 80 context->pri_path.fl |= MLX4_FL_ETH_SRC_CHECK_MC_LB; in mlx4_en_fill_qp_context() 81 context->pri_path.control |= MLX4_CTRL_ETH_SRC_CHECK_IF_COUNTER; in mlx4_en_fill_qp_context()
|
D | resource_tracker.c | 715 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid() 717 qp_ctx->pri_path.mgid_index = in update_gid() 720 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid() 724 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid() 726 qp_ctx->pri_path.mgid_index += in update_gid() 728 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid() 730 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid() 759 port = (qpc->pri_path.sched_queue & 0x40) ? 2 : 1; in update_vport_qp_param() 793 qpc->pri_path.vlan_control &= in update_vport_qp_param() 797 qpc->pri_path.vlan_control |= in update_vport_qp_param() [all …]
|
D | qp.c | 464 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp() 479 cmd->qp_context.pri_path.fl |= in mlx4_update_qp()
|
D | en_rx.c | 1259 ptr = ((void *) &context) + offsetof(struct mlx4_qp_context, pri_path) in mlx4_en_config_rss_steer()
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1935 context->pri_path.sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | ((qp->port - 1) << 6); in handle_eth_ud_smac_index() 1942 context->pri_path.grh_mylmc = 0x80 | (u8) smac_index; in handle_eth_ud_smac_index() 2093 pri_path) + MLX4_RSS_OFFSET_IN_QPC_PRI_PATH; in fill_qp_rss_context() 2242 mlx4_set_sched(&context->pri_path, attr->port_num); in __mlx4_ib_modify_qp() 2258 context->pri_path.counter_index = counter_index; in __mlx4_ib_modify_qp() 2261 context->pri_path.fl |= in __mlx4_ib_modify_qp() 2263 context->pri_path.vlan_control |= in __mlx4_ib_modify_qp() 2267 context->pri_path.counter_index = in __mlx4_ib_modify_qp() 2286 context->pri_path.disable_pkey_check = 0x40; in __mlx4_ib_modify_qp() 2287 context->pri_path.pkey_index = attr->pkey_index; in __mlx4_ib_modify_qp() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 131 struct mthca_qp_path pri_path; member 477 to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); in mthca_query_qp() 485 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; in mthca_query_qp() 487 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; in mthca_query_qp() 498 qp_attr->timeout = context->pri_path.ackto >> 3; in mthca_query_qp() 500 qp_attr->rnr_retry = context->pri_path.rnr_retry >> 5; in mthca_query_qp() 636 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 640 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 647 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 653 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp() [all …]
|
/linux-6.6.21/drivers/infiniband/core/ |
D | cm.c | 1305 struct sa_path_rec *pri_path = param->primary_path; in cm_format_req() local 1310 if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req() 1311 pri_ext = opa_is_extended_lid(pri_path->opa.dlid, in cm_format_req() 1312 pri_path->opa.slid); in cm_format_req() 1347 pri_path->sgid; in cm_format_req() 1349 pri_path->dgid; in cm_format_req() 1353 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); in cm_format_req() 1356 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); in cm_format_req() 1358 if (pri_path->hop_limit <= 1) { in cm_format_req() 1362 pri_path))))); in cm_format_req() [all …]
|
/linux-6.6.21/include/linux/mlx4/ |
D | qp.h | 202 struct mlx4_qp_path pri_path; member
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | qp.c | 4154 void *qpc, *pri_path, *alt_path; in __mlx5_ib_modify_qp() local 4221 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in __mlx5_ib_modify_qp() 4225 MLX5_SET(ads, pri_path, pkey_index, attr->pkey_index); in __mlx5_ib_modify_qp() 4230 MLX5_SET(ads, pri_path, vhca_port_num, qp->port); in __mlx5_ib_modify_qp() 4233 MLX5_SET(ads, pri_path, vhca_port_num, attr->port_num); in __mlx5_ib_modify_qp() 4236 err = mlx5_set_path(dev, qp, &attr->ah_attr, pri_path, in __mlx5_ib_modify_qp() 4245 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp() 4937 void *qpc, *pri_path, *alt_path; in query_qp_attr() local 4976 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in query_qp_attr() 4981 to_rdma_ah_attr(dev, &qp_attr->ah_attr, pri_path); in query_qp_attr() [all …]
|