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

Ben Pfaff blp at nicira.com
Sat Mar 3 07:27:59 PST 2012


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/dpif-netdev.c? 

Did you read lib/dpif-provider.h?

> Where is the code of scheduling packets on input ports and output
> ports? 

dpif_netdev_run().

> I need to customize the scheduling algorithm and the buffer to each
> output ports.


More information about the discuss mailing list