/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 | 396 u32 sqn; member 508 u32 sqn; member 538 u32 sqn; member 1011 int mlx5e_modify_sq(struct mlx5_core_dev *mdev, u32 sqn, 1027 u32 *sqn);
|
D | en_main.c | 211 cseg->qpn_ds = cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_build_umr_wqe() 1186 u32 *sqn) in mlx5e_create_sq() argument 1230 err = mlx5_core_create_sq(mdev, in, inlen, sqn); in mlx5e_create_sq() 1237 int mlx5e_modify_sq(struct mlx5_core_dev *mdev, u32 sqn, in mlx5e_modify_sq() argument 1265 err = mlx5_core_modify_sq(mdev, sqn, in); in mlx5e_modify_sq() 1272 static void mlx5e_destroy_sq(struct mlx5_core_dev *mdev, u32 sqn) in mlx5e_destroy_sq() argument 1274 mlx5_core_destroy_sq(mdev, sqn); in mlx5e_destroy_sq() 1281 u32 *sqn) in mlx5e_create_sq_rdy() argument 1286 err = mlx5e_create_sq(mdev, param, csp, sqn); in mlx5e_create_sq_rdy() 1296 err = mlx5e_modify_sq(mdev, *sqn, &msp); in mlx5e_create_sq_rdy() [all …]
|
D | en_rep.h | 213 u32 sqn; member
|
D | en_tx.c | 448 wqe = mlx5e_post_nop(&sq->wq, sq->sqn, &sq->pc); in mlx5e_tx_flush() 471 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | wqe_attr->ds_cnt); in mlx5e_txwqe_complete() 623 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_tx_mpwqe_session_complete() 901 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_tx_cq()
|
D | en_txrx.c | 83 nopwqe = mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_trigger_irq()
|
D | en_rep.c | 365 rep_sq->sqn = sqns_array[i]; in mlx5e_sqs2vport_start() 414 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules() 1326 flow_rule = mlx5_eswitch_add_send_to_vport_rule(peer_esw, esw, rep, rep_sq->sqn); in mlx5e_vport_rep_event_pair()
|
D | eswitch_offloads.c | 927 u32 sqn) in mlx5_eswitch_add_send_to_vport_rule() argument 942 MLX5_SET(fte_match_set_misc, misc, source_sqn, sqn); in mlx5_eswitch_add_send_to_vport_rule()
|
D | en_rx.c | 675 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_ico_cq()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_tx.c | 22 sq->sqn, sq->cc, sq->pc); in mlx5e_wait_for_sq_flush() 31 sq->sqn, sq->cc, sq->pc); in mlx5e_reset_txqsq_cc_pc() 52 err = mlx5_core_query_sq_state(mdev, sq->sqn, &state); in mlx5e_tx_reporter_err_cqe_recover() 55 sq->sqn, err); in mlx5e_tx_reporter_err_cqe_recover() 73 err = mlx5e_health_sq_to_ready(mdev, dev, sq->sqn); in mlx5e_tx_reporter_err_cqe_recover() 154 err = mlx5_core_query_sq_state(priv->mdev, sq->sqn, &state); in mlx5e_tx_reporter_build_diagnose_output_sq_common() 166 err = devlink_fmsg_u32_pair_put(fmsg, "sqn", sq->sqn); in mlx5e_tx_reporter_build_diagnose_output_sq_common() 438 key.index1 = sq->sqn; in mlx5e_tx_reporter_dump_sq() 508 err = mlx5e_health_queue_dump(priv, fmsg, sq->sqn, "SQ"); in mlx5e_tx_reporter_dump_all_sqs() 518 err = mlx5e_health_queue_dump(priv, fmsg, sq->sqn, "PTP SQ"); in mlx5e_tx_reporter_dump_all_sqs() [all …]
|
D | reporter_rx.c | 47 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush() 55 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc() 80 err = mlx5_core_query_sq_state(mdev, icosq->sqn, &state); in mlx5e_rx_reporter_err_icosq_cqe_recover() 83 icosq->sqn, err); in mlx5e_rx_reporter_err_icosq_cqe_recover() 102 err = mlx5e_health_sq_to_ready(mdev, dev, 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() 287 err = mlx5_core_query_sq_state(rq->mdev, icosq->sqn, &icosq_hw_state); in mlx5e_rx_reporter_build_diagnose_output_rq_common() 503 key.index1 = icosq->sqn; in mlx5e_rx_reporter_dump_icosq() 669 snprintf(icosq_str, sizeof(icosq_str), "ICOSQ: 0x%x, ", icosq->sqn); in mlx5e_reporter_rx_timeout() 700 snprintf(err_str, sizeof(err_str), "ERR CQE on ICOSQ: 0x%x", icosq->sqn); in mlx5e_reporter_icosq_cqe_err()
|
D | health.c | 160 int mlx5e_health_sq_to_ready(struct mlx5_core_dev *mdev, struct net_device *dev, u32 sqn) in mlx5e_health_sq_to_ready() argument 168 err = mlx5e_modify_sq(mdev, sqn, &msp); in mlx5e_health_sq_to_ready() 170 netdev_err(dev, "Failed to move sq 0x%x to reset\n", sqn); in mlx5e_health_sq_to_ready() 178 err = mlx5e_modify_sq(mdev, sqn, &msp); in mlx5e_health_sq_to_ready() 180 netdev_err(dev, "Failed to move sq 0x%x to ready\n", sqn); in mlx5e_health_sq_to_ready()
|
D | txrx.h | 102 mlx5e_post_nop(struct mlx5_wq_cyc *wq, u32 sqn, u16 *pc) in mlx5e_post_nop() argument 111 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop() 119 mlx5e_post_nop_fence(struct mlx5_wq_cyc *wq, u32 sqn, u16 *pc) in mlx5e_post_nop_fence() argument 128 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop_fence() 165 mlx5e_post_nop(wq, sq->sqn, &sq->pc); in mlx5e_txqsq_get_next_pi() 218 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() 448 mlx5e_dump_error_cqe(&sq->cq, sq->sqn, in mlx5e_poll_xdpsq_cq()
|
D | health.h | 45 int mlx5e_health_sq_to_ready(struct mlx5_core_dev *mdev, struct net_device *dev, u32 sqn);
|
D | ptp.c | 239 static void mlx5e_ptp_destroy_sq(struct mlx5_core_dev *mdev, u32 sqn) in mlx5e_ptp_destroy_sq() argument 241 mlx5_core_destroy_sq(mdev, sqn); in mlx5e_ptp_destroy_sq() 296 err = mlx5e_create_sq_rdy(c->mdev, sqp, &csp, 0, &txqsq->sqn); in mlx5e_ptp_open_txqsq() 320 mlx5e_ptp_destroy_sq(mdev, sq->sqn); in mlx5e_ptp_close_txqsq()
|
/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 | 180 mlx5e_ktls_build_static_params(wqe, sq->pc, sq->sqn, &priv_tx->crypto_info, in post_static_params() 198 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, priv_tx->tisn, fence, 0, in post_progress_params() 327 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump() 371 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() 179 mlx5e_ktls_build_progress_params(wqe, sq->pc, sq->sqn, in post_progress_params() 297 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 | 591 static void destroy_sq_tracked(struct mlx5_ib_dev *dev, u32 sqn, u16 uid) in destroy_sq_tracked() argument 596 MLX5_SET(destroy_sq_in, in, sqn, sqn); in destroy_sq_tracked() 612 sq->qpn = MLX5_GET(create_sq_out, out, sqn); in mlx5_core_create_sq_tracked()
|
D | devx.c | 310 return MLX5_GET(create_sq_out, out, sqn); in devx_get_created_obj_id() 394 MLX5_GET(query_sq_in, in, sqn)); in devx_get_obj_id() 398 MLX5_GET(modify_sq_in, in, sqn)); in devx_get_obj_id() 1152 MLX5_SET(destroy_sq_in, din, sqn, *obj_id); in devx_obj_build_destroy_cmd()
|
/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
|