Searched refs:cqc_data (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.c | 46 void *cqc_data, struct mlx5_aso_cq *cq) in mlx5_aso_alloc_cq() argument 56 err = mlx5_cqwq_create(mdev, ¶m, 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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_send.c | 760 void *cqc_data, in hws_send_ring_alloc_cq() argument 772 err = mlx5_cqwq_create(mdev, ¶m, cqc_data, &cq->wq, &cq->wq_ctrl); in hws_send_ring_alloc_cq() 793 void *cqc_data, in hws_send_ring_create_cq() argument 813 memcpy(cqc, cqc_data, MLX5_ST_SZ_BYTES(cqc)); in hws_send_ring_create_cq() 834 void *cqc_data; in hws_send_ring_open_cq() local 837 cqc_data = kvzalloc(MLX5_ST_SZ_BYTES(cqc), GFP_KERNEL); in hws_send_ring_open_cq() 838 if (!cqc_data) in hws_send_ring_open_cq() 841 MLX5_SET(cqc, cqc_data, uar_page, mdev->priv.uar->index); in hws_send_ring_open_cq() 842 MLX5_SET(cqc, cqc_data, cqe_sz, queue->num_entries); in hws_send_ring_open_cq() 843 MLX5_SET(cqc, cqc_data, log_cq_size, ilog2(queue->num_entries)); in hws_send_ring_open_cq() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wc.c | 70 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()
|