[ovs-dev] [PATCH] packets: Un-inline functions needed by DDlog.

Ben Pfaff blp at ovn.org
Mon Oct 26 17:56:53 UTC 2020


On Mon, Oct 26, 2020 at 02:47:15PM +0530, Numan Siddique wrote:
> On Sat, Oct 24, 2020 at 4:38 AM Ben Pfaff <blp at ovn.org> wrote:
> >
> > From: Leonid Ryzhyk <lryzhyk at vmware.com>
> >
> > DDlog uses these functions from Rust, but Rust can't use inline
> > functions (since it doesn't compile C headers but only links
> > against a C-compatible ABI).  Thus, move the implementations
> > of these functions to a .c file.
> >
> > I don't think any of these functions is likely to be an
> > important part of a "fast path" in OVS, but if that's wrong,
> > then we could take another approach.
> >
> > Signed-off-by: Leonid Ryzhyk <lryzhyk at vmware.com>
> > Co-authored-by: Ben Pfaff <blp at ovn.org>
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> 
> Acked-by: Numan Siddique <numans at ovn.org>

Thanks!  Applied to master.


More information about the dev mailing list