Home
last modified time | relevance | path

Searched refs:temp_qpc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c109 u32 temp_qpc[MLX5_ST_SZ_DW(qpc)] = {}; in dr_create_rc_qp() local
131 MLX5_SET(qpc, temp_qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in dr_create_rc_qp()
132 MLX5_SET(qpc, temp_qpc, log_rq_size, ilog2(dr_qp->rq.wqe_cnt)); in dr_create_rc_qp()
133 MLX5_SET(qpc, temp_qpc, log_sq_size, ilog2(dr_qp->sq.wqe_cnt)); in dr_create_rc_qp()
134 err = mlx5_wq_qp_create(mdev, &wqp, temp_qpc, &dr_qp->wq, in dr_create_rc_qp()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c518 u32 temp_qpc[MLX5_ST_SZ_DW(qpc)] = {}; in mlx5_fpga_conn_create_qp() local
529 MLX5_SET(qpc, temp_qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in mlx5_fpga_conn_create_qp()
530 MLX5_SET(qpc, temp_qpc, log_rq_size, ilog2(conn->qp.rq.size)); in mlx5_fpga_conn_create_qp()
531 MLX5_SET(qpc, temp_qpc, log_sq_size, ilog2(conn->qp.sq.size)); in mlx5_fpga_conn_create_qp()
532 err = mlx5_fpga_conn_create_wq(conn, temp_qpc); in mlx5_fpga_conn_create_qp()