Home
last modified time | relevance | path

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

/linux-6.15/include/linux/mlx5/
H A Deswitch.h17 MLX5_ESWITCH_OFFLOADS enumerator
213 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dofld.h20 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
1629 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1636 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()
H A Deswitch_offloads.c673 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()
2357 esw_mode_change(esw, MLX5_ESWITCH_OFFLOADS); in esw_offloads_start()
2482 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in esw_port_metadata_validate()
2596 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_init_pf_vf_rep()
2604 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_cleanup_pf_vf_rep()
2626 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_load_rep()
2645 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_unload_rep()
3324 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_ib_reps()
3643 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()
3658 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()
[all …]
H A Den_rep.c446 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
513 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
H A Dfs_core.c3706 if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_fs_mode_validate()
H A Den_tc.c4750 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
H A Den_main.c3346 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c566 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_replace_act()
595 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_destroy_act()
617 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_stats_act()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmpesw.c79 if (mlx5_eswitch_mode(dev0) != MLX5_ESWITCH_OFFLOADS || in enable_mpesw()
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dstd_types.c194 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
H A Dfs.c2959 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
H A Dmain.c1280 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS && in mlx5_ib_query_device()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c128 chains->dev->priv.eswitch->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_chains_get_prio_range()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c955 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()