File Index
Files and directories
Sign in
FILE

fs_ft_pool.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h C
 1/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
 2/* Copyright (c) 2021 Mellanox Technologies. */
 3
 4#ifndef __MLX5_FS_FT_POOL_H__
 5#define __MLX5_FS_FT_POOL_H__
 6
 7#include <linux/mlx5/driver.h>
 8#include "fs_core.h"
 9
10int mlx5_ft_pool_init(struct mlx5_core_dev *dev);
11void mlx5_ft_pool_destroy(struct mlx5_core_dev *dev);
12
13int
14mlx5_ft_pool_get_avail_sz(struct mlx5_core_dev *dev, enum fs_flow_table_type table_type,
15			  int desired_size);
16void
17mlx5_ft_pool_put_sz(struct mlx5_core_dev *dev, int sz);
18
19#endif /* __MLX5_FS_FT_POOL_H__ */
~/ Read-only file preview.