hi,
i have two questiones to consult. 
software version:  openvswitch-2.6.90.13454.gita9ba22b7 , 3.10.0-327.36.3.el7


1. why logical_switch_port's rate and burst is  set on physical device, rather 
than port's tap device? does this policy  work?  .why ovn does not choose to 
setup ovs's db, but to call netdev's api?
options of  port_binding is 'qdisc_queue_id="2", qos_burst="25000", 
qos_max_rate="55000"'.       


#tc class show dev eth0
class htb 1:fffe root rate 100000Kbit ceil 100000Kbit burst 1500b cburst 1500b 
class htb 1:2 parent 1:fffe prio 0 rate 12000bit ceil 52000bit burst 2749b 
cburst 2749b 
class htb 1:3 parent 1:fffe prio 0 rate 12000bit ceil 55000bit burst 3124b 
cburst 3124b 


2. how the following flows are handled in kernel space or in user space(where 
is the code)?    it seems that ovs translates queue_id into sob_priority. if i 
miss something.
please tell  the process flow


cookie=0x0, duration=979234.497s, table=16, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=21295, 
priority=50,reg14=0x2,metadata=0x1,dl_src=02:ac:10:ff:01:94 
actions=set_queue:2,resubmit(,17)
 cookie=0x0, duration=960048.293s, table=16, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=50,reg14=0x2,metadata=0x7 
actions=set_queue:1,resubmit(,17)
 cookie=0x0, duration=979234.496s, table=16, n_packets=3975, n_bytes=1044630, 
idle_age=21519, hard_age=65534, priority=50,reg14=0x2,metadata=0x2 
actions=set_queue:1,resubmit(,17)
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to