summaryrefslogtreecommitdiff
path: root/vtep
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-08-27 15:40:35 -0700
committerBen Pfaff <blp@ovn.org>2018-10-26 15:19:40 -0700
commitdccab9b15e656c6c1db1b8e94da1e1f234811506 (patch)
treeb4a62e32fbbcffb39e062a8aad3366307e739e52 /vtep
parent9d36d7d7289a58d6a14f92896d870695f997d989 (diff)
downloadopenvswitch-dccab9b15e656c6c1db1b8e94da1e1f234811506.tar.gz
ofp-table: Ignore bits that have to change according to OpenFlow.
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 <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'vtep')
0 files changed, 0 insertions, 0 deletions