Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/mlx5/
Deswitch.h16 MLX5_ESWITCH_OFFLOADS enumerator
210 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dofld.h20 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c875 if (esw->mode == MLX5_ESWITCH_OFFLOADS || !vst_mode_steering) in esw_vport_setup()
1043 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handler_register()
1052 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handler_unregister()
1593 if (esw->mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_sriov()
1632 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1639 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
2109 if (esw->mode == MLX5_ESWITCH_OFFLOADS || !vst_mode_steering) { in __mlx5_eswitch_set_vport_vlan()
2219 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()
2227 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
2228 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
Deswitch_offloads.c660 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()
2316 esw->mode = MLX5_ESWITCH_OFFLOADS; in esw_offloads_start()
2441 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in esw_port_metadata_validate()
2540 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_init_pf_vf_rep()
2548 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_cleanup_pf_vf_rep()
2570 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_load_rep()
2589 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_unload_rep()
3268 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_reps()
3584 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()
3599 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()
[all …]
Den_rep.c381 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
448 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
Dfs_core.c3309 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_fs_mode_validate()
Den_tc.c4610 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
Den_main.c3097 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c552 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_replace_act()
581 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_destroy_act()
603 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_stats_act()
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dstd_types.c176 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
Dfs.c2384 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmpesw.c81 if (mlx5_eswitch_mode(dev0) != MLX5_ESWITCH_OFFLOADS || in enable_mpesw()
Dlag.c740 if (mode == MLX5_ESWITCH_OFFLOADS && ldev->ports > MLX5_LAG_OFFLOADS_SUPPORTED_PORTS) in mlx5_lag_check_prereq()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c501 case MLX5_ESWITCH_OFFLOADS: in mlx5_sf_esw_event()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c128 chains->dev->priv.eswitch->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_chains_get_prio_range()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c874 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()