Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c339 struct mlx5_eswitch *peer_esw = NULL; in mlx5e_sqs2vport_start() local
351 peer_esw = mlx5_devcom_get_peer_data(esw->dev->priv.devcom, in mlx5e_sqs2vport_start()
372 if (peer_esw) { in mlx5e_sqs2vport_start()
373 flow_rule = mlx5_eswitch_add_send_to_vport_rule(peer_esw, esw, in mlx5e_sqs2vport_start()
387 if (peer_esw) in mlx5e_sqs2vport_start()
395 if (peer_esw) in mlx5e_sqs2vport_start()
1430 struct mlx5_eswitch *peer_esw) in mlx5e_vport_rep_event_pair() argument
1440 flow_rule = mlx5_eswitch_add_send_to_vport_rule(peer_esw, esw, rep, rep_sq->sqn); in mlx5e_vport_rep_event_pair()
Deswitch_offloads.c1196 struct mlx5_eswitch *peer_esw, in esw_set_peer_miss_rule_source_port() argument
1206 mlx5_eswitch_get_vport_metadata_for_match(peer_esw, in esw_set_peer_miss_rule_source_port()
2759 struct mlx5_eswitch *peer_esw) in mlx5_esw_offloads_pair() argument
2767 err = esw_add_fdb_peer_miss_rules(esw, peer_esw->dev); in mlx5_esw_offloads_pair()
2776 err = ops->event(esw, rep, MLX5_SWITCHDEV_EVENT_PAIR, peer_esw); in mlx5_esw_offloads_pair()
2791 struct mlx5_eswitch *peer_esw, in mlx5_esw_offloads_set_ns_peer() argument
2798 peer_ns = peer_esw->dev->priv.steering->fdb_root_ns; in mlx5_esw_offloads_set_ns_peer()
2825 struct mlx5_eswitch *peer_esw = event_data; in mlx5_esw_offloads_devcom_event() local
2831 mlx5_eswitch_vport_match_metadata_enabled(peer_esw)) in mlx5_esw_offloads_devcom_event()
2834 err = mlx5_esw_offloads_set_ns_peer(esw, peer_esw, true); in mlx5_esw_offloads_devcom_event()
[all …]
Den_tc.c1992 struct mlx5_eswitch *peer_esw; in mlx5e_tc_del_fdb_peer_flow() local
1994 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_tc_del_fdb_peer_flow()
1995 if (!peer_esw) in mlx5e_tc_del_fdb_peer_flow()
4350 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch, *peer_esw; in mlx5e_tc_add_fdb_peer_flow() local
4359 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_tc_add_fdb_peer_flow()
4360 if (!peer_esw) in mlx5e_tc_add_fdb_peer_flow()
4363 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_stats_flower() local
4669 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_stats_flower()
4670 if (!peer_esw) in mlx5e_stats_flower()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c741 struct mlx5_eswitch *peer_esw; in mlx5_esw_bridge_ingress_flow_peer_create() local
743 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5_esw_bridge_ingress_flow_peer_create()
744 if (!peer_esw) in mlx5_esw_bridge_ingress_flow_peer_create()
748 bridge, peer_esw); in mlx5_esw_bridge_ingress_flow_peer_create()