Home
last modified time | relevance | path

Searched refs:MLX5_ESWITCH_OFFLOADS (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/include/linux/mlx5/
Deswitch.h17 MLX5_ESWITCH_OFFLOADS enumerator
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c134 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_fs_mode_validate()
Deswitch.c1817 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()
1826 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()
1918 if (mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_enable()
1941 else if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable()
1951 if (old_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable()
2602 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()
2603 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()
2612 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
2613 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
Deswitch_offloads.c150 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()
1374 err = mlx5_eswitch_enable(esw, MLX5_ESWITCH_OFFLOADS); in esw_offloads_start()
2202 err1 = mlx5_eswitch_enable(esw, MLX5_ESWITCH_OFFLOADS); in esw_offloads_stop()
2230 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()
2245 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()
2547 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
Den_rep.c414 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
435 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
Den_tc.c3779 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
Den_main.c5420 mlx5_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5e_add()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c5340 MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
6909 mlx5_ib_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5_ib_add()