Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/mlx5/
Deswitch.h15 MLX5_ESWITCH_LEGACY, enumerator
155 return MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()
202 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_LEGACY; in is_mdev_legacy_mode()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c324 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c313 if (esw->fdb_table.legacy.fdb && esw->mode == MLX5_ESWITCH_LEGACY) in esw_add_uc_addr()
767 if (esw->mode == MLX5_ESWITCH_LEGACY) in esw_vport_setup_acl()
776 if (esw->mode == MLX5_ESWITCH_LEGACY) in esw_vport_cleanup_acl()
1275 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_eswitch_enable_locked()
1290 esw->mode == MLX5_ESWITCH_LEGACY ? "LEGACY" : "OFFLOADS", in mlx5_eswitch_enable_locked()
1331 vport_events = (esw->mode == MLX5_ESWITCH_LEGACY) ? in mlx5_eswitch_enable()
1360 esw->mode == MLX5_ESWITCH_LEGACY ? "LEGACY" : "OFFLOADS", in mlx5_eswitch_disable_sriov()
1375 if (esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_disable_sriov()
1394 mlx5_esw_mode_change_notify(esw, MLX5_ESWITCH_LEGACY); in mlx5_eswitch_disable_locked()
1399 esw->mode == MLX5_ESWITCH_LEGACY ? "LEGACY" : "OFFLOADS", in mlx5_eswitch_disable_locked()
[all …]
Deswitch_offloads.c2320 esw->mode = MLX5_ESWITCH_LEGACY; in esw_offloads_start()
3389 esw->mode = MLX5_ESWITCH_LEGACY; in esw_offloads_stop()
3421 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()
3436 case MLX5_ESWITCH_LEGACY: in esw_mode_to_devlink()
3683 if (esw->mode == MLX5_ESWITCH_LEGACY) { in mlx5_devlink_eswitch_encap_mode_set()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c504 case MLX5_ESWITCH_LEGACY: in mlx5_sf_esw_event()