<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 1/10/2019 12:34 AM, Ramzah Rehman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHaWn+EMHv_GnV44UBO+eh-wVmQR9WPC2XU3yfX70iD+EY6y_A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Thank you so much. I was able to add meter now
following <a
href="https://github.com/ebiken/doc-network/wiki/How-To:-Install-OVS-(Kernel-Module)-from-Source-Code"
moz-do-not-send="true">this link</a>.
<span style="color:rgb(0,0,0);font-size:14px">To build the
Linux kernel module, I had to configure with </span>
<span
style="color:rgb(0,0,0);font-family:monospace;font-size:14px;font-weight:700">--with-linux</span>
argument. Also, I had to delete the kernel's build-in
openvswitch.ko module present in: /lib/modules/<span
style="color:rgb(0,0,0);font-size:14px">$(uname -r)</span>/kernel/net/openvswitch
before loading the one from OVS source.<br>
</div>
</div>
</blockquote>
<br>
Deleting the built-in module is not necessary if you have built and
installed your out of tree kernel modules<br>
correctly.<br>
<br>
- Greg<br>
<br>
<blockquote type="cite"
cite="mid:CAHaWn+EMHv_GnV44UBO+eh-wVmQR9WPC2XU3yfX70iD+EY6y_A@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div><br>
</div>
Best Regards,
<div>Ramzah Rehman</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Jan 10, 2019 at 11:50 AM Justin Pettit
<<a href="mailto:jpettit.ovn@gmail.com"
moz-do-not-send="true">jpettit.ovn@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">You’ll need to consult your distro’s
documentation about how to load an out-of-tree kernel
module. There’s usually plenty of examples available
online.<br>
<br>
<div id="gmail-m_3902031590297325050AppleMailSignature"
dir="ltr">--Justin
<div><br>
</div>
</div>
<div dir="ltr"><br>
On Jan 9, 2019, at 10:41 PM, Ramzah Rehman <<a
href="mailto:ramzahrehman@gmail.com" target="_blank"
moz-do-not-send="true">ramzahrehman@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"
class="gmail-m_3902031590297325050gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div>I made sure while building that I use
the module that was built from OVS sources
by creating a config file as shown in
Building section here: <a
href="http://docs.openvswitch.org/en/latest/intro/install/general/"
target="_blank" moz-do-not-send="true">http://docs.openvswitch.org/en/latest/intro/install/general/</a> </div>
<div><br>
</div>
<div>What else should I do to use the module
from OVS sources? </div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Jan 10, 2019 at 11:33 AM Justin
Pettit <<a href="mailto:jpettit.ovn@gmail.com"
target="_blank" moz-do-not-send="true">jpettit.ovn@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="auto">That’s the version of
ovs-vswitchd—the userspace daemon that talks with
the kernel datapath.<br>
<br>
<div
id="gmail-m_3902031590297325050gmail-m_7256445724033690455AppleMailSignature"
dir="ltr">--Justin
<div><br>
</div>
</div>
<div dir="ltr"><br>
On Jan 9, 2019, at 10:17 PM, Ramzah Rehman <<a
href="mailto:ramzahrehman@gmail.com"
target="_blank" moz-do-not-send="true">ramzahrehman@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Alright. But I can find
ovs-vswitchd version like this:
<div><br>
</div>
<div>
<div> ovs-vswitchd --version</div>
<div>ovs-vswitchd (Open vSwitch) 2.10.90</div>
</div>
<div><br>
</div>
<div>Does this mean something?<br>
<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Jan 10, 2019 at 2:33
AM Justin Pettit <<a
href="mailto:jpettit@ovn.org"
target="_blank" moz-do-not-send="true">jpettit@ovn.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><br>
> On Jan 8, 2019, at 5:48 AM, Ramzah
Rehman <<a
href="mailto:ramzahrehman@gmail.com"
target="_blank" moz-do-not-send="true">ramzahrehman@gmail.com</a>>
wrote:<br>
> <br>
> ovs-vsctl list bridge br0<br>
> <br>
> _uuid :
bd776aad-3a88-4d38-a7a2-6be57723f04b<br>
> auto_attach : []<br>
> controller : []<br>
> datapath_id :
"0000ae6a77bd384d"<br>
> datapath_type : ""<br>
> datapath_version :
"<unknown>"<br>
<br>
I think this is indicating that you're not
using the just-built OVS kernel module.
The Linux built-in OVS kernel module
doesn't return a version, but the one
built from OVS sources would indicate the
version number of OVS that you built.<br>
<br>
--Justin<br>
<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a>
<a class="moz-txt-link-freetext" href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>