Searched refs:temp_qpc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | conn.c | 518 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_send.c | 253 u32 temp_qpc[MLX5_ST_SZ_DW(qpc)] = {}; in dr_create_rc_qp() local 276 MLX5_SET(qpc, temp_qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in dr_create_rc_qp() 277 MLX5_SET(qpc, temp_qpc, log_rq_size, ilog2(dr_qp->rq.wqe_cnt)); in dr_create_rc_qp() 278 MLX5_SET(qpc, temp_qpc, log_sq_size, ilog2(dr_qp->sq.wqe_cnt)); in dr_create_rc_qp() 279 err = mlx5_wq_qp_create(mdev, &wqp, temp_qpc, &dr_qp->wq, in dr_create_rc_qp()
|