Searched refs:pri_path (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_resources.c | 60 context->pri_path.ackto = 1 & 0x07; in mlx4_en_fill_qp_context() 61 context->pri_path.sched_queue = 0x83 | (priv->port - 1) << 6; in mlx4_en_fill_qp_context() 63 context->pri_path.sched_queue |= user_prio << 3; in mlx4_en_fill_qp_context() 64 context->pri_path.feup = 1 << 6; in mlx4_en_fill_qp_context() 66 context->pri_path.counter_index = (u8)(priv->counter_index); in mlx4_en_fill_qp_context() 69 context->pri_path.counter_index != 0xFF) { in mlx4_en_fill_qp_context() 71 context->pri_path.fl |= MLX4_FL_ETH_SRC_CHECK_MC_LB; in mlx4_en_fill_qp_context() 72 context->pri_path.vlan_control |= in mlx4_en_fill_qp_context()
|
H A D | mlx4_en_rx.c | 1078 ptr = ((u8 *)&context) + offsetof(struct mlx4_qp_context, pri_path) + in mlx4_en_config_rss_steer()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_resource_tracker.c | 702 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid() 704 qp_ctx->pri_path.mgid_index = in update_gid() 707 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid() 711 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid() 713 qp_ctx->pri_path.mgid_index += in update_gid() 715 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid() 717 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid() 746 port = (qpc->pri_path.sched_queue & 0x40) ? 2 : 1; in update_vport_qp_param() 780 qpc->pri_path.vlan_control &= in update_vport_qp_param() 784 qpc->pri_path.vlan_control |= in update_vport_qp_param() [all …]
|
H A D | mlx4_qp.c | 443 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp() 458 cmd->qp_context.pri_path.fl |= in mlx4_update_qp()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 1557 context->pri_path.sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | ((qp->port - 1) << 6); in handle_eth_ud_smac_index() 1564 context->pri_path.grh_mylmc = 0x80 | (u8) smac_index; in handle_eth_ud_smac_index() 1724 mlx4_set_sched(&context->pri_path, attr->port_num); in __mlx4_ib_modify_qp() 1740 context->pri_path.counter_index = counter_index; in __mlx4_ib_modify_qp() 1743 context->pri_path.fl |= in __mlx4_ib_modify_qp() 1745 context->pri_path.vlan_control |= in __mlx4_ib_modify_qp() 1749 context->pri_path.counter_index = in __mlx4_ib_modify_qp() 1768 context->pri_path.disable_pkey_check = 0x40; in __mlx4_ib_modify_qp() 1769 context->pri_path.pkey_index = attr->pkey_index; in __mlx4_ib_modify_qp() 1800 if (mlx4_set_path(dev, attr, attr_mask, qp, &context->pri_path, in __mlx4_ib_modify_qp() [all …]
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_qp.c | 131 struct mthca_qp_path pri_path; member 472 to_ib_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); in mthca_query_qp() 479 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; in mthca_query_qp() 481 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; in mthca_query_qp() 492 qp_attr->timeout = context->pri_path.ackto >> 3; in mthca_query_qp() 494 qp_attr->rnr_retry = context->pri_path.rnr_retry >> 5; in mthca_query_qp() 624 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 628 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 635 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 641 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cm.c | 1230 struct ib_sa_path_rec *pri_path = param->primary_path; in cm_format_req() local 1259 if (pri_path->hop_limit <= 1) { in cm_format_req() 1260 req_msg->primary_local_lid = pri_path->slid; in cm_format_req() 1261 req_msg->primary_remote_lid = pri_path->dlid; in cm_format_req() 1267 req_msg->primary_local_gid = pri_path->sgid; in cm_format_req() 1268 req_msg->primary_remote_gid = pri_path->dgid; in cm_format_req() 1269 cm_req_set_primary_flow_label(req_msg, pri_path->flow_label); in cm_format_req() 1270 cm_req_set_primary_packet_rate(req_msg, pri_path->rate); in cm_format_req() 1271 req_msg->primary_traffic_class = pri_path->traffic_class; in cm_format_req() 1272 req_msg->primary_hop_limit = pri_path->hop_limit; in cm_format_req() [all …]
|
/freebsd/sys/dev/mlx4/ |
H A D | qp.h | 206 struct mlx4_qp_path pri_path; member
|
/freebsd/sys/dev/mlx5/ |
H A D | qp.h | 519 struct mlx5_qp_path pri_path; 510 struct mlx5_qp_path pri_path; global() member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_qp.c | 2779 context->pri_path.pkey_index = cpu_to_be16(attr->pkey_index); in __mlx5_ib_modify_qp() 2784 context->pri_path.port = qp->port; in __mlx5_ib_modify_qp() 2787 context->pri_path.port = attr->port_num; in __mlx5_ib_modify_qp() 2790 err = mlx5_set_path(dev, qp, &attr->ah_attr, &context->pri_path, in __mlx5_ib_modify_qp() 2798 context->pri_path.ackto_lt |= attr->timeout << 3; in __mlx5_ib_modify_qp() 4522 to_ib_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); in query_qp_attr() 4529 qp_attr->pkey_index = be16_to_cpu(context->pri_path.pkey_index); in query_qp_attr() 4530 qp_attr->port_num = context->pri_path.port; in query_qp_attr() 4541 qp_attr->timeout = context->pri_path.ackto_lt >> 3; in query_qp_attr()
|