Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/mlx5/
A Deswitch.h16 MLX5_ESWITCH_OFFLOADS enumerator
207 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
A Dofld.h19 return esw && esw->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_acl_egress_fwd2vport_supported()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.c850 if (esw->mode == MLX5_ESWITCH_OFFLOADS || !vst_mode_steering) in esw_vport_setup()
1019 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) { in mlx5_eswitch_event_handlers_register()
1028 if (esw->mode == MLX5_ESWITCH_OFFLOADS && mlx5_eswitch_is_funcs_handler(esw->dev)) in mlx5_eswitch_event_handlers_unregister()
1410 if (esw->mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_sriov()
1445 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1452 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_disable_locked()
1867 if (esw->mode == MLX5_ESWITCH_OFFLOADS || !vst_mode_steering) { in __mlx5_eswitch_set_vport_vlan()
1977 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()
1985 return (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_multipath_prereq()
1986 dev1->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS); in mlx5_esw_multipath_prereq()
A Deswitch_offloads.c579 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_add_offloaded_rule()
2142 esw->mode = MLX5_ESWITCH_OFFLOADS; in esw_offloads_start()
2281 if (esw_mode == MLX5_ESWITCH_OFFLOADS) { in esw_port_metadata_validate()
2406 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_load_rep()
2428 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in esw_offloads_unload_rep()
3023 if (!esw || esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_reload_reps()
3339 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()
3354 case MLX5_ESWITCH_OFFLOADS: in esw_mode_to_devlink()
3685 if (esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5_eswitch_unregister_vport_reps()
A Den_rep.c377 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_stop()
401 if (esw->mode != MLX5_ESWITCH_OFFLOADS) in mlx5e_sqs2vport_start()
A Ddevlink.c479 if (mlx5_eswitch_mode(dev) != MLX5_ESWITCH_OFFLOADS) { in mlx5_devlink_esw_multiport_validate()
A Dfs_core.c3204 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_fs_mode_validate()
A Den_tc.c4774 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_tc_add_flow()
A Den_main.c3054 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dtc.c533 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_replace_act()
562 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_destroy_act()
584 if (esw && esw->mode == MLX5_ESWITCH_OFFLOADS) in mlx5e_rep_indr_stats_act()
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dstd_types.c176 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
A Dfs.c2134 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dmpesw.c77 if (mlx5_eswitch_mode(dev0) != MLX5_ESWITCH_OFFLOADS || in enable_mpesw()
A Dlag.c714 if (mode == MLX5_ESWITCH_OFFLOADS && ldev->ports != MLX5_LAG_OFFLOADS_SUPPORTED_PORTS) in mlx5_lag_check_prereq()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Ddevlink.c501 case MLX5_ESWITCH_OFFLOADS: in mlx5_sf_esw_event()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_chains.c128 chains->dev->priv.eswitch->mode != MLX5_ESWITCH_OFFLOADS) in mlx5_chains_get_prio_range()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dqos.c874 if (esw->mode != MLX5_ESWITCH_OFFLOADS) { in mlx5_esw_devlink_rate_node_new()

Completed in 72 milliseconds