Lines Matching refs:mlx5_core_dev
38 int (*load)(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep);
79 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev);
147 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev);
148 u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev);
149 struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw);
153 static inline u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode()
159 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_encap_mode()
188 static inline u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_total_vports()
193 static inline struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw) in mlx5_eswitch_get_core_dev()
200 static inline bool is_mdev_legacy_mode(struct mlx5_core_dev *dev) in is_mdev_legacy_mode()
205 static inline bool is_mdev_switchdev_mode(struct mlx5_core_dev *dev) in is_mdev_switchdev_mode()