[ovs-discuss] Promble about supporting 8021p

2012-03-03 Thread likunyun
Hi, all Recently I did some test about supporting 8021p. Because of the NIC driver, I have to set the physical NIC's vlan-splinter to be true. The frame's vlan priorty si set to be 0 while it being send out by the physical NIC. I check the code in ofproto-dpif.c, in function compose_output_

Re: [ovs-discuss] Design of lib/dpif-netdev.c

2012-03-03 Thread Ben Pfaff
On Sat, Mar 03, 2012 at 07:21:22PM +0800, Jingfei Hu wrote: > Now I know the switching is done in lib/dpif-netdev.c under userspace OVS. > And I roughly look through the code of lib/dpif-netdev.c, but got no > userful information for my work. So is there any documentation about the > code of lib/dp

[ovs-discuss] Design of lib/dpif-netdev.c

2012-03-03 Thread Jingfei Hu
Hi, all, I'm a newbie to OVS. My master thesis is to design a real-time switch whose rough architecture has been already completed. Remaining work is emulation of it. I choose the userspace OVS so that I could reduce the code to write easily, for I don't know quite about the kernel. Now I know the