Searched refs:MLX5_ESWITCH_OFFLOADS (Results 1 – 11 of 11) sorted by relevance
18 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
17 MLX5_ESWITCH_OFFLOADS enumerator
1399 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()1408 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()1643 if (mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_enable_locked()1699 else if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()1707 if (old_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_locked()2469 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()2470 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()2479 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()2480 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
313 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()1743 err = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_start()1864 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_load_rep()1883 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_unload_rep()2383 err1 = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_stop()2415 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()2430 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()2754 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
238 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_fs_mode_validate()
383 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()404 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
275 #define esw_offloads_mode(esw) (mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS)4930 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
3152 if (!MLX5_ESWITCH_MANAGER(mdev) || mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS) in mlx5e_modify_admin_state()5611 mlx5_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5e_add()
145 MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
2139 MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
4789 mlx5_ib_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5_ib_add()