Lines Matching refs:mlx5_eswitch
41 int (*event)(struct mlx5_eswitch *esw,
59 struct mlx5_eswitch *esw;
62 void mlx5_eswitch_register_vport_reps(struct mlx5_eswitch *esw,
65 void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
66 void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw,
69 struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw,
71 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
73 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *on_esw,
74 struct mlx5_eswitch *from_esw,
81 bool mlx5_eswitch_reg_c1_loopback_enabled(const struct mlx5_eswitch *esw);
82 bool mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw);
104 u32 mlx5_eswitch_get_vport_metadata_for_match(struct mlx5_eswitch *esw,
106 u32 mlx5_eswitch_get_vport_metadata_for_set(struct mlx5_eswitch *esw,
149 struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw);
165 mlx5_eswitch_reg_c1_loopback_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_reg_c1_loopback_enabled()
171 mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_vport_match_metadata_enabled()
177 mlx5_eswitch_get_vport_metadata_for_match(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport_metadata_for_match()
193 static inline struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw) in mlx5_eswitch_get_core_dev()