[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ3xEMi5fPCd=v2UJN0CZB5948WpDuBm25rGW4yP6-q_QF31nw@mail.gmail.com>
Date: Fri, 13 Nov 2015 16:46:22 +0200
From: Or Gerlitz <gerlitz.or@...il.com>
To: Joe Stringer <joestringer@...ira.com>
Cc: Jesse Gross <jesse@...nel.org>, Or Gerlitz <ogerlitz@...lanox.com>,
Jesse Gross <jesse@...ira.com>,
Haggai Eran <haggaie@...lanox.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Ilya Lesokhin <ilyal@...lanox.com>,
Rony Efraim <ronye@...lanox.com>,
Hadar Hen Zion <hadarh@...lanox.com>
Subject: Re: OVS VXLAN decap rule has full match on TTL for the outer headers?
On Fri, Nov 13, 2015 at 10:14 AM, Joe Stringer <joestringer@...ira.com> wrote:
> I don't follow the logic. You observed one flow which matched on
> TTL=64, therefore all vxlan packets terminated at OVS have TTL=64?
> If OVS received packets with different TTLs, they would miss and
> ovs-vswitchd would generate flows to match that traffic too.
ok, that makes things a bit better, but (see next)
> If that becomes an issue, presumably the wildcard generation can be improved.
is there a deep reason for vlxan "learned flows" to actually match w
or w.o wild cards on TTLs?? for non-tunneled flow I don't see this
happening.
> I agree that this UNSPEC issue on v2.3 could do with a bit of a closer
> look. I'll see if I can find some time for it. Alternatively if you're
> willing and have bandwith, I'd be curious if it's related to the
> masked set field feature introduced in Linux-4.0.
so what would you suggest here? run with 3.19 or earlier?
> In this case it looks like you created the datapath using a newer
> version of the userspace utilities, then without deleting the
> datapath, attempted to reuse the datapath with an older version of the
> userspace utilities. This is fine, but it warns you because it drops
> particular user features which the newer userspace supported (because
> the older userspace doesn't support them). Sure, it's not the most
> graceful, but it doesn't look fatal in and of itself. Comment from the
> code below for context:
>
> /* An outdated user space instance that does not understand
> * the concept of user_features has attempted to create a new
> * datapath and is likely to reuse it. Drop all user features.
> */
thanks for the clarification/s, yes, I tried few user-space versions
one after the other, possibly w.o deleting the datapath
>> So I now moved to 2.4.0, and things aren't much better... can you give
>> a quick try on
>> your systems for upstream kernel against upstream OVS w.r.t to simple
>> VXLAN config?
> What do you mean by "not much better"? Do you mean that you still
> observe one of the above three issues, or you see a different issue?
> In particular I'd be curious if you observe the UNSPEC issue.
I mean this is printed by ovs-dpctl dump-flows for the encap rule
recirc_id(0),in_port(3),eth(src=02:d3:6e:35:59:35,dst=9e:1e:90:87:27:1a),eth_type(0x0800),ipv4(tos=0/0x3,frag=no),
packets:111, bytes:10878, used:0.569s, actions:set(unspec(bad key
length 8, expected 0)(00 00 00 00 00 00 00 62)),2
Or.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists