Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c171 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() argument
173 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned()
595 bool owner_bit; in mlxsw_pci_cq_sw_cqe_get() local
599 owner_bit = mlxsw_pci_cqe_owner_get(q->u.cq.v, elem); in mlxsw_pci_cq_sw_cqe_get()
600 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_cq_sw_cqe_get()
708 bool owner_bit; in mlxsw_pci_eq_sw_eqe_get() local
712 owner_bit = mlxsw_pci_eqe_owner_get(elem); in mlxsw_pci_eq_sw_eqe_get()
713 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_eq_sw_eqe_get()
/drivers/infiniband/hw/mlx4/
Dcq.c924 u8 owner_bit; in __mlx4_ib_cq_clean() local
954 owner_bit = dest->owner_sr_opcode & MLX4_CQE_OWNER_MASK; in __mlx4_ib_cq_clean()
956 dest->owner_sr_opcode = owner_bit | in __mlx4_ib_cq_clean()
/drivers/infiniband/hw/mlx5/
Dcq.c1017 u8 owner_bit; in __mlx5_ib_cq_clean() local
1045 owner_bit = dest64->op_own & MLX5_CQE_OWNER_MASK; in __mlx5_ib_cq_clean()
1047 dest64->op_own = owner_bit | in __mlx5_ib_cq_clean()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c243 unsigned int owner_bit; in hns_roce_v2_post_send() local
294 owner_bit = in hns_roce_v2_post_send()
361 V2_UD_SEND_WQE_BYTE_4_OWNER_S, owner_bit); in hns_roce_v2_post_send()
465 V2_RC_SEND_WQE_BYTE_4_OWNER_S, owner_bit); in hns_roce_v2_post_send()
2496 u8 owner_bit; in __hns_roce_v2_cq_clean() local
2524 owner_bit = roce_get_bit(dest->byte_4, in __hns_roce_v2_cq_clean()
2528 owner_bit); in __hns_roce_v2_cq_clean()
Dhns_roce_hw_v1.c2023 u8 owner_bit; in __hns_roce_v1_cq_clean() local
2045 owner_bit = roce_get_bit(dest->cqe_byte_4, in __hns_roce_v1_cq_clean()
2049 owner_bit); in __hns_roce_v1_cq_clean()