On Wed, Sep 09, 2015 at 01:13:22PM +0530, [email protected] wrote:
> From: Saloni Jain <[email protected]>
>
> This patch adds support for vacancy events in table-desc.
>
> ovs-ofctl -O OpenFlow14 dump-tables-desc <switch>
> -This command is enhanced to display the Vacancy Event configuration
> of the tables on a <switch>, which is set using the mod-table command.
>
> Signed-off-by: Saloni Jain <[email protected]>
> Co-authored-by: Hiteshi Kalra <[email protected]>
> Signed-off-by: Hiteshi Kalra <[email protected]>
> ---
> Difference between v3->v4
> - Rebased with latest master.
> - Added Co-authored-by tag in commit message.
Thanks for the patch!
In query_table_desc__(), this will yield a division by zero error if
max_flows is 0:
td->table_vacancy.vacancy = (count * 100) / max_flows;
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev