Home
last modified time | relevance | path

Searched refs:MLX5_ESWITCH_LEGACY (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/mlx5/
H A Deswitch.h16 MLX5_ESWITCH_LEGACY, enumerator
159 return MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()
206 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_LEGACY; in is_mdev_legacy_mode()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c321 if (esw->mode != MLX5_ESWITCH_LEGACY || !mlx5_esw_is_fdb_created(esw)) { in mlx5_eswitch_set_vepa()
341 if (esw->mode != MLX5_ESWITCH_LEGACY || !mlx5_esw_is_fdb_created(esw)) in mlx5_eswitch_get_vepa()
390 if (esw->mode != MLX5_ESWITCH_LEGACY) in mlx5_esw_query_vport_drop_stats()
438 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_vlan()
466 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_spoofchk()
476 if (evport->enabled && esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_set_vport_spoofchk()
498 if (esw->mode != MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_set_vport_trust()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c329 if (esw->fdb_table.legacy.fdb && esw->mode == MLX5_ESWITCH_LEGACY) { in esw_add_uc_addr()
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()
1488 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_enable_locked()
1502 esw->mode == MLX5_ESWITCH_LEGACY ? "LEGACY" : "OFFLOADS", in mlx5_eswitch_enable_locked()
1543 vport_events = (esw->mode == MLX5_ESWITCH_LEGACY) ? in mlx5_eswitch_enable()
1580 esw->mode == MLX5_ESWITCH_LEGACY ? "LEGACY" : "OFFLOADS", in mlx5_eswitch_disable_sriov()
1599 if (esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_sriov()
[all …]
H A Deswitch_offloads.c2364 esw_mode_change(esw, MLX5_ESWITCH_LEGACY); in esw_offloads_start()
3608 esw_mode_change(esw, MLX5_ESWITCH_LEGACY); in esw_offloads_stop()
3639 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()
3654 case MLX5_ESWITCH_LEGACY: in esw_mode_to_devlink()
3946 if (esw->mode != MLX5_ESWITCH_LEGACY && in mlx5_eswitch_block_encap()
3995 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_devlink_eswitch_encap_mode_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c431 case MLX5_ESWITCH_LEGACY: in mlx5_sf_esw_event()