Home
last modified time | relevance | path

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

/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()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c1252 struct kfd_topology_device *peer_dev; in kfd_fill_iolink_non_crat_info() local
1261 peer_dev = kfd_topology_device_by_proximity_domain( in kfd_fill_iolink_non_crat_info()
1264 if (!peer_dev) in kfd_fill_iolink_non_crat_info()
1267 list_for_each_entry(inbound_link, &peer_dev->io_link_props, in kfd_fill_iolink_non_crat_info()
1273 kfd_set_iolink_no_atomics(peer_dev, dev, inbound_link); in kfd_fill_iolink_non_crat_info()
1274 kfd_set_iolink_non_coherent(peer_dev, link, inbound_link); in kfd_fill_iolink_non_crat_info()
Dkfd_crat.c2072 struct kfd_topology_device *peer_dev; in kfd_create_vcrat_image_gpu() local
2224 peer_dev = kfd_topology_device_by_proximity_domain(nid); in kfd_create_vcrat_image_gpu()
2225 if (!peer_dev->gpu) in kfd_create_vcrat_image_gpu()
2227 if (peer_dev->gpu->hive_id != kdev->hive_id) in kfd_create_vcrat_image_gpu()
2233 &avail_size, kdev, peer_dev->gpu, in kfd_create_vcrat_image_gpu()
/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c1027 struct mlx5_core_dev *peer_dev = NULL; in mlx5_lag_get_peer_mdev() local
1036 peer_dev = ldev->pf[MLX5_LAG_P1].dev == dev ? in mlx5_lag_get_peer_mdev()
1042 return peer_dev; in mlx5_lag_get_peer_mdev()
Deswitch_offloads.c1114 struct mlx5_core_dev *peer_dev, in peer_miss_rules_setup() argument
1132 MLX5_CAP_GEN(peer_dev, vhca_id)); in peer_miss_rules_setup()
1144 dest->vport.num = peer_dev->priv.eswitch->manager_vport; in peer_miss_rules_setup()
1145 dest->vport.vhca_id = MLX5_CAP_GEN(peer_dev, vhca_id); in peer_miss_rules_setup()
1170 struct mlx5_core_dev *peer_dev) in esw_add_fdb_peer_miss_rules() argument
1188 peer_miss_rules_setup(esw, peer_dev, spec, &dest); in esw_add_fdb_peer_miss_rules()
1202 esw_set_peer_miss_rule_source_port(esw, peer_dev->priv.eswitch, in esw_add_fdb_peer_miss_rules()
1228 peer_dev->priv.eswitch, in esw_add_fdb_peer_miss_rules()
Den_tc.c3549 struct net_device *peer_dev = act->dev; in parse_tc_nic_actions() local
3551 if (priv->netdev->netdev_ops == peer_dev->netdev_ops && in parse_tc_nic_actions()
3552 same_hw_devs(priv, netdev_priv(peer_dev))) { in parse_tc_nic_actions()
3553 parse_attr->mirred_ifindex[0] = peer_dev->ifindex; in parse_tc_nic_actions()
3561 peer_dev->name); in parse_tc_nic_actions()