Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/
Dsf_tracepoint.h18 u16 hw_fn_id,
20 TP_ARGS(dev, port_index, controller, hw_fn_id, sfnum),
24 __field(u16, hw_fn_id)
30 __entry->hw_fn_id = hw_fn_id;
35 __entry->hw_fn_id, __entry->sfnum)
42 u16 hw_fn_id),
43 TP_ARGS(dev, port_index, controller, hw_fn_id),
47 __field(u16, hw_fn_id)
52 __entry->hw_fn_id = hw_fn_id;
56 __entry->hw_fn_id)
[all …]
Dvhca_tracepoint.h19 __field(u16, hw_fn_id)
24 __entry->hw_fn_id = event->function_id;
29 __get_str(devname), __entry->hw_fn_id,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c115 u16 hw_fn_id; in mlx5_sf_hw_table_sf_alloc() local
129 hw_fn_id = mlx5_sf_sw_to_hw_id(dev, controller, sw_id); in mlx5_sf_hw_table_sf_alloc()
130 err = mlx5_cmd_alloc_sf(dev, hw_fn_id); 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()
142 err = mlx5_vhca_event_arm(dev, hw_fn_id); 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()
152 mlx5_cmd_dealloc_sf(dev, hw_fn_id); in mlx5_sf_hw_table_sf_alloc()
163 u16 hw_fn_id; in mlx5_sf_hw_table_sf_free() local
166 hw_fn_id = mlx5_sf_sw_to_hw_id(dev, controller, id); in mlx5_sf_hw_table_sf_free()
167 mlx5_cmd_dealloc_sf(dev, hw_fn_id); in mlx5_sf_hw_table_sf_free()
[all …]
Ddevlink.c19 u16 hw_fn_id; member
46 if (sf->hw_fn_id == fn_id) in mlx5_sf_lookup_by_function_id()
68 u16 hw_fn_id; in mlx5_sf_alloc() local
89 hw_fn_id = mlx5_sf_sw_to_hw_id(table->dev, controller, sf->id); in mlx5_sf_alloc()
90 dl_port_index = mlx5_esw_vport_to_devlink_port_index(table->dev, hw_fn_id); in mlx5_sf_alloc()
92 sf->hw_fn_id = hw_fn_id; in mlx5_sf_alloc()
116 trace_mlx5_sf_free(table->dev, sf->port_index, sf->controller, sf->hw_fn_id); in mlx5_sf_free()
209 err = mlx5_cmd_sf_enable_hca(dev, sf->hw_fn_id); in mlx5_sf_activate()
214 trace_mlx5_sf_activate(dev, sf->port_index, sf->controller, sf->hw_fn_id); in mlx5_sf_activate()
225 err = mlx5_cmd_sf_disable_hca(dev, sf->hw_fn_id); in mlx5_sf_deactivate()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/
Ddev_tracepoint.h22 __field(u16, hw_fn_id)
28 __entry->hw_fn_id = sfdev->fn_id;
33 __entry->aux_id, __entry->hw_fn_id,