Searched refs:MLX5_ESWITCH_OFFLOADS (Results 1 – 15 of 15) sorted by relevance
17 MLX5_ESWITCH_OFFLOADS enumerator211 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
20 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
875 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()1590 if (esw->mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_sriov()1626 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()1633 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()2099 if (esw->mode == MLX5_ESWITCH_OFFLOADS || !vst_mode_steering) { in __mlx5_eswitch_set_vport_vlan()2209 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()2217 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()2218 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
675 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()2340 esw->mode = MLX5_ESWITCH_OFFLOADS; in esw_offloads_start()2466 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in esw_port_metadata_validate()2580 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_init_pf_vf_rep()2588 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_cleanup_pf_vf_rep()2610 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_load_rep()2629 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_esw_offloads_unload_rep()3308 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_ib_reps()3624 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()3639 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()[all …]
445 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()512 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
3548 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_fs_mode_validate()
4753 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
3343 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
566 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()
81 if (mlx5_eswitch_mode(dev0) != MLX5_ESWITCH_OFFLOADS || in enable_mpesw()
194 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
2384 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
1267 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS && in mlx5_ib_query_device()
128 chains->dev->priv.eswitch->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_chains_get_prio_range()
957 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()