Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mlx5/
H A Deswitch.h150 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev);
156 static inline u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode() function
205 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_LEGACY; in is_mdev_legacy_mode()
210 return mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS; in is_mdev_switchdev_mode()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c176 if (mlx5_eswitch_mode(dev->mdev) == MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
H A Dfs.c2384 mlx5_eswitch_mode(dev->mdev) != MLX5_ESWITCH_OFFLOADS) { in UVERBS_HANDLER()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmpesw.c81 if (mlx5_eswitch_mode(dev0) != MLX5_ESWITCH_OFFLOADS || in enable_mpesw()
H A Dlag.c738 mode = mlx5_eswitch_mode(dev); in mlx5_lag_check_prereq()
740 if (mlx5_eswitch_mode(ldev->pf[i].dev) != mode) in mlx5_lag_check_prereq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c2194 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode() function
2200 EXPORT_SYMBOL_GPL(mlx5_eswitch_mode);
2208 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap : in mlx5_eswitch_get_encap_mode()
H A Dfs_core.c3311 eswitch_mode = mlx5_eswitch_mode(dev); in mlx5_fs_mode_validate()
H A Deswitch_offloads.c2453 esw_mode = mlx5_eswitch_mode(dev); in esw_port_metadata_validate()
H A Den_main.c3110 if (mlx5_eswitch_mode(mdev) == MLX5_ESWITCH_OFFLOADS || in mlx5e_modify_admin_state()