Searched refs:MLX5_ESWITCH_LEGACY (Results 1 – 5 of 5) sorted by relevance
15 MLX5_ESWITCH_LEGACY, enumerator158 return MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()205 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_LEGACY; in is_mdev_legacy_mode()
322 if (esw->mode != MLX5_ESWITCH_LEGACY || !mlx5_esw_is_fdb_created(esw)) { in mlx5_eswitch_set_vepa()342 if (esw->mode != MLX5_ESWITCH_LEGACY || !mlx5_esw_is_fdb_created(esw)) in mlx5_eswitch_get_vepa()391 if (esw->mode != MLX5_ESWITCH_LEGACY) in mlx5_esw_query_vport_drop_stats()439 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_vlan()467 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_spoofchk()477 if (evport->enabled && esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_set_vport_spoofchk()499 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_trust()
787 if (esw->mode == MLX5_ESWITCH_LEGACY) in esw_vport_setup_acl()796 if (esw->mode == MLX5_ESWITCH_LEGACY) in esw_vport_cleanup_acl()1278 esw->mode == MLX5_ESWITCH_LEGACY; in mlx5_eswitch_enable_pf_vf_vports()1343 esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_pf_vf_vports()1484 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_enable_locked()1540 vport_events = (esw->mode == MLX5_ESWITCH_LEGACY) ? in mlx5_eswitch_enable()1596 if (esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_sriov()1628 else if (esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_locked()1645 esw->mode = MLX5_ESWITCH_LEGACY; in mlx5_eswitch_disable()1890 esw->mode = MLX5_ESWITCH_LEGACY; in mlx5_eswitch_init()[all …]
2334 esw->mode = MLX5_ESWITCH_LEGACY; in esw_offloads_start()3575 esw->mode = MLX5_ESWITCH_LEGACY; in esw_offloads_stop()3606 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()3621 case MLX5_ESWITCH_LEGACY: in esw_mode_to_devlink()3908 if (esw->mode != MLX5_ESWITCH_LEGACY && in mlx5_eswitch_block_encap()3957 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_devlink_eswitch_encap_mode_set()
504 case MLX5_ESWITCH_LEGACY: in mlx5_sf_esw_event()