Searched refs:MLX5_ESWITCH_OFFLOADS (Results 1 – 8 of 8) sorted by relevance
17 MLX5_ESWITCH_OFFLOADS enumerator
134 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_fs_mode_validate()
1817 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()1826 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()1918 if (mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_enable()1941 else if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable()1951 if (old_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable()2602 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()2603 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()2612 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()2613 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
150 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()1374 err = mlx5_eswitch_enable(esw, MLX5_ESWITCH_OFFLOADS); in esw_offloads_start()2202 err1 = mlx5_eswitch_enable(esw, MLX5_ESWITCH_OFFLOADS); in esw_offloads_stop()2230 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()2245 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()2547 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
414 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()435 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
3779 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
5420 mlx5_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5e_add()
5340 MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()6909 mlx5_ib_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5_ib_add()