Home
last modified time | relevance | path

Searched refs:sched_queue (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c65 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()
Dresource_tracker.c120 u8 sched_queue; member
715 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
724 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
734 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()
759 port = (qpc->pri_path.sched_queue & 0x40) ? 2 : 1; in update_vport_qp_param()
835 qpc->pri_path.sched_queue &= 0xC7; in update_vport_qp_param()
836 qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; in update_vport_qp_param()
2982 qp->sched_queue = 0; in mlx4_RST2INIT_QP_wrapper()
3218 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
3227 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
[all …]
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c1730 path->sched_queue = (path->sched_queue & 0xbf) | ((port - 1) << 6); in mlx4_set_sched()
1779 path->sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | in _mlx4_set_path()
1844 path->sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | in _mlx4_set_path()
1896 context->pri_path.sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | ((qp->port - 1) << 6); in handle_eth_ud_smac_index()
2405 context->pri_path.sched_queue = (qp->port - 1) << 6; in __mlx4_ib_modify_qp()
2409 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_QP0_SCHED_QUEUE; in __mlx4_ib_modify_qp()
2415 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_SCHED_QUEUE; in __mlx4_ib_modify_qp()
3942 u8 port_num = path->sched_queue & 0x40 ? 2 : 1; in to_rdma_ah_attr()
3950 rdma_ah_set_sl(ah_attr, ((path->sched_queue >> 3) & 0x7) | in to_rdma_ah_attr()
3951 ((path->sched_queue & 4) << 1)); in to_rdma_ah_attr()
[all …]
/linux-6.1.9/include/linux/mlx4/
Dqp.h153 u8 sched_queue; member
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_qp.c669 u8 sched_queue = ibqp->uobject ? 0x2 : 0x1; in __mthca_modify_qp() local
672 qp_context->rlkey_arbel_sched_queue |= sched_queue; in __mthca_modify_qp()
674 qp_context->tavor_sched_queue |= cpu_to_be32(sched_queue); in __mthca_modify_qp()