/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 110 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 …]
|
D | en.h | 362 u32 sqn; member 470 u32 sqn; member 498 u32 sqn; member 972 int mlx5e_modify_sq(struct mlx5_core_dev *mdev, u32 sqn,
|
D | en_main.c | 221 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 …]
|
D | en_txrx.c | 86 nopwqe = mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_trigger_irq()
|
D | en_tx.c | 397 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()
|
D | en_rep.c | 454 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules()
|
D | eswitch_offloads.c | 770 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()
|
D | en_rx.c | 677 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_ico_cq()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_tx.c | 20 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 …]
|
D | reporter_rx.c | 45 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()
|
D | health.c | 161 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()
|
D | txrx.h | 87 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()
|
D | xdp.c | 185 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()
|
D | health.h | 45 int mlx5e_health_sq_to_ready(struct mlx5e_channel *channel, u32 sqn);
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_txrx.c | 56 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()
|
D | ktls_utils.h | 75 u16 pc, u32 sqn, 81 u16 pc, u32 sqn,
|
D | ktls_tx.c | 172 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()
|
D | ktls_rx.c | 149 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/ |
D | qpc.c | 585 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()
|
D | devx.c | 323 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/ |
D | tx.c | 62 nopwqe = mlx5e_post_nop(&sq->wq, sq->sqn, &sq->pc); in mlx5e_xsk_tx_post_err()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 156 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()
|
D | bnx2i.h | 542 u16 sqn[BNX2X_MAX_CQS]; member
|
/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1856 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()
|
D | cnic_defs.h | 3732 u16 sqn[8]; member
|