Saloni Jain wrote :
> 
> If current vacancy is same as remaining space(free space), the two
> statements of the specifications are contradictory.

        Why and how ?
        I prototyped the spec and I saw no trouble with those statements :
https://github.com/jean2/ofsoftswitch13/commits/jean/ext-192-vacancy

        I assume it's as simple as :
-    td->table_vacancy.vacancy = max_flows ? (count * 100) / max_flows : 0;
+    td->table_vacancy.vacancy = max_flows ? ((max_flows - count) * 100) / 
max_flows : 100;
        Totally untested, obviously...

        Regards,

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

Reply via email to