search for: mlx5_vdpa_remove_debugfs

Displaying 2 results from an estimated 2 matches for "mlx5_vdpa_remove_debugfs".

2023 Mar 17
0
[PATCH] vdpa/mlx5: Remove debugfs file after device unregister
...x5/net/mlx5_vnet.c > +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c > @@ -3322,8 +3322,6 @@ static void mlx5_vdpa_dev_del(struct vdpa_mgmt_dev *v_mdev, struct vdpa_device * > struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); > struct workqueue_struct *wq; > > - mlx5_vdpa_remove_debugfs(ndev->debugfs); > - ndev->debugfs = NULL; > if (ndev->nb_registered) { > ndev->nb_registered = false; > mlx5_notifier_unregister(mvdev->mdev, &ndev->nb); > @@ -3332,6 +3330,8 @@ static void mlx5_vdpa_dev_del(struct v...
2023 Apr 03
0
[Patch v3] vdpa/mlx5: Avoid losing link state updates
...= &mgtdev->mgtdev; > >> err = _vdpa_register_device(&mvdev->vdev, max_vqs + 1); > >> if (err) > >> @@ -3318,10 +3345,7 @@ static void mlx5_vdpa_dev_del(struct vdpa_mgmt_dev *v_mdev, struct vdpa_device * > >> > >> mlx5_vdpa_remove_debugfs(ndev->debugfs); > >> ndev->debugfs = NULL; > >> - if (ndev->nb_registered) { > >> - ndev->nb_registered = false; > >> - mlx5_notifier_unregister(mvdev->mdev, &ndev->nb); > >> - } >...