Home
last modified time | relevance | path

Searched refs:cqc_data (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c46 void *cqc_data, struct mlx5_aso_cq *cq) in mlx5_aso_alloc_cq() argument
56 err = mlx5_cqwq_create(mdev, &param, cqc_data, &cq->wq, &cq->wq_ctrl); in mlx5_aso_alloc_cq()
75 static int create_aso_cq(struct mlx5_aso_cq *cq, void *cqc_data) in create_aso_cq() argument
96 memcpy(cqc, cqc_data, MLX5_ST_SZ_BYTES(cqc)); in create_aso_cq()
124 void *cqc_data; in mlx5_aso_create_cq() local
127 cqc_data = kvzalloc(MLX5_ST_SZ_BYTES(cqc), GFP_KERNEL); in mlx5_aso_create_cq()
128 if (!cqc_data) in mlx5_aso_create_cq()
131 MLX5_SET(cqc, cqc_data, log_cq_size, 1); in mlx5_aso_create_cq()
132 MLX5_SET(cqc, cqc_data, uar_page, mdev->priv.uar->index); in mlx5_aso_create_cq()
134 MLX5_SET(cqc, cqc_data, cqe_sz, CQE_STRIDE_128_PAD); in mlx5_aso_create_cq()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_send.c754 void *cqc_data, in hws_send_ring_alloc_cq() argument
766 err = mlx5_cqwq_create(mdev, &param, cqc_data, &cq->wq, &cq->wq_ctrl); in hws_send_ring_alloc_cq()
787 void *cqc_data, in hws_send_ring_create_cq() argument
807 memcpy(cqc, cqc_data, MLX5_ST_SZ_BYTES(cqc)); in hws_send_ring_create_cq()
828 void *cqc_data; in hws_send_ring_open_cq() local
831 cqc_data = kvzalloc(MLX5_ST_SZ_BYTES(cqc), GFP_KERNEL); in hws_send_ring_open_cq()
832 if (!cqc_data) in hws_send_ring_open_cq()
835 MLX5_SET(cqc, cqc_data, uar_page, mdev->priv.uar->index); in hws_send_ring_open_cq()
836 MLX5_SET(cqc, cqc_data, cqe_sz, queue->num_entries); in hws_send_ring_open_cq()
837 MLX5_SET(cqc, cqc_data, log_cq_size, ilog2(queue->num_entries)); in hws_send_ring_open_cq()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwc.c70 static int create_wc_cq(struct mlx5_wc_cq *cq, void *cqc_data) in create_wc_cq() argument
90 memcpy(cqc, cqc_data, MLX5_ST_SZ_BYTES(cqc)); in create_wc_cq()