Lines Matching full:esw
24 ndev = mlx5_ib_get_rep_netdev(rep->esw, rep->vport); in mlx5_ib_set_vport_rep()
140 struct mlx5_core_dev *mdev = mlx5_eswitch_get_core_dev(rep->esw); in mlx5_ib_vport_rep_unload()
178 struct mlx5_eswitch *esw; in mlx5_ib_vport_rep_unload() local
181 esw = peer_mdev->priv.eswitch; in mlx5_ib_vport_rep_unload()
182 mlx5_eswitch_unregister_vport_reps(esw, REP_IB); in mlx5_ib_vport_rep_unload()
198 struct mlx5_eswitch *esw; in mlx5_ib_register_peer_vport_reps() local
202 esw = peer_mdev->priv.eswitch; in mlx5_ib_register_peer_vport_reps()
203 mlx5_eswitch_register_vport_reps(esw, &rep_ops, REP_IB); in mlx5_ib_register_peer_vport_reps()
207 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev() argument
210 return mlx5_eswitch_get_proto_dev(esw, vport_num, REP_ETH); in mlx5_ib_get_rep_netdev()
217 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in create_flow_rule_vport_sq() local
228 return mlx5_eswitch_add_send_to_vport_rule(esw, esw, rep, sq->base.mqp.qpn); in create_flow_rule_vport_sq()
236 struct mlx5_eswitch *esw; in mlx5r_rep_probe() local
238 esw = mdev->priv.eswitch; in mlx5r_rep_probe()
239 mlx5_eswitch_register_vport_reps(esw, &rep_ops, REP_IB); in mlx5r_rep_probe()
247 struct mlx5_eswitch *esw; in mlx5r_rep_remove() local
249 esw = mdev->priv.eswitch; in mlx5r_rep_remove()
250 mlx5_eswitch_unregister_vport_reps(esw, REP_IB); in mlx5r_rep_remove()