Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c15 u32 usr_sfnum; member
75 u32 usr_sfnum) in mlx5_sf_hw_table_id_alloc() argument
91 if (hwc->sfs[i].allocated && hwc->sfs[i].usr_sfnum == usr_sfnum) in mlx5_sf_hw_table_id_alloc()
98 hwc->sfs[free_idx].usr_sfnum = usr_sfnum; in mlx5_sf_hw_table_id_alloc()
112 int mlx5_sf_hw_table_sf_alloc(struct mlx5_core_dev *dev, u32 controller, u32 usr_sfnum) in mlx5_sf_hw_table_sf_alloc() argument
123 sw_id = mlx5_sf_hw_table_id_alloc(table, controller, usr_sfnum); in mlx5_sf_hw_table_sf_alloc()
134 err = mlx5_modify_vhca_sw_id(dev, hw_fn_id, usr_sfnum); in mlx5_sf_hw_table_sf_alloc()
147 trace_mlx5_sf_hwc_alloc(dev, controller, hw_fn_id, usr_sfnum); in mlx5_sf_hw_table_sf_alloc()
Dpriv.h17 int mlx5_sf_hw_table_sf_alloc(struct mlx5_core_dev *dev, u32 controller, u32 usr_sfnum);