Home
last modified time | relevance | path

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

/linux/include/linux/mlx5/
A Deswitch.h17 MLX5_ESWITCH_OFFLOADS enumerator
203 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
A Dofld.h18 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.c969 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()
978 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()
1290 if (mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_enable_locked()
1361 else if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1367 if (old_mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1964 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()
1973 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq()
1974 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS)) in mlx5_esw_lag_prereq()
1983 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
1984 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
A Ddevlink.c409 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_fs_mode_validate()
521 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_esw_port_metadata_validate()
A Deswitch_offloads.c524 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()
2168 err = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_start()
2348 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_load_rep()
2370 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_unload_rep()
3007 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_reps()
3273 err1 = mlx5_eswitch_enable_locked(esw, MLX5_ESWITCH_OFFLOADS, in esw_offloads_stop()
3304 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()
3319 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()
3680 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
A Den_rep.c313 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
337 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
A Den_tc.c4740 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
A Den_main.c2819 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
/linux/drivers/infiniband/hw/mlx5/
A Dstd_types.c176 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
A Dfs.c2324 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Ddevlink.c501 case MLX5_ESWITCH_OFFLOADS: in mlx5_sf_esw_event()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dqos.c805 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()

Completed in 48 milliseconds