Home
last modified time | relevance | path

Searched refs:max_fn (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c21 int max_fn; member
65 if (table->hwc[i].max_fn && in mlx5_sf_table_fn_to_hwc()
67 fn_id < (table->hwc[i].start_fn_id + table->hwc[i].max_fn)) in mlx5_sf_table_fn_to_hwc()
84 for (i = 0; i < hwc->max_fn; i++) { in mlx5_sf_hw_table_id_alloc()
212 for (i = 0; i < hwc->max_fn; i++) { in mlx5_sf_hw_table_hwc_dealloc_all()
224 static int mlx5_sf_hw_table_hwc_init(struct mlx5_sf_hwc_table *hwc, u16 max_fn, u16 base_id) in mlx5_sf_hw_table_hwc_init() argument
228 if (!max_fn) in mlx5_sf_hw_table_hwc_init()
231 sfs = kcalloc(max_fn, sizeof(*sfs), GFP_KERNEL); in mlx5_sf_hw_table_hwc_init()
236 hwc->max_fn = max_fn; in mlx5_sf_hw_table_hwc_init()
251 u16 max_fn = 0; in mlx5_sf_hw_table_init() local
[all …]
/linux-6.1.9/arch/s390/include/asm/
Dpci_clp.h80 u16 max_fn; member