Home
last modified time | relevance | path

Searched refs:mlx5_eswitch_mode (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/include/linux/mlx5/
Deswitch.h151 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev);
157 static inline u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode() function
206 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_LEGACY; in is_mdev_legacy_mode()
211 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmpesw.c81 if (mlx5_eswitch_mode(dev0) != MLX5_ESWITCH_OFFLOADS || in enable_mpesw()
Dlag.c775 mode = mlx5_eswitch_mode(dev); in mlx5_lag_check_prereq()
777 if (mlx5_eswitch_mode(ldev->pf[i].dev) != mode) in mlx5_lag_check_prereq()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dstd_types.c194 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
Dfs.c2384 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
Dmain.c1267 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS && in mlx5_ib_query_device()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c2195 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode() function
2201 EXPORT_SYMBOL_GPL(mlx5_eswitch_mode);
2209 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()
Dfs_core.c3539 eswitch_mode = mlx5_eswitch_mode(dev); in mlx5_fs_mode_validate()
Deswitch_offloads.c2465 esw_mode = mlx5_eswitch_mode(dev); in esw_port_metadata_validate()
Den_main.c3343 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()