[ovs-discuss] Re: Re:Re: [HELP] Question about icmp pkt marked Invalid by userspace conntrack

2019-11-04 Thread txfh2007 via discuss
Hi Darrell: The meter rate limit is set as 1Gbps, but the actual rate is around 500Mbps.. I have read the meter patch, but this patch is to prevent delta_t changed to 0. But in my case, the delta_t is around 35500ms. For my case, the meter action is on openflow table 46, and the ct action is

Re: [ovs-discuss] Re:Re: [HELP] Question about icmp pkt marked Invalid by userspace conntrack

2019-11-04 Thread Darrell Ball
Hi Timo On Sun, Nov 3, 2019 at 5:12 PM txfh2007 wrote: > Hi Darrell: > Sorry for my late reply. Yes, the two VMs under test are on same > compute node , and pkts rx/tx via vhost user type port. Got it > Firstly if I don't configure meter table, then Iperf TCP bandwidth result > From VM1

Re: [ovs-discuss] OVS DPDK: Failed to create memory pool for netdev

2019-11-04 Thread Tobias Hofmann (tohofman) via discuss
Hi Flavio, thanks for reaching out. The DPDK options used in OvS are: other_config:pmd-cpu-mask=0x202 other_config:dpdk-socket-mem=1024 other_config:dpdk-init=true For the dpdk port, we set: type=dpdk options:dpdk-devargs=:08:0b.2 external_ids:unused-drv=i40evf mtu_request=9216 Please

Re: [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-04 Thread Ramana Reddy
Thanks, Flavio. I will check it out tomorrow and let you know how it goes. Regards, Ramana On Mon, Nov 4, 2019 at 10:15 PM Flavio Leitner wrote: > On Mon, 4 Nov 2019 21:32:28 +0530 > Ramana Reddy wrote: > > > Hi Favio Leitner, > > Thank you very much for your reply. Here is the code snippet.

Re: [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-04 Thread Flavio Leitner
On Mon, 4 Nov 2019 21:32:28 +0530 Ramana Reddy wrote: > Hi Favio Leitner, > Thank you very much for your reply. Here is the code snippet. But the > same code is working if I send the packet without ovs. Could you provide more details on the OvS environment and the test? The linux kernel

Re: [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-04 Thread Ramana Reddy
Hi Favio Leitner, Thank you very much for your reply. Here is the code snippet. But the same code is working if I send the packet without ovs. bool csum = true; bool gso = true' struct virtio_net_hdr *vnet = buf; if (csum) { vnet->flags =

Re: [ovs-discuss] gso packet is failing with af_packet socket with packet_vnet_hdr

2019-11-04 Thread Flavio Leitner
Hi, What's the value you're passing on gso_size in struct virtio_net_hdr? You need to leave room for the encapsulation header, e.g.: gso_size = iface_mtu - virtio_net_hdr->hdr_len fbl On Mon, 4 Nov 2019 01:11:36 +0530 Ramana Reddy wrote: > Hi, > I am wondering if anyone can help me with

Re: [ovs-discuss] OVS DPDK: Failed to create memory pool for netdev

2019-11-04 Thread Flavio Leitner
It would be nice if you share the DPDK options used in OvS. On Sat, 2 Nov 2019 15:43:18 + "Tobias Hofmann \(tohofman\) via discuss" wrote: > Hello community, > > My team and I observe a strange behavior on our system with the > creation of dpdk ports in OVS. We have a CentOS 7 system with

Re: [ovs-discuss] OVS deleting flows from the datapath on exit

2019-11-04 Thread Flavio Leitner
On Fri, 1 Nov 2019 13:35:07 -0700 Ben Pfaff wrote: > OVS currently can gracefully exit in two ways: either with or without > deleting the datapath. But, either way, it deletes all of the flows > from the datapath before it exits. That is due to commit e96a5c24e853 > ("upcall: Remove datapath

[ovs-discuss] the network performence is not normal when use openvswitch.ko make from ovs tree

2019-11-04 Thread shuangyang qian
Hi: I make rpm packages for ovs and ovn with this document: http://docs.openvswitch.org/en/latest/intro/install/fedora/ . For use the kernel module in ovs tree, i configure with the command: ./configure --with-linux=/lib/modules/$(uname -r)/build . Then install the rpm packages. when i finished, i