On Tue, Dec 06, 2016 at 09:46:04AM -0800, Pravin Shelar wrote:
> > lib/dpif-netlink.c | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
> > index 0d03334..2286c3e 100644
> > --- a/lib/dpif-netlink.c
> > +++ b/lib/dpif-netlink.c
> > @@ -1062,6 +1062,9 @@ dpif_netlink_port_query__(const struct dpif_netlink
> > *dpif, odp_port_t port_no,
> > static int
> > dpif_netlink_port_create(struct netdev *netdev)
> > {
> > +#ifndef USE_UPSTREAM_TUNNEL
> > + return EOPNOTSUPP;
> > +#else
> We can not use USE_UPSTREAM_TUNNEL macro symbol in userspace. The
> vswitchd should not be tied to specific kernel version.
>
Pravin, can you help point out how we can do this better? Frankly
speaking, I don't know how to do this without such macro help, maybe
it is best to use some code to dynamically detect, but I don't know
how to implement this, I hope to get your guide about this.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev