Searched refs:owner_bit (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci.c | 208 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() argument 210 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned() 822 bool owner_bit; in mlxsw_pci_cq_sw_cqe_get() local 826 owner_bit = mlxsw_pci_cqe_owner_get(q->u.cq.v, elem); in mlxsw_pci_cq_sw_cqe_get() 827 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_cq_sw_cqe_get() 837 bool owner_bit; in mlxsw_pci_cq_cqe_to_handle() local 840 owner_bit = mlxsw_pci_cqe_owner_get(q->u.cq.v, elem_info->elem); in mlxsw_pci_cq_cqe_to_handle() 841 return !mlxsw_pci_elem_hw_owned(q, owner_bit); in mlxsw_pci_cq_cqe_to_handle() 1100 bool owner_bit; in mlxsw_pci_eq_sw_eqe_get() local 1104 owner_bit = mlxsw_pci_eqe_owner_get(elem); in mlxsw_pci_eq_sw_eqe_get() [all …]
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 921 u8 owner_bit; in __mlx4_ib_cq_clean() local 951 owner_bit = dest->owner_sr_opcode & MLX4_CQE_OWNER_MASK; in __mlx4_ib_cq_clean() 953 dest->owner_sr_opcode = owner_bit | in __mlx4_ib_cq_clean()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 1086 u8 owner_bit; in __mlx5_ib_cq_clean() local 1114 owner_bit = dest64->op_own & MLX5_CQE_OWNER_MASK; in __mlx5_ib_cq_clean() 1116 dest64->op_own = owner_bit | in __mlx5_ib_cq_clean()
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 466 unsigned int owner_bit) in set_ud_wqe() argument 515 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_OWNER, owner_bit); in set_ud_wqe() 568 unsigned int owner_bit) in set_rc_wqe() argument 616 hr_reg_write(rc_sq_wqe, RC_SEND_WQE_OWNER, owner_bit); in set_rc_wqe() 698 unsigned int owner_bit; in hns_roce_v2_post_send() local 735 owner_bit = in hns_roce_v2_post_send() 740 ret = set_rc_wqe(qp, wr, wqe, &sge_idx, owner_bit); in hns_roce_v2_post_send() 742 ret = set_ud_wqe(qp, wr, wqe, &sge_idx, owner_bit); in hns_roce_v2_post_send() 3541 u8 owner_bit; in __hns_roce_v2_cq_clean() local 3564 owner_bit = hr_reg_read(dest, CQE_OWNER); in __hns_roce_v2_cq_clean() [all …]
|