On Wed, Jun 26, 2019 at 10:37:49AM -0300, Flavio Leitner via dev wrote:
>
> Hi William,
>
> On Thu, Jun 20, 2019 at 11:00:56AM -0700, William Tu wrote:
> > The patch adds the basic spin lock functions:
> > ovs_spin_{lock, try_lock, unlock, init, destroy}.
> > I have some use cases using af_xdp, patches will
> > come later.
>
> Usually the new API is merged along with an user otherwise
> it is difficult to evaluate what is really needed and etc...
>
> It also avoids the issue of having to maintain dead code if
> the API's user never comes or gets merged for whatever reason.
>
> Does that make sense to you?
It'd make sense to make this an early patch in a series for AF_XDP, if
AF_XDP uses it.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev