Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c88 static void mlx5_sf_dev_add(struct mlx5_core_dev *dev, u16 sf_index, u16 fn_id, u32 sfnum) in mlx5_sf_dev_add() argument
116 sf_dev->fn_id = fn_id; in mlx5_sf_dev_add()
/linux/drivers/infiniband/hw/bng_re/
H A Dbng_re.h75 int fn_id; member
H A Dbng_dev.c39 rdev->fn_id = rdev->aux_dev->pdev->devfn; in bng_re_dev_add()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c67 mlx5_sf_table_fn_to_hwc(struct mlx5_sf_hw_table *table, u16 fn_id) in mlx5_sf_table_fn_to_hwc() argument
73 fn_id >= table->hwc[i].start_fn_id && in mlx5_sf_table_fn_to_hwc()
74 fn_id < (table->hwc[i].start_fn_id + table->hwc[i].max_fn)) in mlx5_sf_table_fn_to_hwc()
H A Ddevlink.c37 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id() argument
39 return xa_load(&table->function_ids, fn_id); in mlx5_sf_lookup_by_function_id()
470 sf = mlx5_sf_lookup_by_function_id(table, event_ctx->fn_id); in mlx5_sf_mdev_event()
/linux/tools/lib/bpf/
H A Dlibbpf.c7277 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; in clone_func_btf_info() local
7327 fn_id = btf__add_func(btf, prog->name, linkage, fn_proto_id); in clone_func_btf_info()
7328 if (fn_id < 0) in clone_func_btf_info()
7331 fn_t = btf_type_by_id(btf, fn_id); in clone_func_btf_info()
7334 return fn_id; in clone_func_btf_info()
7434 int fn_id; in bpf_program_fixup_func_info() local
7436 fn_id = clone_func_btf_info(btf, orig_fn_id, prog); in bpf_program_fixup_func_info()
7437 if (fn_id < 0) { in bpf_program_fixup_func_info()
7438 err = fn_id; in bpf_program_fixup_func_info()
7443 func_rec->type_id = fn_id; in bpf_program_fixup_func_info()