Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dresource_tracker.c120 u8 sched_queue; member
835 qpc->pri_path.sched_queue &= 0xC7; in update_vport_qp_param()
2982 qp->sched_queue = 0; in mlx4_RST2INIT_QP_wrapper()
3785 qpc->pri_path.sched_queue = pri_sched_queue; in adjust_qp_sched_queue()
3794 qpc->alt_path.sched_queue = in adjust_qp_sched_queue()
3795 (qpc->alt_path.sched_queue & ~(1 << 6)) | in adjust_qp_sched_queue()
3871 qp->sched_queue = orig_sched_queue; in mlx4_INIT2RTR_QP_wrapper()
4322 port = (rqp->sched_queue >> 6 & 1) + 1; in mlx4_UPDATE_QP_wrapper()
5351 port = (qp->sched_queue >> 6 & 1) + 1; in mlx4_vf_immed_vlan_work_handler()
5369 qp->sched_queue; in mlx4_vf_immed_vlan_work_handler()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c1769 path->sched_queue = (path->sched_queue & 0xbf) | ((port - 1) << 6); in mlx4_set_sched()
1818 path->sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | in _mlx4_set_path()
1883 path->sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | in _mlx4_set_path()
2444 context->pri_path.sched_queue = (qp->port - 1) << 6; in __mlx4_ib_modify_qp()
2448 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_QP0_SCHED_QUEUE; in __mlx4_ib_modify_qp()
2454 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_SCHED_QUEUE; in __mlx4_ib_modify_qp()
3981 u8 port_num = path->sched_queue & 0x40 ? 2 : 1; in to_rdma_ah_attr()
3989 rdma_ah_set_sl(ah_attr, ((path->sched_queue >> 3) & 0x7) | in to_rdma_ah_attr()
3990 ((path->sched_queue & 4) << 1)); in to_rdma_ah_attr()
3992 rdma_ah_set_sl(ah_attr, (path->sched_queue >> 2) & 0xf); in to_rdma_ah_attr()
[all …]
/openbmc/linux/include/linux/mlx4/
H A Dqp.h153 u8 sched_queue; member
/openbmc/linux/drivers/infiniband/hw/mthca/
H A 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()