Displaying 1 result from an estimated 1 matches for "queue_link_work".
2023 Apr 03
0
[Patch v3] vdpa/mlx5: Avoid losing link state updates
...; flush_workqueue();
> >
> > which has been done in unregister_link_notifier().
> >
> >> + ndev->config_cb.callback(ndev->config_cb.private);
> >> +
> >> + kfree(wqent);
> >> +}
> >> +
> >> +static int queue_link_work(struct mlx5_vdpa_net *ndev)
> >> +{
> >> + struct mlx5_vdpa_wq_ent *wqent;
> >> +
> >> + wqent = kzalloc(sizeof(*wqent), GFP_ATOMIC);
> >> + if (!wqent)
> >> + return -ENOMEM;
> >> +
> >> +...