Searched refs:MLX5_ESWITCH_OFFLOADS (Results 1 – 10 of 10) sorted by relevance
18 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
17 MLX5_ESWITCH_OFFLOADS enumerator
1392 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()1401 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()1636 if (mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_enable_locked()1692 else if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()1700 if (old_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_locked()2463 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()2464 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()2473 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()2474 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()2387 err1 = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_stop()2419 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()2434 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()2755 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
233 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()
274 #define esw_offloads_mode(esw) (mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS)4828 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
3138 if (!MLX5_ESWITCH_MANAGER(mdev) || mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS) in mlx5e_modify_admin_state()5499 mlx5_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5e_add()
145 MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
4792 mlx5_ib_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5_ib_add()