Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c170 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() argument
172 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned()
583 bool owner_bit; in mlxsw_pci_cq_sw_cqe_get() local
587 owner_bit = mlxsw_pci_cqe_owner_get(q->u.cq.v, elem); in mlxsw_pci_cq_sw_cqe_get()
588 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_cq_sw_cqe_get()
694 bool owner_bit; in mlxsw_pci_eq_sw_eqe_get() local
698 owner_bit = mlxsw_pci_eqe_owner_get(elem); in mlxsw_pci_eq_sw_eqe_get()
699 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_eq_sw_eqe_get()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dcq.c927 u8 owner_bit; in __mlx4_ib_cq_clean() local
957 owner_bit = dest->owner_sr_opcode & MLX4_CQE_OWNER_MASK; in __mlx4_ib_cq_clean()
959 dest->owner_sr_opcode = owner_bit | in __mlx4_ib_cq_clean()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dcq.c1125 u8 owner_bit; in __mlx5_ib_cq_clean() local
1153 owner_bit = dest64->op_own & MLX5_CQE_OWNER_MASK; in __mlx5_ib_cq_clean()
1155 dest64->op_own = owner_bit | in __mlx5_ib_cq_clean()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c186 unsigned int owner_bit; in hns_roce_v2_post_send() local
236 owner_bit = in hns_roce_v2_post_send()
303 V2_UD_SEND_WQE_BYTE_4_OWNER_S, owner_bit); in hns_roce_v2_post_send()
407 V2_RC_SEND_WQE_BYTE_4_OWNER_S, owner_bit); in hns_roce_v2_post_send()
1851 u8 owner_bit; in __hns_roce_v2_cq_clean() local
1873 owner_bit = roce_get_bit(dest->byte_4, in __hns_roce_v2_cq_clean()
1877 owner_bit); in __hns_roce_v2_cq_clean()
Dhns_roce_hw_v1.c2056 u8 owner_bit; in __hns_roce_v1_cq_clean() local
2078 owner_bit = roce_get_bit(dest->cqe_byte_4, in __hns_roce_v1_cq_clean()
2082 owner_bit); in __hns_roce_v1_cq_clean()