Searched refs:esw_funcs (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 1246 esw->esw_funcs.host_funcs_disabled = host_pf_info.pf_not_exist; in mlx5_esw_host_functions_enabled_query() 1255 MLX5_NB_INIT(&esw->esw_funcs.nb, mlx5_esw_funcs_changed_handler, in mlx5_eswitch_event_handler_register() 1257 mlx5_eq_notifier_register(esw->dev, &esw->esw_funcs.nb); in mlx5_eswitch_event_handler_register() 1271 mlx5_eq_notifier_unregister(esw->dev, &esw->esw_funcs.nb); in mlx5_eswitch_event_handler_unregister() 1279 mlx5_esw_for_each_vf_vport(esw, i, vport, esw->esw_funcs.num_vfs) { in mlx5_eswitch_clear_vf_vports_info() 1291 mlx5_esw_for_each_ec_vf_vport(esw, i, vport, esw->esw_funcs.num_ec_vfs) { in mlx5_eswitch_clear_ec_vf_vports_info() 1565 struct mlx5_esw_functions *esw_funcs = &esw->esw_funcs; in mlx5_eswitch_enable_pf_vf_vports() local 1599 esw_funcs->num_ec_vfs, in mlx5_eswitch_enable_pf_vf_vports() 1606 ret = mlx5_eswitch_load_vf_vports(esw, esw_funcs->num_vfs, in mlx5_eswitch_enable_pf_vf_vports() 1617 for (i = 0; i < esw_funcs->num_spfs; i++) { in mlx5_eswitch_enable_pf_vf_vports() [all …]
|
| H A D | eswitch.h | 434 struct mlx5_esw_functions esw_funcs; member 802 (index) < (esw)->esw_funcs.num_spfs && \ 804 (esw)->esw_funcs.spfs[(index)].vport_num)); \ 978 return esw->esw_funcs.num_vfs; in mlx5_eswitch_num_vfs()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | devlink_port.c | 71 controller_num = esw->esw_funcs.spfs[spf_idx].host_number + 1; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 72 pfnum = esw->esw_funcs.spfs[spf_idx].pf_num; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
|
| H A D | legacy.c | 217 mlx5_esw_for_each_vf_vport(esw, i, vport, esw->esw_funcs.num_vfs) in esw_legacy_enable()
|