Home
last modified time | relevance | path

Searched refs:owner_bit (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c173 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() argument
175 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned()
699 bool owner_bit; in mlxsw_pci_cq_sw_cqe_get() local
703 owner_bit = mlxsw_pci_cqe_owner_get(q->u.cq.v, elem); in mlxsw_pci_cq_sw_cqe_get()
704 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_cq_sw_cqe_get()
812 bool owner_bit; in mlxsw_pci_eq_sw_eqe_get() local
816 owner_bit = mlxsw_pci_eqe_owner_get(elem); in mlxsw_pci_eq_sw_eqe_get()
817 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_eq_sw_eqe_get()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dcq.c920 u8 owner_bit; in __mlx4_ib_cq_clean() local
950 owner_bit = dest->owner_sr_opcode & MLX4_CQE_OWNER_MASK; in __mlx4_ib_cq_clean()
952 dest->owner_sr_opcode = owner_bit | in __mlx4_ib_cq_clean()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dcq.c1077 u8 owner_bit; in __mlx5_ib_cq_clean() local
1105 owner_bit = dest64->op_own & MLX5_CQE_OWNER_MASK; in __mlx5_ib_cq_clean()
1107 dest64->op_own = owner_bit | in __mlx5_ib_cq_clean()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c469 unsigned int owner_bit) in set_ud_wqe() argument
518 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_OWNER, owner_bit); in set_ud_wqe()
571 unsigned int owner_bit) in set_rc_wqe() argument
614 hr_reg_write(rc_sq_wqe, RC_SEND_WQE_OWNER, owner_bit); in set_rc_wqe()
696 unsigned int owner_bit; in hns_roce_v2_post_send() local
733 owner_bit = in hns_roce_v2_post_send()
738 ret = set_rc_wqe(qp, wr, wqe, &sge_idx, owner_bit); in hns_roce_v2_post_send()
740 ret = set_ud_wqe(qp, wr, wqe, &sge_idx, owner_bit); in hns_roce_v2_post_send()
3494 u8 owner_bit; in __hns_roce_v2_cq_clean() local
3517 owner_bit = hr_reg_read(dest, CQE_OWNER); in __hns_roce_v2_cq_clean()
[all …]