Searched refs:MLX5_ESWITCH_OFFLOADS (Results 1 – 12 of 12) sorted by relevance
17 MLX5_ESWITCH_OFFLOADS enumerator203 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
18 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
969 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()978 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()1290 if (mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_enable_locked()1361 else if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()1367 if (old_mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()1964 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()1973 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()1974 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()1983 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()1984 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
409 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_fs_mode_validate()521 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_esw_port_metadata_validate()
524 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()2168 err = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_start()2348 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_load_rep()2370 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_unload_rep()3007 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_reps()3273 err1 = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_stop()3304 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()3319 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()3680 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
313 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()337 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
4740 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
2819 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
176 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
2324 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
501 case MLX5_ESWITCH_OFFLOADS: in mlx5_sf_esw_event()
805 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()
Completed in 48 milliseconds