[ovs-dev] [PATCHv5] tunnel: Add layer 2 IPv6 GRE encapsulation support.

Gregory Rose gvrose8192 at gmail.com
Mon Jul 1 22:51:06 UTC 2019


On 7/1/2019 3:29 PM, William Tu wrote:
> On Mon, Jul 1, 2019 at 3:10 PM Gregory Rose <gvrose8192 at gmail.com> wrote:
>>
>>
>> On 7/1/2019 12:45 PM, William Tu wrote:
>>> The patch adds ip6gre support. Tunnel type 'ip6gre' with packet_type=
>>> legacy_l2 is a layer 2 GRE tunnel over IPv6, carrying inner ethernet packets
>>> and encap with GRE header with outer IPv6 header.  Encapsulation of layer 3
>>> packet over IPv6 GRE, ip6gre, is not supported yet.  I tested it by running:
>>>     # make check-kernel TESTSUITEFLAGS='-k ip6gre'
>>> under kernel 5.2 and for userspace:
>> Hi William,
>>
>> I tried this on a system with the 5.2-rc5+ kernel and got the following
>> results:
>>
>> ## ------------------------------- ##
>> ## openvswitch 2.11.90 test suite. ##
>> ## ------------------------------- ##
>>    12: datapath - ping over ip6gre L2 tunnel           skipped
>> (system-traffic.at:344)
>>
>> ## ------------- ##
>> ## Test results. ##
>> ## ------------- ##
>>
>> 0 tests were successful.
>> 1 test was skipped.
>>
>> This is on a Ubuntu 16.04 distro with the upstream kernel installed.
>> What system/distro base did you use?
>>
>> Thanks,
>>
>> - Greg
>>
> I tested it on ubuntu using kernel 5.2.0-rc5+
> I run
> #make check-kernel TESTSUITEFLAGS='-k ip6gre'
>
> and it works OK, not being skipped by
> macro OVS_CHECK_KERNEL_EXCL(3, 10, 4, 15)
>
> William

I see what happened, I recently ran an update on the system and it 
overwrote my iproute2/ip I built from upstream so the kernel check was 
failing because of the wrong ip program.

Works fine now.

"$@" -k ip6gre -j1 || (test X'' = Xyes && "$@" --recheck)
## ------------------------------- ##
## openvswitch 2.11.90 test suite. ##
## ------------------------------- ##
  12: datapath - ping over ip6gre L2 tunnel           ok

## ------------- ##
## Test results. ##
## ------------- ##

1 test was successful.

Sorry for the confusion...

I'm running a few other tests and review but should be done by tomorrow.

Thanks!

- Greg


More information about the dev mailing list