Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/mlx5/
Deswitch.h16 MLX5_ESWITCH_OFFLOADS enumerator
207 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dofld.h19 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c967 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()
976 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()
1360 if (esw->mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_sriov()
1395 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1402 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1923 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()
1931 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
1932 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
Ddevlink.c422 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_fs_mode_validate()
534 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_esw_port_metadata_validate()
Deswitch_offloads.c560 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()
2315 esw->mode = MLX5_ESWITCH_OFFLOADS; in esw_offloads_start()
2491 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_load_rep()
2513 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_unload_rep()
3108 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_reps()
3424 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()
3439 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()
3770 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
Den_rep.c322 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
346 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
Den_tc.c4507 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
Den_main.c3040 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c534 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_replace_act()
563 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_destroy_act()
585 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_stats_act()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dstd_types.c176 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
Dfs.c2135 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c501 case MLX5_ESWITCH_OFFLOADS: in mlx5_sf_esw_event()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c128 chains->dev->priv.eswitch->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_chains_get_prio_range()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c886 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c715 if (mode == MLX5_ESWITCH_OFFLOADS && ldev->ports != MLX5_LAG_OFFLOADS_SUPPORTED_PORTS) in mlx5_lag_check_prereq()