Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c32 struct xarray function_ids; /* function id based lookup. */ member
42 return xa_load(&table->function_ids, fn_id); in mlx5_sf_lookup_by_function_id()
47 return xa_insert(&table->function_ids, sf->hw_fn_id, sf, GFP_KERNEL); in mlx5_sf_function_id_insert()
52 xa_erase(&table->function_ids, sf->hw_fn_id); in mlx5_sf_function_id_erase()
421 xa_for_each(&table->function_ids, index, sf) in mlx5_sf_del_all()
480 xa_init(&table->function_ids); in mlx5_sf_table_init()
517 WARN_ON(!xa_empty(&table->function_ids)); in mlx5_sf_table_cleanup()