Searched refs:MLX5_ESWITCH_LEGACY (Results 1 – 5 of 5) sorted by relevance
15 MLX5_ESWITCH_LEGACY, enumerator155 return MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()202 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_LEGACY; in is_mdev_legacy_mode()
324 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vepa()344 if (esw->mode != MLX5_ESWITCH_LEGACY) in mlx5_eswitch_get_vepa()393 if (esw->mode != MLX5_ESWITCH_LEGACY) in mlx5_esw_query_vport_drop_stats()441 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_vlan()469 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_spoofchk()479 if (evport->enabled && esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_set_vport_spoofchk()501 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_trust()
767 if (esw->mode == MLX5_ESWITCH_LEGACY) in esw_vport_setup_acl()776 if (esw->mode == MLX5_ESWITCH_LEGACY) in esw_vport_cleanup_acl()1318 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_enable_locked()1374 vport_events = (esw->mode == MLX5_ESWITCH_LEGACY) ? in mlx5_eswitch_enable()1416 if (esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_sriov()1435 mlx5_esw_mode_change_notify(esw, MLX5_ESWITCH_LEGACY); in mlx5_eswitch_disable_locked()1447 else if (esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_locked()1465 esw->mode = MLX5_ESWITCH_LEGACY; in mlx5_eswitch_disable()1660 esw->mode = MLX5_ESWITCH_LEGACY; in mlx5_eswitch_init()1748 if (evport->enabled && esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_esw_set_vport_mac_locked()[all …]
2147 esw->mode = MLX5_ESWITCH_LEGACY; in esw_offloads_start()3304 esw->mode = MLX5_ESWITCH_LEGACY; in esw_offloads_stop()3336 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()3351 case MLX5_ESWITCH_LEGACY: in esw_mode_to_devlink()3598 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_devlink_eswitch_encap_mode_set()
504 case MLX5_ESWITCH_LEGACY: in mlx5_sf_esw_event()
Completed in 19 milliseconds