Home
last modified time | relevance | path

Searched refs:peer_esw (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c410 struct mlx5_eswitch *peer_esw; in mlx5e_sqs2vport_add_peers_rules() local
429 sq_peer->peer = peer_esw; in mlx5e_sqs2vport_add_peers_rules()
1590 struct mlx5_eswitch *peer_esw) in mlx5e_vport_rep_event_unpair() argument
1592 u16 i = MLX5_CAP_GEN(peer_esw->dev, vhca_id); in mlx5e_vport_rep_event_unpair()
1596 WARN_ON_ONCE(!peer_esw); in mlx5e_vport_rep_event_unpair()
1601 if (!sq_peer || sq_peer->peer != peer_esw) in mlx5e_vport_rep_event_unpair()
1612 struct mlx5_eswitch *peer_esw) in mlx5e_vport_rep_event_pair() argument
1614 u16 i = MLX5_CAP_GEN(peer_esw->dev, vhca_id); in mlx5e_vport_rep_event_pair()
1637 sq_peer->peer = peer_esw; in mlx5e_vport_rep_event_pair()
1649 sq_peer->peer = peer_esw; in mlx5e_vport_rep_event_pair()
[all …]
H A Deswitch_offloads.c1154 struct mlx5_eswitch *peer_esw, in esw_set_peer_miss_rule_source_port() argument
2877 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_rep_event_unpair() argument
2896 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_unpair() argument
2906 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_pair() argument
2933 mlx5_esw_offloads_unpair(esw, peer_esw); in mlx5_esw_offloads_pair()
2938 struct mlx5_eswitch *peer_esw, in mlx5_esw_offloads_set_ns_peer() argument
3012 peer_esw->num_peers++; in mlx5_esw_offloads_devcom_event()
3020 peer_esw->num_peers--; in mlx5_esw_offloads_devcom_event()
3024 xa_erase(&peer_esw->paired, esw_i); in mlx5_esw_offloads_devcom_event()
3037 mlx5_esw_offloads_unpair(peer_esw, esw); in mlx5_esw_offloads_devcom_event()
[all …]
H A Den_tc.c4462 struct mlx5_eswitch *peer_esw) in mlx5e_tc_add_fdb_peer_flow() argument
4468 int i = mlx5_get_dev_index(peer_esw->dev); in mlx5e_tc_add_fdb_peer_flow()
4474 peer_urpriv = mlx5_eswitch_get_uplink_priv(peer_esw, REP_ETH); in mlx5e_tc_add_fdb_peer_flow()
4519 struct mlx5_eswitch *peer_esw; in mlx5e_add_fdb_flow() local
4538 mlx5_devcom_for_each_peer_entry(devcom, peer_esw, pos) { in mlx5e_add_fdb_flow()
4539 err = mlx5e_tc_add_fdb_peer_flow(f, flow, flow_flags, peer_esw); in mlx5e_add_fdb_flow()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c546 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()
H A Dbridge.c656 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()