[ovs-dev] Question about other_config : pmd-cpu-mask options

2016-09-08 Thread Junguk Cho
Hi, I used OVS with dpdk. When I started ovs, I used this option to pin some cores for ovs. sudo ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=0xf000 In my setup, it has two sockets, but with this option, two cores in first socket shows 100% cpu utilization. In addition, wh

[ovs-dev] Some questions about OVS native tunneling

2016-07-30 Thread Junguk Cho
Hi, All. I followed this manual ( http://openvswitch.org/support/config-cookbooks/userspace-tunneling/). From the manual, I have some questions about native tunneling with DPDK option. First, after creating userspace switch (datapath_type=netdev) in the manual, how it assigns ip to bridge? In ad

Re: [ovs-dev] Group with select type

2016-06-13 Thread Junguk Cho
at 11:54:11AM -0400, Junguk Cho wrote: > > I would like to test group with select type for round-robin way. > > > > I basically followed this page ( > > http://openvswitch.org/pipermail/discuss/2014-August/014785.html). > > For example, there are one client and thre

[ovs-dev] Group with select type

2016-06-13 Thread Junguk Cho
Hi, I would like to test group with select type for round-robin way. I basically followed this page ( http://openvswitch.org/pipermail/discuss/2014-August/014785.html). For example, there are one client and three servers. If I ping from one client to three servers with Virtual IP address, it alwa

[ovs-dev] Timestamp for flow miss and flow insert

2015-10-30 Thread Junguk Cho
Hi, Is there command line tool or option to show flow miss timestamp and flow insert timestamp when controller sends flow rules? In other words, can we know when flow miss happens and when flow insert happens? Thanks, ___ dev mailing list dev@openvswitc

Re: [ovs-dev] Question about DPDK + OVS in high level

2015-08-26 Thread Junguk Cho
; them to be present. > > OpenFlow controllers should be able to control OVS with DPDK in the same > way as OVS without DPDK. > > On Wed, Aug 26, 2015 at 12:52:30PM -0400, Junguk Cho wrote: > > I am sorry that I am not clear about term. > > My question is about OVS. > >

Re: [ovs-dev] Question about DPDK + OVS in high level

2015-08-26 Thread Junguk Cho
I am sorry that I am not clear about term. My question is about OVS. Thanks, Junguk 2015-08-26 12:49 GMT-04:00 Ben Pfaff : > On Wed, Aug 26, 2015 at 12:47:39PM -0400, Junguk Cho wrote: > > In OVS 2.4 version, it includes DPDK as mainstream since there is > > INSTALL.DPD

Re: [ovs-dev] Question about DPDK + OVS in high level

2015-08-26 Thread Junguk Cho
Hi. In OVS 2.4 version, it includes DPDK as mainstream since there is INSTALL.DPDK.md. Is it different from OVDK? In other words, OVS + DPDK in version OVS 2.4 is not OVDK? Thanks, Junguk 2015-08-26 12:43 GMT-04:00 Ben Pfaff : > On Wed, Aug 26, 2015 at 12:32:37PM -0400, Junguk Cho wr

Re: [ovs-dev] Question about DPDK + OVS in high level

2015-08-26 Thread Junguk Cho
25, 2015 at 04:17:20PM -0600, Junguk Cho wrote: > > Is there some work which compares default ovs and ovs with dpdk in terms > of > > performance like throughput? > > There have been presentations at OpenStack and papers that talk

Re: [ovs-dev] Question about DPDK + OVS in high level

2015-08-25 Thread Junguk Cho
Thank you for reply and I am very clear. Is there some work which compares default ovs and ovs with dpdk in terms of performance like throughput? Thanks. Junguk On Aug 25, 2015 4:00 PM, "Ben Pfaff" wrote: > On Tue, Aug 25, 2015 at 05:48:17PM -0400, Junguk Cho wrote: > > M

[ovs-dev] Question about DPDK + OVS in high level

2015-08-25 Thread Junguk Cho
Hi. I am new to DPDK. The purpose of DPDK is to bypass kernel layer when it forwards to user space. My first question is how DPDK works with OVS. Since OVS has two tables in user space and kernel space, the second packet is matched in kernel tables after one packet is missed and controller inser

[ovs-dev] Header match after skippng header offset or length

2015-06-12 Thread Junguk Cho
Hi. Does OVS supports header match after skipping some header fields and use match rules with the rest of header? For example, I have tunneled packet. L2-IPV4(1)-UDP-GRE-IPV4(2)-TCP. In this case, does ovs check IPV4(2) *without virtual port mechanism?* I read ovs-ofctl.8.pdf, but it does not su

Re: [ovs-dev] Restrore open flow rules when ovs-vswitchd die?

2015-01-01 Thread Junguk Cho
I also think it is controller's job. Thanks. Ben. 2015-01-01 20:49 GMT-07:00 Ben Pfaff : > On Thu, Jan 01, 2015 at 04:27:28AM -0700, Junguk Cho wrote: > > Is there an option to back up inserted flow rules and restore them when > > ovs-vswitchd is restarted after it di

[ovs-dev] Restrore open flow rules when ovs-vswitchd die?

2015-01-01 Thread Junguk Cho
Hi. Is there an option to back up inserted flow rules and restore them when ovs-vswitchd is restarted after it die due to programming error? I read the open Vswitch manuals, but It does not have this option. There is "flow-restore-wait" option, but it is not my purpose. I think inserted flow rule

[ovs-dev] Does tunnel support qos function?

2014-09-08 Thread Junguk Cho
Hello, according to ovs-vsctl, we can add queues per ethernet port. It looked like that it uses mechanisms which TC uses. Is it right? Does ovs support qos(with queue) for tunnel ports like gre, vxlan, and list and so on? Thanks, Junguk ___ dev mailing

Re: [ovs-dev] Question about metadata matching

2014-08-26 Thread Junguk Cho
What I thought is to generally use metadata as matching rule in datapath. It is not just between tables. Thanks, Junguk 2014-08-26 15:15 GMT-06:00 Ben Pfaff : > On Tue, Aug 26, 2014 at 03:14:10PM -0600, Junguk Cho wrote: > > But, it is in "struct flow" in lib/flow.h.

Re: [ovs-dev] Question about metadata matching

2014-08-26 Thread Junguk Cho
But, it is in "struct flow" in lib/flow.h. It is not from "struct sw_flow_key" in /datapath/flow.h. I assume metadata is used in action in datapath. Is it right? Thanks, Junguk 2014-08-26 14:00 GMT-06:00 Ben Pfaff : > On Tue, Aug 26, 2014 at 01:57:32PM -0600, Junguk

Re: [ovs-dev] Question about metadata matching

2014-08-26 Thread Junguk Cho
hanks, Junguk 2014-08-26 13:50 GMT-06:00 Ben Pfaff : > Metadata is always 0 at the point that a packet enters the OpenFlow > pipeline, so there's no need for the datapath to match on it--it would > always be a match against 0. > > On Tue, Aug 26, 2014 at 01:44:56PM

Re: [ovs-dev] Question about metadata matching

2014-08-26 Thread Junguk Cho
ks, Junguk 2014-08-26 13:40 GMT-06:00 Ben Pfaff : > On Tue, Aug 26, 2014 at 01:36:04PM -0600, Junguk Cho wrote: > > Hi, I have a simple question. > > When we use metadata as flow-rule, > > Does all traffic forward ofproto to match it because there is no match > > field in

[ovs-dev] Question about metadata matching

2014-08-26 Thread Junguk Cho
Hi, I have a simple question. When we use metadata as flow-rule, Does all traffic forward ofproto to match it because there is no match field in "struct sw_flow" in datapath? Thanks, Junguk ___ dev mailing list dev@openvswitch.org http://openvswitch.org/

[ovs-dev] Can OVS have multiple ip addresses?

2014-04-18 Thread Junguk Cho
In FAQ, there is way of configuring one ip address to OVS like this. ifconfig eth0 0.0.0.0 ifconfig br0 192.168.128.5 There are some sentences. "If your only connection to the machine running OVS is through the IP address in question, then you would want to run all of these commands on a

Re: [ovs-dev] Tables entries in datapath

2014-03-24 Thread Junguk Cho
path or is there another cache in OVS? Thanks, 2014-03-24 14:14 GMT-06:00 Justin Pettit : > Junguk Cho wrote: > >> I used ovs 2.0. So, I think it is 1.5 secs. >> Can I adjust timeout values in command line tools? >> > > Starting in OVS 2.2, there will be a configuration

Re: [ovs-dev] Tables entries in datapath

2014-03-24 Thread Junguk Cho
4 1:26 GMT-06:00 Justin Pettit : > > Junguk Cho > March 24, 2014 at 12:14 AM > Table entries in datapath disappear after short time. > Does they use timer in kernel or other ways? > > ovs-vswitchd times them out. > > > What is the idle timeout? > > It depend

[ovs-dev] Tables entries in datapath

2014-03-24 Thread Junguk Cho
Table entries in datapath disappear after short time. Does they use timer in kernel or other ways? What is the idle timeout? If someone know, please let met know where the source code defines. Thanks. ___ dev mailing list dev@openvswitch.org http://open

Re: [ovs-dev] ovs-dpctl add-flow

2014-03-21 Thread Junguk Cho
le time. Who remove this flows? Thanks, Junguk 2014-03-21 10:03 GMT-06:00 Ben Pfaff : > On Fri, Mar 21, 2014 at 03:53:59AM -0600, Junguk Cho wrote: > > Hello, can I insert flow datapath with "ovs-dpctl add-flow" > > In theory, yes, but it's a bad idea. As the manpage

[ovs-dev] ovs-dpctl add-flow

2014-03-21 Thread Junguk Cho
Hello, can I insert flow datapath with "ovs-dpctl add-flow" I tried to use "ovs-dpctl add-flow [dp] "in_port(x)" "x". However, it printed out "ovs-dpctl: updating flow table (Invalid argument)" Thanks Junguk ___ dev mailing list dev@openvswitch.org htt

Re: [ovs-dev] Question about OFPT_EXPERIMENTER

2014-02-14 Thread Junguk Cho
erimenter messages. > > On Fri, Feb 14, 2014 at 11:49:08AM -0700, Junguk Cho wrote: > > I already check it. However there is no "OFPT_EXPERIMENTER" type in enum > > ofptype or ofpraw. > > What does "tons of experimenter messages" mean? > > > >

[ovs-dev] VLOG for new source file

2014-02-14 Thread Junguk Cho
I add new file in /ofproto/debug.c and automake.mk and recompile ovs. I showed this message. "ofproto/libofproto.a(debug.o): In function `show_tnl_port': /ovs/ofproto/debug.c:23: undefined reference to `VLM_debug'" collect2: ld returned 1 exit status I include "vlog.h" and decalare VLOG_DEFINE_TH

Re: [ovs-dev] Question about OFPT_EXPERIMENTER

2014-02-14 Thread Junguk Cho
I already check it. However there is no "OFPT_EXPERIMENTER" type in enum ofptype or ofpraw. What does "tons of experimenter messages" mean? Thanks 2014-02-14 9:30 GMT-07:00 Ben Pfaff : > On Fri, Feb 14, 2014 at 01:22:18AM -0700, Junguk Cho wrote: > > Can current

[ovs-dev] Question about OFPT_EXPERIMENTER

2014-02-14 Thread Junguk Cho
Hi, Can current OVS support OFPT_EXPERIMENTER? I think it does not support. In handle_openflow__() in ofproto.c, I cannot find OFPTYPE_EXPERIMENTER. Is there anyone who know this?? Thanks ___ dev mailing list dev@openvswitch.org http://openvswitch.org/

Re: [ovs-dev] Question about VLOG

2014-02-08 Thread Junguk Cho
, Feb 08, 2014 at 06:32:56PM -0700, Junguk Cho wrote: > > I add code in lib and ofproto direcotry. > > > > I wonder how to use VLOG? > > I include "vlog.h" and decalare VLOG_DEFINE_THIS_MODULE(FILENAME); > > Do I need more? > > That's all you need to

[ovs-dev] Question about VLOG

2014-02-08 Thread Junguk Cho
I add code in lib and ofproto direcotry. I wonder how to use VLOG? I include "vlog.h" and decalare VLOG_DEFINE_THIS_MODULE(FILENAME); Do I need more? Thanks ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Question about vport.

2014-01-29 Thread Junguk Cho
When OVS_VPORT_CMD_SET is used and which tool ( ex) ovs-vsctl ) call this? Thanks, Junguk Cho ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Question about odp_flow?

2014-01-27 Thread Junguk Cho
I have two questions. First, what is odp_flow? Second, I thought when I install flow with ovs-ofctl tool, the source codes in ofproto directory manage the flows. Is it right? If so, what data structure save this and which sources do I look at? Also, does it hurt performance because it is user-s

[ovs-dev] Question about odp_flow?

2014-01-27 Thread Junguk Cho
I have two questions. First, what is odp_flow? Second, I thought when I install flow with ovs-ofctl tool, the source codes in ofproto directory manage the flows. Is it right? If so, what data structure save this and which sources do I look at? Also, does it hurt performance because it is user-s

[ovs-dev] Question about binding a virtual port to a physical port?

2014-01-15 Thread Junguk Cho
Hi, Can I bind a virtual port to a physical port? I mean if the packet enters a physical port, it will automatically go to a virtual port without flow rule( ex) if the packet arrives at port 1(physical), it will be sent to port 2(virtial port) ). Thanks. __