Re: [ovs-discuss] how to make ovs2.13 with dpdk19.11(which is compiled by meson)

2021-12-09 Thread taoyunupt
在 2021-12-08 22:47:19,"Ilya Maximets" 写道: >On 12/8/21 14:30, taoyunupt wrote: >> At 2021-12-07 21:32:32, "Ilya Maximets" wrote: >>>On 12/7/21 13:52, taoyunupt wrote: >>>> Thanks Ilya, you are right, it works. I missed lib

Re: [ovs-discuss] how to make ovs2.13 with dpdk19.11(which is compiled by meson)

2021-12-07 Thread taoyunupt
works well. It is weird. Hope to get your advice. Thanks, YUN At 2021-12-06 22:18:01, "Ilya Maximets" wrote: >On 12/6/21 14:09, taoyunupt wrote: >> Hi ben and Ilya, >> I meet some compile error, hope to get your advice. >> My OS is c

[ovs-discuss] how to make ovs2.13 with dpdk19.11(which is compiled by meson)

2021-12-06 Thread taoyunupt
Hi ben and Ilya, I meet some compile error, hope to get your advice. My OS is centos7.6,kernel version is 3.10.0-957.el7.x86_64, in X86 arch. I compiled dpdk19.11 by meson , and it seems work, the compiled lib stays in /usr/local/lin64. When I compile DPDK lib with OVS by

[ovs-discuss] some question about csum

2021-08-08 Thread taoyunupt
Hi, I read some code of ovs-dpdk about packet RX ,such as dp_netdev_process_rxq_port . It seems that ovs does NOT do L3/L4 cusm, although the physical dev does not support NETDEV_RX_CHECKSUM_OFFLOAD. Is my understanding is right , and if no checksum , how to resolve the wrong

[ovs-discuss] How to use masked_set_action?

2021-07-13 Thread taoyunupt
Hi, I found some info from vswitch.xml,it says "Masked data can improve performance by allowing megaflows to match on fewer fields." I do not know What kinds of flow atcion will use 'masked_set_action'. Can you give some demo flows and situation? Thanks,

Re: [ovs-discuss] Discussion on the logical rationality of flow-limit

2021-05-11 Thread taoyunupt
second of Apache benchmark can reach 12k from 5k, the test command is as follows: ab -n 20 -c 500 -r http://1.1.1.2/ Thanks, Yun 在 2021-05-07 00:50:06,"Ben Pfaff" 写道: >On Thu, May 06, 2021 at 09:58:57AM +0800, taoyunupt wrote: >> 在 2021-05-06 03:26

Re: [ovs-discuss] Discussion on the logical rationality of flow-limit

2021-05-06 Thread taoyunupt
在 2021-05-07 00:50:06,"Ben Pfaff" 写道: >On Thu, May 06, 2021 at 09:58:57AM +0800, taoyunupt wrote: >> 在 2021-05-06 03:26:46,"Ben Pfaff" 写道: >> >> >On Fri, Apr 30, 2021 at 06:10:43PM +0800, taoyunupt wrote: >> >> >> >> &g

Re: [ovs-discuss] Discussion on the logical rationality of flow-limit

2021-05-05 Thread taoyunupt
在 2021-05-06 03:26:46,"Ben Pfaff" 写道: >On Fri, Apr 30, 2021 at 06:10:43PM +0800, taoyunupt wrote: >> >> >> >> At 2021-04-29 06:39:11, "Ben Pfaff" wrote: >> >On Wed, Apr 28, 2021 at 08:12:06PM +0800, taoyunupt wrote: >> >>

Re: [ovs-discuss] Discussion on the logical rationality of flow-limit

2021-04-30 Thread taoyunupt
At 2021-04-29 06:39:11, "Ben Pfaff" wrote: >On Wed, Apr 28, 2021 at 08:12:06PM +0800, taoyunupt wrote: >> Hi, >> Recently I encountered a TCP connection performance problem, the test >> tool is Apache benchmark. >> The OVS in my environment

[ovs-discuss] Discussion on the logical rationality of flow-limit

