Lines Matching refs:esw

100 	struct mlx5_eswitch *esw   = dev->mdev->priv.eswitch;  in mlx5_ib_rep_register_vf_vports()  local
110 mlx5_eswitch_register_vport_rep(esw, vport, &rep_if, REP_IB); in mlx5_ib_rep_register_vf_vports()
116 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_unregister_vf_vports() local
121 mlx5_eswitch_unregister_vport_rep(esw, vport, REP_IB); in mlx5_ib_rep_unregister_vf_vports()
126 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_register_vport_reps() local
134 mlx5_eswitch_register_vport_rep(esw, 0, &rep_if, REP_IB); in mlx5_ib_register_vport_reps()
141 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() local
144 mlx5_eswitch_unregister_vport_rep(esw, 0, REP_IB); /* UPLINK PF*/ in mlx5_ib_unregister_vport_reps()
147 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() argument
149 return mlx5_eswitch_mode(esw); in mlx5_ib_eswitch_mode()
152 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() argument
155 return mlx5_eswitch_get_proto_dev(esw, vport_index, REP_IB); in mlx5_ib_get_rep_ibdev()
158 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev() argument
161 return mlx5_eswitch_get_proto_dev(esw, vport_index, REP_ETH); in mlx5_ib_get_rep_netdev()
164 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() argument
166 return mlx5_eswitch_uplink_get_proto_dev(esw, REP_IB); in mlx5_ib_get_uplink_ibdev()
169 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, int vport) in mlx5_ib_vport_rep() argument
171 return mlx5_eswitch_vport_rep(esw, vport); in mlx5_ib_vport_rep()
178 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in create_flow_rule_vport_sq() local
184 mlx5_eswitch_add_send_to_vport_rule(esw, in create_flow_rule_vport_sq()