[ovs-dev] [ovs-dev, PATCHv6] netdev-afxdp: add new netdev type for AF_XDP.

William Tu u9012063 at gmail.com
Tue Apr 30 16:25:25 UTC 2019


Thanks Ben and Eelco

On Tue, Apr 30, 2019 at 9:18 AM Eelco Chaudron <echaudro at redhat.com> wrote:

>
>
> On 30 Apr 2019, at 18:10, Ben Pfaff wrote:
>
> > On 25.04.2019 2:47, William Tu wrote:
> >> +#define unlikely OVS_UNLIKELY
> >> +#define likely OVS_LIKELY
> >> +#define barrier() __asm__ __volatile__("": : :"memory")
> >> +#define smp_rmb() barrier()
> >> +#define smp_wmb() barrier()
> >
> > Does any of this mean we're cutting and pasting Linux kernel code into
> > OVS userspace?  I hope not.  That is a bad idea for licensing reasons.
>
> I think this got fixed with the following kernel patches:
>
> https://www.spinics.net/lists/netdev/msg563507.html


I did cut/paste some kernel code in my previous versions.
I think this version is OK, will double check in my next version.

Regards,
William


More information about the dev mailing list