Searched refs:max_fn (Results 1 – 2 of 2) sorted by relevance
22 int max_fn; member64 if (table->hwc[i].max_fn && in mlx5_sf_table_fn_to_hwc()66 fn_id < (table->hwc[i].start_fn_id + table->hwc[i].max_fn)) in mlx5_sf_table_fn_to_hwc()85 for (i = 0; i < hwc->max_fn; i++) { in mlx5_sf_hw_table_id_alloc()215 for (i = 0; i < hwc->max_fn; i++) { in mlx5_sf_hw_table_hwc_dealloc_all()229 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() argument233 if (!max_fn) in mlx5_sf_hw_table_hwc_init()236 sfs = kzalloc_objs(*sfs, max_fn); in mlx5_sf_hw_table_hwc_init()241 hwc->max_fn = max_fn; in mlx5_sf_hw_table_hwc_init()256 static int mlx5_sf_hw_table_res_register(struct mlx5_core_dev *dev, u16 max_fn, in mlx5_sf_hw_table_res_register() argument[all …]
83 u16 max_fn; member