Dear all, Where to find the definition of ³struck ovsrec_bridge²?
Thanks Kai On 9/6/16, 6:20 PM, "discuss on behalf of discuss-requ...@openvswitch.org" <discuss-boun...@openvswitch.org on behalf of discuss-requ...@openvswitch.org> wrote: >Send discuss mailing list submissions to > discuss@openvswitch.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://openvswitch.org/mailman/listinfo/discuss >or, via email, send a message with subject or body 'help' to > discuss-requ...@openvswitch.org > >You can reach the person managing the list at > discuss-ow...@openvswitch.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of discuss digest..." > > >Today's Topics: > > 1. Implementing a custom packet scheduler (Sergio Gutierrez) > 2. Re: Implementing a custom packet scheduler (Ben Pfaff) > 3. Re: Allow fdb to be overwritten / Getting carp to work with > ovs (Fredrik Dahlberg) > 4. Multiqueue with dpdk ports (Kapil Adhikesavalu) > 5. Missing configuration files linux kernel (Silvia Fichera) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Mon, 5 Sep 2016 16:44:09 -0300 >From: Sergio Gutierrez <sag...@gmail.com> >To: discuss@openvswitch.org >Subject: [ovs-discuss] Implementing a custom packet scheduler >Message-ID: > <cao7dj-fjs7gerphi2olz44ktfz+ynnedxpkicixolp4gd1o...@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >Hello all. > >I am new to Openvswitch coding and development. I am interested in >implementing a custom mechanism for packet scheduling. Thus, I would like >to know what would be the right starting point to study the code in order >to implement that. > >Thanks in advance for any help. > >Best regards. > >-- >Sergio Gutiérrez >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: ><http://openvswitch.org/pipermail/discuss/attachments/20160905/2981f07f/at >tachment-0001.html> > >------------------------------ > >Message: 2 >Date: Mon, 5 Sep 2016 15:48:49 -0700 >From: Ben Pfaff <b...@ovn.org> >To: Sergio Gutierrez <sag...@gmail.com> >Cc: discuss@openvswitch.org >Subject: Re: [ovs-discuss] Implementing a custom packet scheduler >Message-ID: <20160905224849.gc16...@ovn.org> >Content-Type: text/plain; charset=us-ascii > >On Mon, Sep 05, 2016 at 04:44:09PM -0300, Sergio Gutierrez wrote: >> I am new to Openvswitch coding and development. I am interested in >> implementing a custom mechanism for packet scheduling. Thus, I would >>like >> to know what would be the right starting point to study the code in >>order >> to implement that. > >If you want it to work with the Linux kernel datapath, then you should >create a Linux kernel qdisc that implements the policy that you want. > > >------------------------------ > >Message: 3 >Date: Tue, 6 Sep 2016 11:50:13 +0200 >From: Fredrik Dahlberg <draban...@gmail.com> >To: Ben Pfaff <b...@ovn.org> >Cc: discuss@openvswitch.org >Subject: Re: [ovs-discuss] Allow fdb to be overwritten / Getting carp > to work with ovs >Message-ID: > <calyje0a+uau58uu1bezg4hpwhgusrxnbyxyot2dgm3ibaqq...@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >On Mon, Sep 5, 2016 at 5:33 AM Ben Pfaff <b...@ovn.org> wrote: > >> On Sun, Sep 04, 2016 at 07:12:43PM +0000, Fredrik Dahlberg wrote: >> > I am trying to get carp to work with ovs(2.5.0, ubuntu 16.04). >> > >> > Carp is set up with the same mac address on the carp interfaces, >>trying >> to >> > determine who is master like this: >> > 20:55:56.326841 00:00:5e:00:01:19 (oui Unknown) > 01:00:5e:00:00:12 >>(oui >> > Unknown), ethertype IPv4 (0x0800), length 70: 192.168.43.2 > >> vrrp.mcast.net: >> > CARPv2-advertise 36: vhid=25 advbase=1 advskew=50 authlen=7 >> > counter=4581652178833997382 >> > 20:55:56.382550 00:00:5e:00:01:19 (oui Unknown) > 01:00:5e:00:00:12 >>(oui >> > Unknown), ethertype IPv4 (0x0800), length 70: 192.168.43.4 > >> vrrp.mcast.net: >> > CARPv2-advertise 36: vhid=25 advbase=1 advskew=100 authlen=7 >> > counter=11630556296063315122 >> > (The difference in advskew here shows they are different sources.) >> > >> > However, ovs won't let any frames through if they arrive on the >>"wrong" >> > port according to the fdb. When sniffing on the bridge I can only see >> > packets from the source that started first. This easily leads to a >> > situation where I end up with multiple carp masters, and even if it >> didn't, >> > we have to wait for the entry in the fdb to time out before the new >> master >> > is visible to the network. >> > >> > Any suggestions on how to solve this? Any way to allow frames on the >> > "wrong" port to update the fdb? >> >> I don't understand what you mean by the "wrong" port. Open vSwitch >> implements a conventional MAC learning algorithm. What's carp trying to >> do, and why doesn't it work with MAC learning? >> > >As far as I have learned, normally a switch will behave like this: If it >receives a packet on a certain port, it will learn that the source mac >address resides on that port, and send packets destined for that mac out >only on that port. If it receives a packet from the same mac address on a >different port, it will update what it has learned and start sending out >packets destined for that mac address on the new port. Ovs however, at >least in my installation, will not update the mac address table when it >receives a packet from a mac address it has already learn, instead >dropping >that packet. > >Since carp uses the same mac address on different hosts, I can't get it to >work over ovs. The host that starts announcing itself first will get >learned by ovs, and the other one will just have it's packets dropped, >leading to a situation where one of them can't see the other. One solution >would be if it was possible to make ovs behave more like a normal switch >and update the mac addresses instead of dropping the packets. > >Thanks, >Fredrik >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: ><http://openvswitch.org/pipermail/discuss/attachments/20160906/a55f5665/at >tachment-0001.html> > >------------------------------ > >Message: 4 >Date: Tue, 6 Sep 2016 15:49:02 +0530 >From: Kapil Adhikesavalu <kapil20...@gmail.com> >To: d...@openvswitch.org, discuss@openvswitch.org >Subject: [ovs-discuss] Multiqueue with dpdk ports >Message-ID: > <caau6prehofzo08omdbad939kmebfnhdcbvg_8amcw4pj_8c...@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >Hello, > >OVS + DPDK provides a way to configure multiqueue for dpdk ports (in turn >vhost user ports as well). > > ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=c > ovs-vsctl set Interface dpdk0 options:n_rxq=2 > ovs-vsctl set Interface dpdk1 options:n_rxq=2 > >Based on what parameter, the packets received on dpdk port will be split >across these queues. Something like MAC/IP ? is it static or >configurable.? > >I am looking to find whether the Rx queues can be configured to receive a >specific type of packets alone? control, data packets having separate >queues. > >Regards >Kapil. >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: ><http://openvswitch.org/pipermail/discuss/attachments/20160906/8b99185b/at >tachment-0001.html> > >------------------------------ > >Message: 5 >Date: Tue, 6 Sep 2016 12:19:59 +0200 >From: Silvia Fichera <fichera....@gmail.com> >To: discuss@openvswitch.org >Subject: [ovs-discuss] Missing configuration files linux kernel >Message-ID: > <CAEFdjR05VWPJRT8rTn1OgUgsM1p=fwixsmgfwvsv3o7l_mh...@mail.gmail.com> >Content-Type: text/plain; charset="utf-8" > >Hi all, >I want to install ovs 2.5.0 on ubuntu server 14.04. Since the original >kernel was 4.4.0-31-generic I have manually downgraded the linux kernel > >uname -r >4.3.0-040300-generic > > >But when I do >./configure --with-linux=/lib/modules/`uname -r`/build > >it seems that some files are missing and some files don't match the >requirements >(e.g., >checking whether openvswitch_handle_frame_hook matches in >/lib/modules/4.3.0-040300-generic/build/include/linux/openvswitch.h... no >checking whether el6 matches in >/lib/modules/4.3.0-040300-generic/build/include/linux/utsrelease.h... file >not found >) > >When I do >make modules_install > >I have few errors related to SSL: > >make[1]: Entering directory `/home/c1/openvswitch-2.5.0/datapath/linux' >make -C /lib/modules/4.3.0-040300-generic/build >M=/home/c1/openvswitch-2.5.0/datapath/linux modules_install >make[2]: Entering directory `/usr/src/linux-headers-4.3.0-040300-generic' > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/openvswitch.ko >At main.c:222: >- SSL error:02001002:system library:fopen:No such file or directory: >bss_file.c:169 >- SSL error:2006D080:BIO routines:BIO_new_file:no such file: >bss_file.c:172 >sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-geneve.ko >At main.c:222: >- SSL error:02001002:system library:fopen:No such file or directory: >bss_file.c:169 >- SSL error:2006D080:BIO routines:BIO_new_file:no such file: >bss_file.c:172 >sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-gre.ko >At main.c:222: >- SSL error:02001002:system library:fopen:No such file or directory: >bss_file.c:169 >- SSL error:2006D080:BIO routines:BIO_new_file:no such file: >bss_file.c:172 >sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-lisp.ko >At main.c:222: >- SSL error:02001002:system library:fopen:No such file or directory: >bss_file.c:169 >- SSL error:2006D080:BIO routines:BIO_new_file:no such file: >bss_file.c:172 >sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-stt.ko >At main.c:222: >- SSL error:02001002:system library:fopen:No such file or directory: >bss_file.c:169 >- SSL error:2006D080:BIO routines:BIO_new_file:no such file: >bss_file.c:172 >sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-vxlan.ko >At main.c:222: >- SSL error:02001002:system library:fopen:No such file or directory: >bss_file.c:169 >- SSL error:2006D080:BIO routines:BIO_new_file:no such file: >bss_file.c:172 >sign-file: certs/signing_key.pem: No such file or directory > DEPMOD 4.3.0-040300-generic >make[2]: Leaving directory `/usr/src/linux-headers-4.3.0-040300-generic' >depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' >/lib/modules/4.3.0-040300-generic/build/include/generated/utsrelease.h` >make[1]: Leaving directory `/home/c1/openvswitch-2.5.0/datapath/linux' > > >and > >rmmod openvswitch >rmmod: ERROR: Module openvswitch is not currently loaded > >It is the first time that I have kernel problems. Can someone help me? >Thanks > >Silvia > >-- >Silvia Fichera >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: ><http://openvswitch.org/pipermail/discuss/attachments/20160906/465f5f22/at >tachment.html> > >------------------------------ > >Subject: Digest Footer > >_______________________________________________ >discuss mailing list >discuss@openvswitch.org >http://openvswitch.org/mailman/listinfo/discuss > > >------------------------------ > >End of discuss Digest, Vol 87, Issue 9 >************************************** _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss