[ovs-discuss] Design of lib/dpif-netdev.c
jingfei.hu at gmail.com
Mon Mar 5 19:29:42 PST 2012
Thanks for your reply, Ben,
I've already read lib/dpif-provider.h, and known that struct dpif_class
abstract some basic functions of one switch.
I need to emulate a switch (e.g., 4 input ports and output ports), setup a
network arrival pattern(e.g., bernoulli process), then monitor the switch's
performance such as delay, lossratio and throughput. My conern is that
whether OVS can be competent to this.
2012/3/3 Ben Pfaff <blp at nicira.com>
> 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
> > 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/dpif-netdev.c?
> Did you read lib/dpif-provider.h?
> > Where is the code of scheduling packets on input ports and output
> > ports?
> > I need to customize the scheduling algorithm and the buffer to each
> > output ports.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss