Hi Everyone:
For running ovs on Android phone, so far i have installed openvswitch_mod.ko
on Android kernel and cross compiled ovs-dpctl.
It seems they work on Android:
1. I can create a datapath dp0
2. i can add phone's wifi interface (tiwlan0) to the dp0
the following is the dp0 status:
# ./ovs-dpctl show
system@dp0:
flows: cur:0, soft-max:1024, hard-max:1048576
ports: cur:2, max:1024
groups: max:16
lookups: frags:0, hit:0, missed:4, lost:0
queues: max-miss:100, max-action:100
port 0: dp0 (internal)
port 1: tiwlan0
Jan 28 01:48:39|00001|dpif_linux|WARN|/dev/net/dp46388 is device 248:0 but
should be 248:1, fixing
Jan 28 01:48:39|00002|dpif_linux|WARN|/dev/net/dp46388 is device 248:1 but
should be 248:2, fixing
Jan 28 01:48:39|00003|dpif_linux|WARN|/dev/net/dp46388 is device 248:2 but
should be 248:3, fixing
Jan 28 01:48:39|00004|dpif_linux|WARN|/dev/net/dp46388 is device 248:3 but
should be 248:4, fixing
Jan 28 01:48:39|00005|dpif_linux|WARN|/dev/net/dp46388 is device 248:4 but
should be 248:5, fixing
But i don't know reason of the dpif_linux WARN message, and is it a
potential problem, how to fix it?
Does anyone has some ideas?
Thanks
2011/1/26 Yongqiang Liu <[email protected]>
> Thanks Ben.
> I will try the two tools.
>
> 2011/1/26 Ben Pfaff <[email protected]>
>
>> On Wed, Jan 26, 2011 at 12:50:37PM -0800, Yongqiang Liu wrote:
>>
>> > one is openvswitch_mod kernel module, which works with bridge and
>> forwards
>> > the packets according to the forwarding table entries.
>> > another is some user-space applications such as tools used to add/del
>> > interfaces to the kernel module, add/del forwarding entries.
>>
>> Correct.
>>
>> > The cost means what is the minimal set of user-space applications that i
>> can
>> > use to control the kernel module.
>>
>> > After knowing this, i may try to cross compile these applications to run
>> > them on andriod. I think the whole source code of OVS maybe an overkill
>> to
>> > the andriod platform since some libraries may not be supported.
>>
>> I think that, at a minimum for testing, you would need ovs-dpctl and
>> ovs-openflowd.
>>
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org