Searched refs:cqc (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_dim.c35 void *cqc = param->cqc; local
40 switch (MLX5_GET(cqc, cqc, cq_period_mode)) {
44 MLX5_SET(cqc, cqc, cq_period, prof.usec);
45 MLX5_SET(cqc, cqc, cq_max_count, prof.pkts);
51 MLX5_SET(cqc, cqc, cq_perio
[all...]
H A Dmlx5_en_rl.c63 void *cqc = param->cqc; local
66 MLX5_SET(cqc, cqc, log_cq_size, log_sq_size);
67 MLX5_SET(cqc, cqc, cq_period, rl->param.tx_coalesce_usecs);
68 MLX5_SET(cqc, cqc, cq_max_count, rl->param.tx_coalesce_pkts);
69 MLX5_SET(cqc, cqc, uar_pag
[all...]
H A Dmlx5_en_main.c1328 void *cqc = container_of(param, local
1329 struct mlx5e_channel_param, rq)->rx_cq.cqc;
1331 switch (MLX5_GET(cqc, cqc, cq_period_mode)) {
1972 err = mlx5_cqwq_create(mdev, &param->wq, param->cqc, &cq->wq,
2010 void *cqc; local
2022 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context);
2024 memcpy(cqc, param->cqc, sizeof(param->cqc));
2355 void *cqc = param->cqc; local
2378 void *cqc = param->cqc; local
2436 void *cqc = param->cqc; local
[all...]
H A Dmlx5_en_ethtool.c922 MLX5E_FLD_MAX(cqc, cq_period)) {
924 MLX5E_FLD_MAX(cqc, cq_period);
939 MLX5E_FLD_MAX(cqc, cq_max_count)) {
941 MLX5E_FLD_MAX(cqc, cq_max_count);
956 MLX5E_FLD_MAX(cqc, cq_period)) {
958 MLX5E_FLD_MAX(cqc, cq_period);
973 MLX5E_FLD_MAX(cqc, cq_max_count)) {
975 MLX5E_FLD_MAX(cqc, cq_max_count);
1422 priv->params_ethtool.coalesce_pkts_max = MLX5E_FLD_MAX(cqc, cq_max_count);
1423 priv->params_ethtool.coalesce_usecs_max = MLX5E_FLD_MAX(cqc, cq_perio
[all...]
H A Den.h658 u32 cqc [MLX5_ST_SZ_DW(cqc)]; member in struct:mlx5e_cq_param
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c220 void *cqc; local
223 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context);
224 MLX5_SET(cqc, cqc, cq_period, cq_period);
225 MLX5_SET(cqc, cqc, cq_max_count, cq_max_count);
240 void *cqc; local
243 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context);
244 MLX5_SET(cqc, cqc, cq_perio
[all...]
H A Dmlx5_wq.c100 void *cqc, struct mlx5_cqwq *wq,
106 wq->log_stride = 6 + MLX5_GET(cqc, cqc, cqe_sz);
107 wq->log_sz = MLX5_GET(cqc, cqc, log_cq_size);
99 mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, void *cqc, struct mlx5_cqwq *wq, struct mlx5_wq_ctrl *wq_ctrl) argument
H A Dwq.h89 void *cqc, struct mlx5_cqwq *wq,
/freebsd-13-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c753 void *cqc; local
800 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context);
801 MLX5_SET(cqc, cqc, log_page_size,
850 void *cqc; local
878 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context);
879 MLX5_SET(cqc, cqc, log_page_size,
921 void *cqc; local
972 cqc
1253 void *cqc; local
[all...]
/freebsd-13-stable/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_conn.c431 u32 temp_cqc[MLX5_ST_SZ_DW(cqc)] = {0};
436 void *cqc, *in; local
441 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(cq_size));
468 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context);
469 MLX5_SET(cqc, cqc, log_cq_size, ilog2(cq_size));
470 MLX5_SET(cqc, cqc, c_eqn, eqn);
471 MLX5_SET(cqc, cqc, uar_pag
[all...]
/freebsd-13-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c3020 static int cq_get_mtt_addr(struct mlx4_cq_context *cqc) argument
3022 return be32_to_cpu(cqc->mtt_base_addr_l) & 0xfffffff8;
3025 static int cq_get_mtt_size(struct mlx4_cq_context *cqc) argument
3027 int log_cq_size = (be32_to_cpu(cqc->logsize_usrpage) >> 24) & 0x1f;
3028 int page_shift = (cqc->log_page_size & 0x3f) + 12;
3385 struct mlx4_cq_context *cqc = inbox->buf; local
3386 int mtt_base = cq_get_mtt_addr(cqc) / dev->caps.mtt_entry_sz;
3396 err = check_mtt_range(dev, slave, mtt_base, cq_get_mtt_size(cqc), mtt);
3474 struct mlx4_cq_context *cqc = inbox->buf; local
3475 int mtt_base = cq_get_mtt_addr(cqc) / de
[all...]

Completed in 168 milliseconds