Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c159 void *sqc_data, struct mlx5_aso *sq) in mlx5_aso_alloc_sq() argument
161 void *sqc_wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in mlx5_aso_alloc_sq()
179 void *sqc_data, struct mlx5_aso *sq) in create_aso_sq() argument
194 memcpy(sqc, sqc_data, MLX5_ST_SZ_BYTES(sqc)); in create_aso_sq()
243 void *sqc_data, struct mlx5_aso *sq) in mlx5_aso_create_sq_rdy() argument
247 err = create_aso_sq(mdev, pdn, sqc_data, sq); in mlx5_aso_create_sq_rdy()
272 void *sqc_data, *wq; in mlx5_aso_create_sq() local
275 sqc_data = kvzalloc(MLX5_ST_SZ_BYTES(sqc), GFP_KERNEL); in mlx5_aso_create_sq()
276 if (!sqc_data) in mlx5_aso_create_sq()
279 wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in mlx5_aso_create_sq()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dwc.c151 static int create_wc_sq(struct mlx5_core_dev *mdev, void *sqc_data, in create_wc_sq() argument
167 memcpy(sqc, sqc_data, MLX5_ST_SZ_BYTES(sqc)); in create_wc_sq()
218 void *sqc_data, *wq; in mlx5_wc_create_sq() local
221 sqc_data = kvzalloc(MLX5_ST_SZ_BYTES(sqc), GFP_KERNEL); in mlx5_wc_create_sq()
222 if (!sqc_data) in mlx5_wc_create_sq()
225 wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in mlx5_wc_create_sq()
236 err = create_wc_sq(mdev, sqc_data, sq); in mlx5_wc_create_sq()
242 kvfree(sqc_data); in mlx5_wc_create_sq()
248 kvfree(sqc_data); in mlx5_wc_create_sq()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_send.c561 void *sqc_data) in hws_send_ring_alloc_sq() argument
563 void *sqc_wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in hws_send_ring_alloc_sq()
613 void *sqc_data, in hws_send_ring_create_sq() argument
631 memcpy(sqc, sqc_data, MLX5_ST_SZ_BYTES(sqc)); in hws_send_ring_create_sq()
692 void *sqc_data, in hws_send_ring_create_sq_rdy() argument
699 err = hws_send_ring_create_sq(mdev, pdn, sqc_data, queue, sq, cq); in hws_send_ring_create_sq_rdy()
717 void *sqc_data, *wq; in hws_send_ring_open_sq() local
720 sqc_data = kvzalloc(MLX5_ST_SZ_BYTES(sqc), GFP_KERNEL); in hws_send_ring_open_sq()
721 if (!sqc_data) in hws_send_ring_open_sq()
727 wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in hws_send_ring_open_sq()
[all …]