> On Aug 30, 2018, at 1:00 PM, Ben Pfaff <[email protected]> wrote:
> 
> OpenFlow table feature replies contain a per-table bitmap that indicates
> which tables a flow can point to in goto_table actions.  OpenFlow requires
> that a table only be able to go to higher-numbered tables.  This means that
> a switch that is general as possible will always have different features
> for every table, since each one will have a different bitmap.  This makes
> the output of "ovs-ofctl dump-table-features" pretty long and ugly because
> it has about 250 entries like this:
> 
>  table %d:
>    metadata: match=0xffffffffffffffff write=0xffffffffffffffff
>    max_entries=%d
>    instructions (table miss and others):
>      next tables: %d-253
>      (same instructions)
>      (same actions)
>    (same matching)
> 
> This commit changes the logic that prints table features messages so that
> it considers two sequentially numbered tables to be the same if only the
> bit that necessarily must be tunred off changes.  This reduces the hundreds
> of entries above to just:
> 
>   tables 1...253: ditto
> 
> which is so much more readable.
> 
> Signed-off-by: Ben Pfaff <[email protected]>

Acked-by: Justin Pettit <[email protected]>

--Justin


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to