2021-04-28 Thread taoyunupt
Hi, Recently I encountered a TCP connection performance problem, the test tool is Apache benchmark. The OVS in my environment is set for hardware offload solution. The "Requests per second" is about 6000/s, it closed to non-offload solution. "flow-lmit" has a dynamic

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-31 Thread taoyunupt
I think it is useful, I will summit a commit today. At 2021-01-29 16:38:15, "Numan Siddique" wrote: >On Fri, Jan 29, 2021 at 5:31 AM Ben Pfaff wrote: >> >> On Thu, Jan 28, 2021 at 09:57:49AM +0800, taoyunupt wrote: >> > At 2021-01-28 09:29:45

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-28 Thread taoyunupt
I see. Thanks for your reply. Yun At 2021-01-29 08:01:06, "Ben Pfaff" wrote: >On Thu, Jan 28, 2021 at 09:57:49AM +0800, taoyunupt wrote: >> At 2021-01-28 09:29:45, "Ben Pfaff" wrote: >> >On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrot

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-27 Thread taoyunupt
At 2021-01-28 09:29:45, "Ben Pfaff" wrote: >On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrote: >> Hi, >> If no configure of "datapath-id" in other_config of br, then it will >> choose the minimum non-local MAC address among all of t

[ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-27 Thread taoyunupt
Hi, If no configure of "datapath-id" in other_config of br, then it will choose the minimum non-local MAC address among all of the ports in bridge. The relevant code is in the find_local_hw_addr function(https://github.com/openvswitch/ovs/blob/master/vswitchd/bridge.c#L2322).

Re: [ovs-discuss] [OVN] How to use ovn-controller-vtep

2020-04-23 Thread taoyunupt
ing "unknow" address for the lsp of l2gw, to direct all traffic from logical switch to VLAN network. I had spent much time to find this problem, other people will meet it ethier. Regards, Yun At 2020-04-01 18:49:12, "Numan Siddique" wrote: >On Wed, Apr 1, 2020

Re: [ovs-discuss] [OVN] How to use ovn-controller-vtep

2020-04-01 Thread taoyunupt
Hi,Numan, I am glad to do this. I will review the patch and test it in my server. If has any points , I will connect to you. Regards, Yun At 2020-04-01 01:50:33, "Numan Siddique" wrote: >On Tue, Mar 31, 2020 at 6:53 PM taoyunupt wrote: >> >> HI,Numa

Re: [ovs-discuss] [OVN] How to use ovn-controller-vtep

2020-03-31 Thread taoyunupt
HI,Numan Please ignore this e-mail, I have got the point. I have some misunderstanding for test case before. Thanks again for your advice again. Regards, Yun 在 2020-03-31 16:44:56,"taoyunupt" 写道: Hi, Numan Thanks for your reply, the documnets you mentioned

Re: [ovs-discuss] [OVN] How to use ovn-controller-vtep

2020-03-31 Thread taoyunupt
Thanks, Yun At 2020-03-30 21:00:16, "Numan Siddique" wrote: >On Mon, Mar 30, 2020 at 4:33 PM taoyunupt wrote: >> >> Hi, >> I have installed and started the service of ovn-controller-vtep, but I >> don't know how to connect ovn-northd by configurati

[ovs-discuss] [OVN] How to use ovn-controller-vtep

2020-03-30 Thread taoyunupt
Hi, I have installed and started the service of ovn-controller-vtep, but I don't know how to connect ovn-northd by configuration, and how to use ovn-controller-vtep. Do we have some guideline or help file? Thanks, Yun___ discuss mailing

Re: [ovs-discuss] [OVN] How to set inactivity_probe between members in RAFT cluster

2020-02-08 Thread taoyunupt
43/6644 port. If you can explain in more detail it would be great. Thanks very much. regards, Yun 在 2020-02-08 16:40:08,"aginwala" 写道: On Fri, Feb 7, 2020 at 6:26 PM taoyunupt wrote: Hi,Aliasgar, Maybe I need to tell you the way how I deployed

Re: [ovs-discuss] [OVN] How to set inactivity_probe between members in RAFT cluster

2020-02-07 Thread taoyunupt
orthd-sb-db=tcp:192.5.0.8:6642,tcp:192.5.0.9:6642,tcp:192.5.0.10:6642" 3.Third step to start cluster Execute the following command to start the cluster #systemctl restart openvswitch ovn-northd Regards, Yun 在 2020-02-07 22:4

Re: [ovs-discuss] [OVN] How to set inactivity_probe between members in RAFT cluster

2020-02-07 Thread taoyunupt
! To tune the election timer for raft on say nb db, you can tune with below command: ovs-appctl -t /var/run/openvswitch/ovnnb_db.ctl cluster/change-election-timer OVN_Northbound You can run similar settings for sb db for tuning the value On Wed, Feb 5, 2020 at 4:00 AM taoyunupt wrote: Hi,Nu

[ovs-discuss] [OVN] How to set inactivity_probe between members in RAFT cluster

2020-02-05 Thread taoyunupt
Hi,Numan, I happend the problem that there are frequently elections in RAFT cluster members . I think it was cause by the not good connection between members of RARF cluster. As the log shows. Becase the output of "ovn-sbctl get-connection" is none in RAFT

Re: [ovs-discuss] [ovs-dev] [OVN][RAFT] Follower refusing new entries from leader

2019-11-29 Thread taoyunupt
Hi,Han Hope to receive your reply. Thanks, Yun 在 2019-11-28 16:17:07,"taoyunupt" 写道: Hi,Han Another question. NO COMPACT. If restart a follower , leader sender some entries during the break time, when it has started, if it also happend to this prob

Re: [ovs-discuss] [ovs-dev] [OVN][RAFT] Follower refusing new entries from leader

2019-11-28 Thread taoyunupt
,"taoyunupt" 写道: Hi,Han Thanks for your reply. I think maybe we can disconnect the failed follower from the Haproxy then synchronize the date, after all completed, reconnect it to Haproxy again. But I do not know how to synchronize actually. It is just my naive id

Re: [ovs-discuss] [ovs-dev] [OVN][RAFT] Follower refusing new entries from leader

2019-11-27 Thread taoyunupt
suggestion about how to fix this problem. If not very completed, I wii have a try. Thanks Yun 在 2019-11-28 11:47:55,"Han Zhou" 写道: On Wed, Nov 27, 2019 at 7:22 PM taoyunupt wrote: > > Hi, > My OVN cluster has 3 OVN-northd nodes, They are proxied by Haproxy with a

[ovs-discuss] [ovs-dev] [OVN][RAFT] Follower refusing new entries from leader

2019-11-27 Thread taoyunupt
Hi, My OVN cluster has 3 OVN-northd nodes, They are proxied by Haproxy with a VIP. Recently, I restart OVN cluster frequently. One of the members report the logs below. After read the code and paper of RAFT, it seems normal process ,If the follower does not find an entry in its log

Re: [ovs-discuss] [ovs-dev] [OVN][RAFT]Why left server cannot be added back to

2019-11-05 Thread taoyunupt
server could be back to origin server, it will be a easy solution to solve many strange problems. Thanks, Yun At 2019-11-06 05:31:25, "Ben Pfaff" wrote: >On Tue, Nov 05, 2019 at 08:10:41PM +0800, taoyunupt wrote: >> Hi,Numan, >> When I run OVN/RAFT

[ovs-discuss] [OVN][RAFT]Why left server cannot be added back to

2019-11-05 Thread taoyunupt
Hi,Numan, When I run OVN/RAFT cluster, I found a server(which initiative to leave or be kicked off ) ,cannot be added back to origin cluster. I found the code as following, can you tell me the reason , many thanks! case RAFT_REC_NOTE: if (!strcmp(r->note, "left"))

[ovs-discuss] [OVN] Dose OVN support service chain?

2019-10-23 Thread taoyunupt
HI,numan, I am happend to read some material about SFC of OVN, but I can not find related tables in OVS/OVN 2.10 ,such as "Service Chain ","Logical_Port_Chain". Does OVN still support service chain now ? Thanks, Yun___ discuss mailing

Re: [ovs-discuss] [OVN] Does OVN support connection from one router by another

2019-09-03 Thread taoyunupt
-net4(192.168.4.1)--tyx-net4(192.168.4.7)---tyx-router-ext4---tyx-net5---vm3(92.168.5.28 ) Thanks, Yun At 2019-08-29 17:21:17, "taoyunupt" wrote: Hi,Numan, Thanks for you reply. This is the print of "ovn-nbctl show" switch 508ad343-913e-4a

Re: [ovs-discuss] [OVN] Does OVN support connection from one router by another

2019-08-29 Thread taoyunupt
2.174.27" logical ip: "192.168.3.0/24" type: "snat" 在 2019-08-29 14:23:05,"Numan Siddique" 写道: Hi Yun, It is supported. From the ovn-trace, looks like it is getting dropped because of ACL rules. Can you share output of "ovn

[ovs-discuss] [OVN] Does OVN support connection from one router by another

2019-08-29 Thread taoyunupt
Hi, I try this feature by OVN/OVS 2.10 with OpenStack(Rocky), but failed. I have config static route for two routers. The topology is as the following. The static route for tyx-router3 is {"destination": "192.168.5.0/24", "nexthop": "192.168.4.7"} , for tyx-router4 is {"destination":

Re: [ovs-discuss] [OVN] HA about OVN DB servers

2019-08-08 Thread taoyunupt
DB OVN DB OVN DB Thanks, Yun 在 2019-08-07 22:46:39,"Numan Siddique" 写道: On Wed, Aug 7, 2019 at 3:04 PM taoyunupt wrote: Hi,Numan,Lucas, Does OVN support that one Northbound DB associa

[ovs-discuss] [OVN] HA about OVN DB servers

2019-08-07 Thread taoyunupt
Hi,Numan,Lucas, Does OVN support that one Northbound DB associated server Southbound DBs, to overcome performance bottleneck of Southbound DB.The frame just as the following pic. What is the plan of multi-master cluster of OVN DB servers?

Re: [ovs-discuss] [ovn-loadbalance]Not all subnets can connect to vip (taoyunupt)

2019-06-19 Thread taoyunupt
hi, Shetty , we have meet a problem with ovn/load-balancer , which has described as bellow, hope to have your suggestions. Thanks. yun At 2019-06-19 16:03:01, "txfh2007" wrote: >Hi tao: >I have studied this situation for a time, and met almost same problem. I > have

[ovs-discuss] [ovn-loadbalance]Not all subnets can connect to vip

2019-06-18 Thread taoyunupt
Hi, I have deployed ovn with openstack/octavia. I have four subnets,that are 192.168.1.0, 192.168.2.0, 192.168.3.0, 192.168.4.0, which are added to a logical router. vips : {"192.168.1.8:22"="192.168.1.2:22,192.168.2.2:22,192.168.3.2:22"} I found that if I

[ovs-discuss] Can not connect vip by octavia/ovn

2019-06-10 Thread taoyunupt
hi,nusiddiq, I have create LB by octavia/ovn. The status of lb and pool seems well. _uuid : db3e13ec-b6b6-45fb-b4f2-a5c154ca77d7 external_ids: {enabled=True,

Re: [ovs-discuss] The logical of QoS and meter in OVN

2019-05-28 Thread taoyunupt
by meter and meter_band,when OVN has related commands. best regards, yunxiang At 2019-05-29 01:34:29, "Justin Pettit" wrote: >I'm not sure I understand the question. There are many references to meters >in the OVS/OVN code in 2.10. > >--Justin > > >> On M

[ovs-discuss] The logical of QoS and meter in OVN

2019-05-22 Thread taoyunupt
Hi,justin, I have confusion about the fulfillment of QoS in OVN(2.10). I can find ‘max_rate’ in options of 'port_binding',and the code goes to method ‘’setup_qos‘’,which in binding.c I do not find any code about 'meter',which is the tool of QoSin OVN/OVS(2.10). So I

[ovs-discuss] Does have any plan or blueprint to support fwaas and vpnaas in ovn/networking-ovn(openstack)

2019-03-17 Thread taoyunupt
Dear all, As far as I know , ovn/networking-ovn(support) dose not support fwaas and vpnaas.So, does have any plan or blueprint to support fwaas and vpnaas in ovn/networking-ovn(openstack)? Yours , yunxiang ___ discuss mailing

Re: [ovs-discuss] [ovs-dev] how to enable the log of ovn

2019-02-14 Thread taoyunupt
ns. The ovn-northd one as a second >example would be: > >$ sudo ovs-appctl -t >/usr/local/var/run/openvswitch/ovn-northd..ctl vlog/set file:dbg >( is the process ID of that daemon) > >Hope that helps, >Lucas > >On Thu, Feb 14, 2019 at 11:26 AM taoyunupt wrote: >> &

[ovs-discuss] how to enable the log of ovn

2019-02-14 Thread taoyunupt
Dear friends, Sorry to disturb. I have use ovn with openstasck for a while time,but i still do not know how to enable the log of ovn. There are only logging options in the manpage or the help of ovn-nbctl/ovn-sbctl,but no any logging command.

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-28 Thread taoyunupt
use a newer version >of OVS and an older OVN.) We plan to break that requirement so that each OVS >and OVN can use different version going forward, but we're not there yet. > >--Justin > > >> On Jan 28, 2019, at 3:15 AM, taoyunupt wrote: >> >> Hello,justin

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-28 Thread taoyunupt
the question. Are you asking how you'd >backport meter support for an older kernel? If so, you'd need to talk to the >Centos/Red Hat maintainers. > >--Justin > > >> On Jan 28, 2019, at 5:29 PM, taoyunupt wrote: >> >> The distribution version of OS o

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-28 Thread taoyunupt
have any >experience using them. > >--Justin > > >> On Jan 27, 2019, at 11:26 PM, taoyunupt wrote: >> >> The method build_qos in /ovn/northd/ovn-northd.c is as fellows,in the end >> of the method,it adds logical flow by the code of >> ovn_lflow_add(lflows,

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread taoyunupt
t;If you don't want to use meters, you could try looking at the "qos_max_rate" >and "qos_burst" options in the ovn-nb man page, but I don't have any >experience using them. > >--Justin > > >> On Jan 27, 2019, at 11:26 PM, taoyunupt wrote: >>

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread taoyunupt
d(lflows, od, stage, | | | qos->priority, | | | qos->match, ds_cstr(_action)); | | | ds_destroy(_action); | | | } | | | } | | | } | At 2019-01-28 15:15:51, "Justin Pettit" wrote: >QoS is most likely using the kernel's built-in traffic-shaping algorithms in >tc. Those shoul

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread taoyunupt
gt; > http://patchwork.ozlabs.org/patch/950513/ > >I think it was only broken in kernels 4.15, 4.16, and 4.17. I expect that >4.20 will be fine. > >--Justin > > >> On Jan 27, 2019, at 10:16 PM, taoyunupt wrote: >> >> Hello,justin, >>

[ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread taoyunupt
Hello,justin, I met a supporting problem of meter of OVS 2.10. I found a mail from you,after searching the internet.The address of this mail is "https://www.mail-archive.com/ovs-discuss@openvswitch.org/msg04180.html; The kernel version of "4.20.5-1.el7.elrepo.x86_64" goes

[ovs-discuss] Dose ovn/openstack support fwaas?

2019-01-18 Thread taoyunupt
Dear all, when i use the neutron command of "firewall-policy-create",error occurs . "The resource could not be found" ,as the picture tells. Dose OVN/openstack support fwass,how to enable this feature? Thanks, yunxiang

[ovs-discuss] cluster of ovs/ovn-database

2018-12-07 Thread taoyunupt
Hello, Recently,i am study neutron with ovn.I have tested it with openstack/pike,it makes me intersted . I want to deploy OVN in cluster,but i find little about it ,especially for tutorial ahout installation. It will be appreciate for you to mail me some materials.