Lines Matching refs:pfmdev
2135 struct mlx5_core_dev *pfmdev; in handle_ctrl_mac() local
2139 pfmdev = pci_get_drvdata(pci_physfn(mvdev->mdev->pdev)); in handle_ctrl_mac()
2155 if (mlx5_mpfs_del_mac(pfmdev, ndev->config.mac)) { in handle_ctrl_mac()
2162 if (mlx5_mpfs_add_mac(pfmdev, mac)) { in handle_ctrl_mac()
2191 if (mlx5_mpfs_del_mac(pfmdev, ndev->config.mac)) { in handle_ctrl_mac()
2196 if (mlx5_mpfs_add_mac(pfmdev, mac_back)) { in handle_ctrl_mac()
3430 struct mlx5_core_dev *pfmdev; in mlx5_vdpa_free() local
3441 pfmdev = pci_get_drvdata(pci_physfn(mvdev->mdev->pdev)); in mlx5_vdpa_free()
3442 mlx5_mpfs_del_mac(pfmdev, ndev->config.mac); in mlx5_vdpa_free()
3823 struct mlx5_core_dev *pfmdev; in mlx5_vdpa_dev_add() local
3933 pfmdev = pci_get_drvdata(pci_physfn(mdev->pdev)); in mlx5_vdpa_dev_add()
3934 err = mlx5_mpfs_add_mac(pfmdev, config->mac); in mlx5_vdpa_dev_add()
4042 struct mlx5_core_dev *pfmdev; in mlx5_vdpa_set_attr() local
4055 pfmdev = pci_get_drvdata(pci_physfn(mdev->pdev)); in mlx5_vdpa_set_attr()
4056 err = mlx5_mpfs_add_mac(pfmdev, config->mac); in mlx5_vdpa_set_attr()