Hi all,

I am confused about this part. I am just talking about the openvswitch 
kernel-mode, and do not implement open flow functions.

What I know is kernel module(datapath) would maintain a flow table for matching 
flow key, and vswitchd also owns a flow table. For vswitchd part, I understand. 
However, for datapath part, I am confused.

I think there are two possible ways it could be. 

First, in the beginning, datapath does not have any flow table. If it found a 
flow that it does not know, then it would pass the flow key and packet to 
vswitchd. Vswitchd processes the packet, and also tells the datapath to expand 
its flow table about this flow. After that, packets would process by kernel. 
And then, if after several seconds some flow does not show up, the flow table 
will delete the flow from it.

Second, datapath just utilize some exist flow table in the kernel(not kernel 
module) and only learn the flow that they do not know from vswtich. 

So which one is right or both them are wrong?  Thanks for your answer.

BRs,
Binghan

 
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to