Home
last modified time | relevance | path

Searched refs:peer_dev (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dib_rep.c38 struct mlx5_core_dev *peer_dev; in mlx5_ib_vport_rep_load() local
47 peer_dev = mlx5_lag_get_peer_mdev(dev); in mlx5_ib_vport_rep_load()
48 peer_num_ports = mlx5_eswitch_get_total_vports(peer_dev); in mlx5_ib_vport_rep_load()
56 dev = peer_dev; in mlx5_ib_vport_rep_load()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c1313 struct kfd_topology_device *peer_dev; in kfd_fill_iolink_non_crat_info() local
1322 peer_dev = kfd_topology_device_by_proximity_domain( in kfd_fill_iolink_non_crat_info()
1325 if (!peer_dev) in kfd_fill_iolink_non_crat_info()
1329 if (!peer_dev->gpu && !peer_dev->node_props.hive_id && in kfd_fill_iolink_non_crat_info()
1332 peer_dev->node_props.hive_id = dev->node_props.hive_id; in kfd_fill_iolink_non_crat_info()
1334 list_for_each_entry(inbound_link, &peer_dev->io_link_props, in kfd_fill_iolink_non_crat_info()
1340 kfd_set_iolink_no_atomics(peer_dev, dev, inbound_link); in kfd_fill_iolink_non_crat_info()
1341 kfd_set_iolink_non_coherent(peer_dev, link, inbound_link); in kfd_fill_iolink_non_crat_info()
1349 peer_dev = kfd_topology_device_by_proximity_domain( in kfd_fill_iolink_non_crat_info()
1352 if (!peer_dev) in kfd_fill_iolink_non_crat_info()
[all …]
Dkfd_crat.c2261 struct kfd_topology_device *peer_dev; in kfd_create_vcrat_image_gpu() local
2413 peer_dev = kfd_topology_device_by_proximity_domain_no_lock(nid); in kfd_create_vcrat_image_gpu()
2414 if (!peer_dev->gpu) in kfd_create_vcrat_image_gpu()
2416 if (peer_dev->gpu->hive_id != kdev->hive_id) in kfd_create_vcrat_image_gpu()
2422 &avail_size, kdev, peer_dev->gpu, in kfd_create_vcrat_image_gpu()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c555 bool mlx5_same_hw_devs(struct mlx5_core_dev *dev, struct mlx5_core_dev *peer_dev) in mlx5_same_hw_devs() argument
560 psystem_guid = mlx5_query_nic_system_image_guid(peer_dev); in mlx5_same_hw_devs()
Dmlx5_core.h340 bool mlx5_same_hw_devs(struct mlx5_core_dev *dev, struct mlx5_core_dev *peer_dev);
Deswitch_offloads.c1160 struct mlx5_core_dev *peer_dev, in peer_miss_rules_setup() argument
1178 MLX5_CAP_GEN(peer_dev, vhca_id)); in peer_miss_rules_setup()
1190 dest->vport.num = peer_dev->priv.eswitch->manager_vport; in peer_miss_rules_setup()
1191 dest->vport.vhca_id = MLX5_CAP_GEN(peer_dev, vhca_id); in peer_miss_rules_setup()
1216 struct mlx5_core_dev *peer_dev) in esw_add_fdb_peer_miss_rules() argument
1234 peer_miss_rules_setup(esw, peer_dev, spec, &dest); in esw_add_fdb_peer_miss_rules()
1248 esw_set_peer_miss_rule_source_port(esw, peer_dev->priv.eswitch, in esw_add_fdb_peer_miss_rules()
1274 peer_dev->priv.eswitch, in esw_add_fdb_peer_miss_rules()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c1504 struct mlx5_core_dev *peer_dev = NULL; in mlx5_lag_get_peer_mdev() local
1513 peer_dev = ldev->pf[MLX5_LAG_P1].dev == dev ? in mlx5_lag_get_peer_mdev()
1519 return peer_dev; in mlx5_lag_get_peer_mdev()