Home
last modified time | relevance | path

Searched refs:op_own (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c730 __be32 op_own, bool bf_ok, in mlx4_en_tx_write_desc() argument
736 op_own |= htonl((bf_index & 0xffff) << 8); in mlx4_en_tx_write_desc()
741 tx_desc->ctrl.owner_opcode = op_own; in mlx4_en_tx_write_desc()
756 tx_desc->ctrl.owner_opcode = op_own; in mlx4_en_tx_write_desc()
844 __be32 op_own; in mlx4_en_xmit() local
983 op_own = cpu_to_be32(MLX4_OPCODE_LSO | (1 << 6)) | in mlx4_en_xmit()
1002 op_own = cpu_to_be32(MLX4_OPCODE_SEND) | in mlx4_en_xmit()
1028 op_own |= cpu_to_be32(MLX4_WQE_CTRL_IIP | MLX4_WQE_CTRL_ILP); in mlx4_en_xmit()
1030 op_own |= cpu_to_be32(MLX4_WQE_CTRL_IIP); in mlx4_en_xmit()
1059 op_own, bf_ok, send_doorbell); in mlx4_en_xmit()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c82 u8 op_own = mlx5_cqwq_get_ctr_wrap_cnt(wq, cqcc) & 1; in mlx5e_cqes_update_owner() local
90 cqe->op_own = op_own; in mlx5e_cqes_update_owner()
94 op_own = !op_own; in mlx5e_cqes_update_owner()
98 cqe->op_own = op_own; in mlx5e_cqes_update_owner()
108 cq->title.op_own &= 0xf0; in mlx5e_decompress_cqe()
109 cq->title.op_own |= 0x01 & (cqcc >> cq->wq.fbc.log_sz); in mlx5e_decompress_cqe()
557 if (unlikely((cqe->op_own >> 4) != MLX5_CQE_REQ)) { in mlx5e_poll_ico_single_cqe()
559 "Bad OP in ICOSQ CQE: 0x%x\n", cqe->op_own); in mlx5e_poll_ico_single_cqe()
888 if (unlikely((cqe->op_own >> 4) != MLX5_CQE_RESP_SEND)) { in mlx5e_skb_from_cqe_linear()
920 if (unlikely((cqe->op_own >> 4) != MLX5_CQE_RESP_SEND)) { in mlx5e_skb_from_cqe_nonlinear()
[all …]
Dwq.h209 u8 cqe_ownership_bit = cqe->op_own & MLX5_CQE_OWNER_MASK; in mlx5_cqwq_get_cqe()
Den_tx.c510 if (unlikely(cqe->op_own >> 4 == MLX5_CQE_REQ_ERR)) { in mlx5e_poll_tx_cq()
Den_main.c1633 cqe->op_own = 0xf1; in mlx5e_alloc_cq_common()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dcq.c84 if (likely((cqe64->op_own) >> 4 != MLX5_CQE_INVALID) && in get_sw_cqe()
85 !((cqe64->op_own & MLX5_CQE_OWNER_MASK) ^ !!(n & (cq->ibcq.cqe + 1)))) { in get_sw_cqe()
200 switch (cqe->op_own >> 4) { in handle_responder()
540 opcode = cqe64->op_own >> 4; in mlx5_poll_one()
909 cqe64->op_own = MLX5_CQE_INVALID << 4; in init_cq_frag_buf()
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()
1156 (dest64->op_own & ~MLX5_CQE_OWNER_MASK); in __mlx5_ib_cq_clean()
1300 while ((scqe64->op_own >> 4) != MLX5_CQE_RESIZE_CQ) { in copy_resize_cqes()
1306 dcqe64->op_own = (dcqe64->op_own & ~MLX5_CQE_OWNER_MASK) | sw_own; in copy_resize_cqes()
/Linux-v4.19/include/linux/mlx5/
Ddevice.h698 u8 op_own; member
728 u8 op_own; member
762 return (cqe->op_own >> 2) & 0x3; in mlx5_get_cqe_format()
884 u8 op_own; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c337 opcode = cqe->op_own >> 4; in mlx5_fpga_conn_handle_cqe()
453 cqe->op_own = MLX5_CQE_INVALID << 4 | MLX5_CQE_OWNER_MASK; in mlx5_fpga_conn_create_cq()