Home
last modified time | relevance | path

Searched refs:peer_mdev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c323 err = mlx5_hairpin_create_sq(hp->peer_mdev, params, &hp->sqn[i]); in mlx5_hairpin_create_queues()
332 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[j]); in mlx5_hairpin_create_queues()
347 mlx5_core_destroy_sq(hp->peer_mdev, hp->sqn[i]); in mlx5_hairpin_destroy_queues()
371 static int mlx5_hairpin_modify_sq(struct mlx5_core_dev *peer_mdev, u32 sqn, in mlx5_hairpin_modify_sq() argument
388 return mlx5_core_modify_sq(peer_mdev, sqn, in); in mlx5_hairpin_modify_sq()
397 err = mlx5_hairpin_modify_sq(hp->peer_mdev, hp->sqn[i], in mlx5_hairpin_pair_queues()
408 MLX5_CAP_GEN(hp->peer_mdev, vhca_id), hp->sqn[i]); in mlx5_hairpin_pair_queues()
422 mlx5_hairpin_modify_sq(hp->peer_mdev, hp->sqn[j], MLX5_SQC_STATE_RDY, in mlx5_hairpin_pair_queues()
440 mlx5_hairpin_modify_sq(hp->peer_mdev, hp->sqn[i], MLX5_SQC_STATE_RDY, in mlx5_hairpin_unpair_queues()
446 struct mlx5_core_dev *peer_mdev, in mlx5_core_hairpin_create() argument
[all …]
Den_tc.c676 struct mlx5_core_dev *func_mdev, *peer_mdev; in mlx5e_hairpin_create() local
686 peer_mdev = mlx5e_hairpin_get_mdev(dev_net(priv->netdev), peer_ifindex); in mlx5e_hairpin_create()
688 pair = mlx5_core_hairpin_create(func_mdev, peer_mdev, params); in mlx5e_hairpin_create()
761 dev_name(hpe->hp->pair->peer_mdev->device)); in mlx5e_hairpin_put()
815 struct mlx5_core_dev *peer_mdev; in mlx5e_hairpin_flow_add() local
824 peer_mdev = mlx5e_hairpin_get_mdev(dev_net(priv->netdev), peer_ifindex); in mlx5e_hairpin_flow_add()
825 if (!MLX5_CAP_GEN(priv->mdev, hairpin) || !MLX5_CAP_GEN(peer_mdev, hairpin)) { in mlx5e_hairpin_flow_add()
830 peer_id = MLX5_CAP_GEN(peer_mdev, vhca_id); in mlx5e_hairpin_flow_add()
896 dev_name(hp->pair->peer_mdev->device), in mlx5e_hairpin_flow_add()
5129 struct mlx5_core_dev *peer_mdev = peer_priv->mdev; in mlx5e_tc_hairpin_update_dead_peer() local
[all …]
/Linux-v5.10/include/linux/mlx5/
Dtransobj.h72 struct mlx5_core_dev *peer_mdev; member
84 struct mlx5_core_dev *peer_mdev,