Searched refs:peer_esw (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 470 struct mlx5_eswitch *peer_esw; in mlx5e_sqs2vport_add_peers_rules() local 472 mlx5_devcom_for_each_peer_entry(esw->devcom, peer_esw, tmp) { in mlx5e_sqs2vport_add_peers_rules() 473 u16 peer_rule_idx = MLX5_CAP_GEN(peer_esw->dev, vhca_id); in mlx5e_sqs2vport_add_peers_rules() 481 flow_rule = mlx5_eswitch_add_send_to_vport_rule(peer_esw, esw, in mlx5e_sqs2vport_add_peers_rules() 489 sq_peer->peer = peer_esw; in mlx5e_sqs2vport_add_peers_rules() 1639 struct mlx5_eswitch *peer_esw) in mlx5e_vport_rep_event_unpair() argument 1641 u16 i = MLX5_CAP_GEN(peer_esw->dev, vhca_id); in mlx5e_vport_rep_event_unpair() 1645 WARN_ON_ONCE(!peer_esw); in mlx5e_vport_rep_event_unpair() 1650 if (!sq_peer || sq_peer->peer != peer_esw) in mlx5e_vport_rep_event_unpair() 1661 struct mlx5_eswitch *peer_esw) in mlx5e_vport_rep_event_pair() argument [all …]
|
D | eswitch_offloads.c | 1165 struct mlx5_eswitch *peer_esw, in esw_set_peer_miss_rule_source_port() argument 1175 mlx5_eswitch_get_vport_metadata_for_match(peer_esw, in esw_set_peer_miss_rule_source_port() 2892 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_rep_event_unpair() argument 2905 ops->event(esw, rep, MLX5_SWITCHDEV_EVENT_UNPAIR, peer_esw); in mlx5_esw_offloads_rep_event_unpair() 2911 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_unpair() argument 2916 mlx5_esw_offloads_rep_event_unpair(esw, peer_esw); in mlx5_esw_offloads_unpair() 2917 esw_del_fdb_peer_miss_rules(esw, peer_esw->dev); in mlx5_esw_offloads_unpair() 2921 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_pair() argument 2929 err = esw_add_fdb_peer_miss_rules(esw, peer_esw->dev); in mlx5_esw_offloads_pair() 2938 err = ops->event(esw, rep, MLX5_SWITCHDEV_EVENT_PAIR, peer_esw); in mlx5_esw_offloads_pair() [all …]
|
D | en_tc.c | 4581 struct mlx5_eswitch *peer_esw) in mlx5e_tc_add_fdb_peer_flow() argument 4587 int i = mlx5_get_dev_index(peer_esw->dev); in mlx5e_tc_add_fdb_peer_flow() 4593 peer_urpriv = mlx5_eswitch_get_uplink_priv(peer_esw, REP_ETH); in mlx5e_tc_add_fdb_peer_flow() 4638 struct mlx5_eswitch *peer_esw; in mlx5e_add_fdb_flow() local 4657 mlx5_devcom_for_each_peer_entry(devcom, peer_esw, pos) { in mlx5e_add_fdb_flow() 4658 err = mlx5e_tc_add_fdb_peer_flow(f, flow, flow_flags, peer_esw); in mlx5e_add_fdb_flow()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge_mcast.c | 546 struct mlx5_eswitch *tmp, *peer_esw = NULL; in mlx5_esw_bridge_mcast_filter_flow_peer_create() local 554 peer_esw = tmp; in mlx5_esw_bridge_mcast_filter_flow_peer_create() 559 if (!peer_esw) { in mlx5_esw_bridge_mcast_filter_flow_peer_create() 564 handle = mlx5_esw_bridge_mcast_flow_with_esw_create(port, peer_esw); in mlx5_esw_bridge_mcast_filter_flow_peer_create()
|
D | bridge.c | 656 struct mlx5_eswitch *tmp, *peer_esw = NULL; in mlx5_esw_bridge_ingress_flow_peer_create() local 664 peer_esw = tmp; in mlx5_esw_bridge_ingress_flow_peer_create() 669 if (!peer_esw) { in mlx5_esw_bridge_ingress_flow_peer_create() 675 bridge, peer_esw); in mlx5_esw_bridge_ingress_flow_peer_create()
|