[ovs-discuss] Adding a process to the Open-V-Switch

2014-12-16 Thread Pankaj Chand
Hi, Is it possible to add a new process onto the Open-V-Switch, for some added functionality? If yes, where would I add it, in the kernel-module or in the open-vswitchd daemon, and how? Thanks Pankaj ___ discuss mailing list discuss@openvswitch.org ht

[ovs-discuss] Firewall questions

2014-12-16 Thread Ashok Chippa
Hi, I am trying to takeover Table0 for Firewall function. Have couple of questions: 1) On a table-miss in Table0, I would like to punt the packet to user space, for DPI/FW processing. There must be a way to punt the packet to user space? However, I do not see an action like PUNT_TO_CPU (

Re: [ovs-discuss] High OVS cpu load --ovs2.1.3

2014-12-16 Thread Justin Pettit
I'd recommend upgrading to 2.3.1, since we significantly increased the size of the datapath flow cache. My best guess is that you are hitting flow cache limits and flows are being pushed out prematurely. This also has the benefit of 2.3 being LTS (long-term support). Also, I can't tell from y

[ovs-discuss] Mirror through GRE on DPDK ports not forwarding.

2014-12-16 Thread David Evans
Hi All, I¹m setting up a GRE tunnel on an ovs bridge. (trunk ovs and dpdk 1.7.1) I have two bridges with one DPDK interface each. Traffic generator -> DPDK0 -> B0(bridge) -> GRE0 (172.168.1.4) B1 (172.168.1.1) -> DPDK1 -> host 172.168.1.3 (GRE termination) When I set up GRE as below and push pack

Re: [ovs-discuss] High OVS cpu load --ovs2.1.3

2014-12-16 Thread Alex Wang
Hey, I saw your OpenFlow flows have exact match on nw_src and nw_dst. With default setting of ovs 2.1.3, this will cause really bad megaflow (wildcarded flow) generation (i.e. kernel flows must exact match the nw_src/dst). However, we do have a commit which optimizes such case using prefix looku

Re: [ovs-discuss] How to block DHCP packets ?

2014-12-16 Thread Justin Pettit
> On Dec 16, 2014, at 8:03 AM, 邓尧 wrote: > > > I finally implemented these flows, and they work pretty well. But I run into > some other problems: > > 1. How to make the flows persistent across reboot ? Current I wrote some > shell scripts, and invoke them from /etc/rc.local. Is there any ot

Re: [ovs-discuss] modify forwarding

2014-12-16 Thread Justin Pettit
> On Dec 16, 2014, at 7:04 AM, amer AlGhadhban wrote: > > I would like to do the following step in vSwitch: > When the switch reads the MAC address, read the IP protocol then encapsulate > the MAC address with new one, then forward it. > I do not whether this is possible or not > Where to start

[ovs-discuss] modify forwarding

2014-12-16 Thread amer AlGhadhban
Hello, Dear All I would like to do the following step in vSwitch: When the switch reads the MAC address, read the IP protocol then encapsulate the MAC address with new one, then forward it. I do not whether this is possible or not Where to start and what to modify? any help is appreciated. Best

Re: [ovs-discuss] High OVS cpu load --ovs2.1.3

2014-12-16 Thread 李伟
Hi Justin Pettit Thank you for your prompt reply. CPU load high too! We can't stand. Because we have too many flow or VMs through the NAT access Internet and a lot of IP address into OVS? [@sh5_44.1 ~]# ovs-dpctl dump-flows|tail -100 skb_priority(0),in_port(20),eth(src=1e:

Re: [ovs-discuss] High OVS cpu load --ovs2.1.3

2014-12-16 Thread 李伟
Hi ,thank you for your prompt reply. [@sh5_44.1 ~]# ovs-dpctl show system@ovs-system: lookups: hit:1543483249 missed:63722785 lost:0 flows: 56469 masks: hit:6624457650 total:5 hit/pkt:4.12 port 0: ovs-system (internal) port 1: em1 port 2: br0 (internal) port 3: veth_44_124 port 4: veth_44_14 p

Re: [ovs-discuss] How to block DHCP packets ?

2014-12-16 Thread 邓尧
On Mon, Dec 15, 2014 at 3:21 PM, Hunt Xu wrote: > > On Mon, Dec 15, 2014 at 2:48 PM, 邓尧 wrote: > > Hi, > > > > I need to connect two L2 physical networks together with openvswitch. GRE > > tunnel works perfectly in my case, except DHCP. Both networks have their > own > > DHCP server, and distribu