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

/freebsd-11-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_main.c1182 void *cqc = container_of(param, local
1183 struct mlx5e_channel_param, rq)->rx_cq.cqc;
1185 switch (MLX5_GET(cqc, cqc, cq_period_mode)) {
1829 err = mlx5_cqwq_create(mdev, &param->wq, param->cqc, &cq->wq,
1868 void *cqc; local
1880 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context);
1882 memcpy(cqc, param->cqc, sizeof(param->cqc));
2190 void *cqc = param->cqc; local
2213 void *cqc = param->cqc; local
2271 void *cqc = param->cqc; local
[all...]
H A Dmlx5_en_ethtool.c902 MLX5E_FLD_MAX(cqc, cq_period)) {
904 MLX5E_FLD_MAX(cqc, cq_period);
919 MLX5E_FLD_MAX(cqc, cq_max_count)) {
921 MLX5E_FLD_MAX(cqc, cq_max_count);
936 MLX5E_FLD_MAX(cqc, cq_period)) {
938 MLX5E_FLD_MAX(cqc, cq_period);
953 MLX5E_FLD_MAX(cqc, cq_max_count)) {
955 MLX5E_FLD_MAX(cqc, cq_max_count);
1402 priv->params_ethtool.coalesce_pkts_max = MLX5E_FLD_MAX(cqc, cq_max_count);
1403 priv->params_ethtool.coalesce_usecs_max = MLX5E_FLD_MAX(cqc, cq_perio
[all...]
H A Den.h654 u32 cqc [MLX5_ST_SZ_DW(cqc)]; member in struct:mlx5e_cq_param
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c225 void *cqc; local
228 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context);
229 MLX5_SET(cqc, cqc, cq_period, cq_period);
230 MLX5_SET(cqc, cqc, cq_max_count, cq_max_count);
245 void *cqc; local
248 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context);
249 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-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c753 void *cqc; local
802 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context);
803 MLX5_SET(cqc, cqc, log_page_size,
842 void *cqc; local
870 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context);
871 MLX5_SET(cqc, cqc, log_page_size,
913 void *cqc; local
964 cqc
1245 void *cqc; local
[all...]
/freebsd-11-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-11-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 125 milliseconds