Lines Matching refs:mlx5_core_dev
39 int (*load)(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep);
80 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev);
153 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev);
154 u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev);
155 struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw);
159 static inline u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode()
165 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_encap_mode()
194 static inline u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_total_vports()
199 static inline struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw) in mlx5_eswitch_get_core_dev()
206 static inline bool is_mdev_legacy_mode(struct mlx5_core_dev *dev) in is_mdev_legacy_mode()
211 static inline bool is_mdev_switchdev_mode(struct mlx5_core_dev *dev) in is_mdev_switchdev_mode()
217 static inline u16 mlx5_eswitch_manager_vport(struct mlx5_core_dev *dev) in mlx5_eswitch_manager_vport()