Searched refs:bulk_async (Results 1 – 1 of 1) sorted by relevance
145 struct mlx5e_bulk_async_ctx *bulk_async; in mlx5e_bulk_async_init() local149 sz = struct_size(bulk_async, arr, n); in mlx5e_bulk_async_init()150 bulk_async = kvzalloc(sz, GFP_KERNEL); in mlx5e_bulk_async_init()151 if (!bulk_async) in mlx5e_bulk_async_init()154 mlx5_cmd_init_async_ctx(mdev, &bulk_async->async_ctx); in mlx5e_bulk_async_init()157 bulk_async->arr[i].async_ctx = &bulk_async->async_ctx; in mlx5e_bulk_async_init()159 return bulk_async; in mlx5e_bulk_async_init()162 static void mlx5e_bulk_async_cleanup(struct mlx5e_bulk_async_ctx *bulk_async) in mlx5e_bulk_async_cleanup() argument164 mlx5_cmd_cleanup_async_ctx(&bulk_async->async_ctx); in mlx5e_bulk_async_cleanup()165 kvfree(bulk_async); in mlx5e_bulk_async_cleanup()[all …]