Searched refs:cqc_data (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A 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.bfreg.up->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 D | send.c | 879 void *cqc_data, in hws_send_ring_alloc_cq() argument 891 err = mlx5_cqwq_create(mdev, ¶m, cqc_data, &cq->wq, &cq->wq_ctrl); in hws_send_ring_alloc_cq() 911 void *cqc_data, in hws_send_ring_create_cq() argument 931 memcpy(cqc, cqc_data, MLX5_ST_SZ_BYTES(cqc)); in hws_send_ring_create_cq() 952 void *cqc_data; in hws_send_ring_open_cq() local 955 cqc_data = kvzalloc(MLX5_ST_SZ_BYTES(cqc), GFP_KERNEL); in hws_send_ring_open_cq() 956 if (!cqc_data) in hws_send_ring_open_cq() 959 MLX5_SET(cqc, cqc_data, uar_page, mdev->priv.bfreg.up->index); in hws_send_ring_open_cq() 960 MLX5_SET(cqc, cqc_data, log_cq_size, ilog2(queue->num_entries)); in hws_send_ring_open_cq() 962 err = hws_send_ring_alloc_cq(mdev, numa_node, queue, cqc_data, cq); in hws_send_ring_open_cq() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | wc.c | 76 static int create_wc_cq(struct mlx5_wc_cq *cq, void *cqc_data) in create_wc_cq() argument 96 memcpy(cqc, cqc_data, MLX5_ST_SZ_BYTES(cqc)); in create_wc_cq()
|