Home
last modified time | relevance | path

Searched refs:sqn (Results 1 – 25 of 27) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c110 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq() argument
118 *sqn = MLX5_GET(create_sq_out, out, sqn); in mlx5_core_create_sq()
123 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in) in mlx5_core_modify_sq() argument
125 MLX5_SET(modify_sq_in, in, sqn, sqn); in mlx5_core_modify_sq()
131 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq() argument
136 MLX5_SET(destroy_sq_in, in, sqn, sqn); in mlx5_core_destroy_sq()
140 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq() argument
145 MLX5_SET(query_sq_in, in, sqn, sqn); in mlx5_core_query_sq()
150 int mlx5_core_query_sq_state(struct mlx5_core_dev *dev, u32 sqn, u8 *state) in mlx5_core_query_sq_state() argument
162 err = mlx5_core_query_sq(dev, sqn, out); in mlx5_core_query_sq_state()
[all …]
Den.h362 u32 sqn; member
470 u32 sqn; member
498 u32 sqn; member
972 int mlx5e_modify_sq(struct mlx5_core_dev *mdev, u32 sqn,
Den_main.c221 cseg->qpn_ds = cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_build_umr_wqe()
1232 u32 *sqn) in mlx5e_create_sq() argument
1269 err = mlx5_core_create_sq(mdev, in, inlen, sqn); in mlx5e_create_sq()
1276 int mlx5e_modify_sq(struct mlx5_core_dev *mdev, u32 sqn, in mlx5e_modify_sq() argument
1298 err = mlx5_core_modify_sq(mdev, sqn, in); in mlx5e_modify_sq()
1305 static void mlx5e_destroy_sq(struct mlx5_core_dev *mdev, u32 sqn) in mlx5e_destroy_sq() argument
1307 mlx5_core_destroy_sq(mdev, sqn); in mlx5e_destroy_sq()
1313 u32 *sqn) in mlx5e_create_sq_rdy() argument
1318 err = mlx5e_create_sq(mdev, param, csp, sqn); in mlx5e_create_sq_rdy()
1324 err = mlx5e_modify_sq(mdev, *sqn, &msp); in mlx5e_create_sq_rdy()
[all …]
Den_txrx.c86 nopwqe = mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_trigger_irq()
Den_tx.c397 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | wqe_attr->ds_cnt); in mlx5e_txwqe_complete()
537 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_tx_mpwqe_session_complete()
806 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_tx_cq()
Den_rep.c454 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules()
Deswitch_offloads.c770 u32 sqn) in mlx5_eswitch_add_send_to_vport_rule() argument
785 MLX5_SET(fte_match_set_misc, misc, source_sqn, sqn); in mlx5_eswitch_add_send_to_vport_rule()
Den_rx.c677 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_ico_cq()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c20 sq->sqn, sq->cc, sq->pc); in mlx5e_wait_for_sq_flush()
29 sq->sqn, sq->cc, sq->pc); in mlx5e_reset_txqsq_cc_pc()
50 err = mlx5_core_query_sq_state(mdev, sq->sqn, &state); in mlx5e_tx_reporter_err_cqe_recover()
53 sq->sqn, err); in mlx5e_tx_reporter_err_cqe_recover()
71 err = mlx5e_health_sq_to_ready(sq->channel, sq->sqn); in mlx5e_tx_reporter_err_cqe_recover()
152 err = mlx5_core_query_sq_state(priv->mdev, sq->sqn, &state); in mlx5e_tx_reporter_build_diagnose_output()
172 err = devlink_fmsg_u32_pair_put(fmsg, "sqn", sq->sqn); in mlx5e_tx_reporter_build_diagnose_output()
310 key.index1 = sq->sqn; in mlx5e_tx_reporter_dump_sq()
379 err = mlx5e_health_queue_dump(priv, fmsg, sq->sqn, "SQ"); in mlx5e_tx_reporter_dump_all_sqs()
414 snprintf(err_str, sizeof(err_str), "ERR CQE on SQ: 0x%x", sq->sqn); in mlx5e_reporter_tx_err_cqe()
[all …]
Dreporter_rx.c45 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
53 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc()
71 err = mlx5_core_query_sq_state(mdev, icosq->sqn, &state); in mlx5e_rx_reporter_err_icosq_cqe_recover()
74 icosq->sqn, err); in mlx5e_rx_reporter_err_icosq_cqe_recover()
90 err = mlx5e_health_sq_to_ready(icosq->channel, icosq->sqn); in mlx5e_rx_reporter_err_icosq_cqe_recover()
189 err = devlink_fmsg_u32_pair_put(fmsg, "sqn", icosq->sqn); in mlx5e_reporter_icosq_diagnose()
250 err = mlx5_core_query_sq_state(priv->mdev, icosq->sqn, &icosq_hw_state); in mlx5e_rx_reporter_build_diagnose_output()
412 key.index1 = icosq->sqn; in mlx5e_rx_reporter_dump_icosq()
570 icosq->channel->ix, icosq->sqn, rq->rqn, rq->cq.mcq.cqn); in mlx5e_reporter_rx_timeout()
598 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
Dhealth.c161 int mlx5e_health_sq_to_ready(struct mlx5e_channel *channel, u32 sqn) in mlx5e_health_sq_to_ready() argument
171 err = mlx5e_modify_sq(mdev, sqn, &msp); in mlx5e_health_sq_to_ready()
173 netdev_err(dev, "Failed to move sq 0x%x to reset\n", sqn); in mlx5e_health_sq_to_ready()
181 err = mlx5e_modify_sq(mdev, sqn, &msp); in mlx5e_health_sq_to_ready()
183 netdev_err(dev, "Failed to move sq 0x%x to ready\n", sqn); in mlx5e_health_sq_to_ready()
Dtxrx.h87 mlx5e_post_nop(struct mlx5_wq_cyc *wq, u32 sqn, u16 *pc) in mlx5e_post_nop() argument
96 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop()
104 mlx5e_post_nop_fence(struct mlx5_wq_cyc *wq, u32 sqn, u16 *pc) in mlx5e_post_nop_fence() argument
113 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop_fence()
150 mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_txqsq_get_next_pi()
201 mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_icosq_get_next_pi()
Dxdp.c185 mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_xdpsq_get_next_pi()
228 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_xdp_mpwqe_complete()
444 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_xdpsq_cq()
Dhealth.h45 int mlx5e_health_sq_to_ready(struct mlx5e_channel *channel, u32 sqn);
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_txrx.c56 u16 pc, u32 sqn, in mlx5e_ktls_build_static_params() argument
70 cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_ktls_build_static_params()
99 u16 pc, u32 sqn, in mlx5e_ktls_build_progress_params() argument
113 cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_ktls_build_progress_params()
Dktls_utils.h75 u16 pc, u32 sqn,
81 u16 pc, u32 sqn,
Dktls_tx.c172 mlx5e_ktls_build_static_params(wqe, sq->pc, sq->sqn, &priv_tx->crypto_info, in post_static_params()
190 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, priv_tx->tisn, fence, 0, in post_progress_params()
319 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump()
363 mlx5e_post_nop_fence(wq, sq->sqn, &sq->pc); in tx_post_fence_nop()
Dktls_rx.c149 mlx5e_ktls_build_static_params(wqe, sq->pc, sq->sqn, &priv_rx->crypto_info, in post_static_params()
180 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, priv_rx->tirn, false, in post_progress_params()
299 cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | GET_PSV_DS_CNT); in resync_post_get_progress_params()
/drivers/infiniband/hw/mlx5/
Dqpc.c585 static void destroy_sq_tracked(struct mlx5_ib_dev *dev, u32 sqn, u16 uid) in destroy_sq_tracked() argument
590 MLX5_SET(destroy_sq_in, in, sqn, sqn); in destroy_sq_tracked()
606 sq->qpn = MLX5_GET(create_sq_out, out, sqn); in mlx5_core_create_sq_tracked()
Ddevx.c323 MLX5_GET(query_sq_in, in, sqn)); in devx_get_obj_id()
327 MLX5_GET(modify_sq_in, in, sqn)); in devx_get_obj_id()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c62 nopwqe = mlx5e_post_nop(&sq->wq, sq->sqn, &sq->pc); in mlx5e_xsk_tx_post_err()
/drivers/scsi/bnx2i/
Dbnx2i_hwi.c156 if (cq_db->sqn[0] && cq_db->sqn[0] != 0xFFFF) in bnx2i_arm_cq_event_coalescing()
176 cq_db->sqn[0] = cq_index; in bnx2i_arm_cq_event_coalescing()
1127 memset(cq_db->sqn, 0xFF, sizeof(cq_db->sqn[0]) * BNX2X_MAX_CQS); in bnx2i_alloc_qp_resc()
Dbnx2i.h542 u16 sqn[BNX2X_MAX_CQS]; member
/drivers/net/ethernet/broadcom/
Dcnic.c1856 ictx->cstorm_st_context.cq_c_prod_sqn_arr.sqn[i] = in cnic_setup_bnx2x_ctx()
1858 ictx->cstorm_st_context.cq_c_sqn_2_notify_arr.sqn[i] = in cnic_setup_bnx2x_ctx()
Dcnic_defs.h3732 u16 sqn[8]; member

12