[ovs-dev] [PATCH 3/3] datapath: Do not fail to load on gre protocol conflict

Gregory Rose gvrose8192 at gmail.com
Tue Jun 5 16:34:10 UTC 2018

On 6/5/2018 9:07 AM, William Tu wrote:
> On Mon, Jun 4, 2018 at 1:14 PM, Greg Rose <gvrose8192 at gmail.com> wrote:
>> The ERSPAN feature depends on the gre kernel module so on systems where
>> the ERSPAN feature isn't supported the openvswitch kernel module would
>> attempt to grab the ipv4 GRE protocol entry point and would fail to load
>> if it could not.
>> This patch modifies openvswitch to not fail to load when the gre kernel
>> module is loaded and instead it will print a warning message to the
>> kernel system log indicating that the ERSPAN feature may not be
>> available.
>> We need this patch because users are experiencing failures due to the
>> conflicts and high priority bugs are resulting.
>> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
>> ---
> I read through the patch and look good to me.
> Acked-by: William Tu <u9012063 at gmail.com>

Thanks William.

After loading the ip_gre and gre kernel modules you can run a 'make 
check-kmod' test with those modules
loaded and the results look good as well.

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

101 tests were successful.
7 tests were skipped.
make[1]: Leaving directory '/home/roseg/prj/ovs-experimental/_build'
roseg at ubuntu-b2515:~/prj/ovs-experimental/_build$ lsmod | grep ip_gre
ip_gre                 20480  0
gre                    16384  1 ip_gre
ip_tunnel              28672  1 ip_gre

More information about the dev mailing list