Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c mlx5e_ptp_handle_ts_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/lib/aso.c mlx5_aso_poll_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &aso->aso_lock
HALF_LOCKED2 &aso->lock
HALF_LOCKED2 &flow_meters->aso_lock
HALF_LOCKED2 &flow_meters->sync_lock
HALF_LOCKED2 &macsec->lock
HALF_LOCKED2 &sa_entry->x->lock
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/lib/aso.c mlx5_aso_poll_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &aso->aso_lock
HALF_LOCKED2 &aso->lock
HALF_LOCKED2 &flow_meters->aso_lock
HALF_LOCKED2 &flow_meters->sync_lock
HALF_LOCKED2 &macsec->lock
HALF_LOCKED2 &sa_entry->x->lock
HALF_LOCKED2 bh

drivers/vfio/pci/mlx5/cmd.c get_sw_cqe() -> get_cqe_opcode()

Type Parameter Key Value
LOCK2 &mvdev->state_mutex
HALF_LOCKED2 &iopt->iova_rwsem
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vfio/pci/mlx5/cmd.c mlx5vf_cq_poll_one() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r get_sw_cqe
LOCK2 &mvdev->state_mutex
HALF_LOCKED2 &iopt->iova_rwsem
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vdpa/mlx5/net/mlx5_vnet.c get_sw_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r get_cqe
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ibdev->reset_flow_resource_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/net/ethernet/mellanox/mlx5/core/en_tx.c mlx5e_dump_error_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_tx.c mlx5e_poll_tx_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c mlx5e_dump_error_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c mlx5e_poll_xdpsq_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c mlx5e_poll_xdpsq_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c mlx5e_poll_xdpsq_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c hws_send_engine_dump_error_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->ctrl_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c hws_send_engine_poll_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->ctrl_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c hws_send_engine_update() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->ctrl_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c hws_send_wqe_fw() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 2464702814650163200
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctx->ctrl_lock
HALF_LOCKED2 &fte->node.lock
TYPE_LOCK (struct mlx5hws_context)->ctrl_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c mlx5hws_parse_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->ctrl_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c mlx5hws_parse_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->ctrl_lock

drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_conn_handle_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx5/cq.c copy_resize_cqes() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
PREEMPT_ADD
LOCK2 &cq->lock
LOCK2 &cq->resize_mutex
LOCK2 flags
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct mlx5_ib_cq)->lock
TYPE_LOCK (struct mlx5_ib_cq)->resize_mutex

drivers/infiniband/hw/mlx5/cq.c copy_resize_cqes() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
PREEMPT_ADD
LOCK2 &cq->lock
LOCK2 &cq->resize_mutex
LOCK2 flags
HALF_LOCKED2 &file->device->disassociate_srcu
TYPE_LOCK (struct mlx5_ib_cq)->lock
TYPE_LOCK (struct mlx5_ib_cq)->resize_mutex

drivers/infiniband/hw/mlx5/cq.c get_sw_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cq->lock
HALF_LOCKED2 &cq->resize_mutex
HALF_LOCKED2 flags

drivers/infiniband/hw/mlx5/cq.c handle_responder() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_ib_cq)->lock

drivers/infiniband/hw/mlx5/cq.c mlx5_poll_one() -> get_cqe_opcode()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->lock
LOCK2 flags
TYPE_LOCK (struct mlx5_ib_cq)->lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c dr_parse_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &send_ring->lock
HALF_LOCKED2 &dmn->info.rx.mutex
HALF_LOCKED2 &dmn->info.tx.mutex
HALF_LOCKED2 &mgr->modify_hdr_mutex
HALF_LOCKED2 &nic_dmn->mutex
TYPE_LOCK (struct mlx5dr_send_ring)->lock

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c get_cqe_enhanced_num_mini_cqes() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
CAPPED_DATA 0 cqe->validity_iteration_count 1
DATA_SOURCE 0 cqe $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_dump_error_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_handle_rx_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_handle_rx_cqe_mpwrq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_handle_rx_cqe_mpwrq_rep() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_handle_rx_cqe_mpwrq_shampo() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_handle_rx_cqe_rep() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_poll_ico_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_poll_ico_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_poll_ico_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_trap_handle_rx_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5i_handle_rx_cqe() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/wc.c mlx5_wc_poll_cq() -> get_cqe_opcode()

Type Parameter Key Value
PARAM_VALUE 0 cqe 4096-ptr_max
DATA_SOURCE 0 cqe r mlx5_cqwq_get_cqe
RX_PATH
TASK_NOT_RUNNING
LOCK2 wc_state_lock
HALF_LOCKED2 &file->device->disassociate_srcu
HALF_LOCKED2 &file->disassociation_lock