ofp-print: Enable display of Open Flow 1.1 & 1.2 Table Stats Reply Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v6
* Copy entire name, previously only the first 8 bytes were copied.

v5
* Initial post
nxast: Use ofp11_aggregate_stats_reply for NXAST replies

I am unsure of the overall merit if this change,
but it does allow to avoid a small amount of code duplication.

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Manual rebase

v4
* Manual rebase
* Use an extra level of indirection for the msg argument of
  ofputil_encode_aggregate_stats_reply__ as the value of the pointer
  is needed set by ofputil_make_stats_reply() and needed by the caller.

v3
* Initial post
ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Table Statistics Request Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Manual rebase
* Add OFPST_TABLE entry for Open Flow 1.1 and 1.2 to ofputil_msg_types,
  this wires-up decoding of table statistics messages.

v4
* Initial post

Fix dump-tables
ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Port Statistics Reply Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* No change

v4
* Initial post
ovs-ofctl: Make dump-ports aware of different Open Flow versions

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial post
ovs-ofputil: Make str_to_port_no() aware of invalid ports

Open Flow 1.1 and 1.2 make use of 32 bit ports,
however Open vSwtich maps them to 16 bits. Make
ovs-ofputl aware of this.

Also, only accept ports that fit into 16 bits
for Open Flow 1.0.

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial post
ofp-util: Pass vconn to fetch_port_by_features()

Pass vconn to fetch_port_by_features() and callers.
In some cases this will reduce the number of connections
that ovs-ofputil sets up.

It should not alter the behaviour of ovs-ofputil.

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial post
ofp-print: Allow printing of Open Flow 1.1 & 1.2 Port Reply Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ofp-print: Allow display of Open Flow 1.1 & 1.2 Port Status Request Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Port Status Request Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Port Status Response Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial post
ofp-print: Enable display of Open Flow 1.1 & 1.2 Queue Status Reply Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Queue Stats Reply Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Queue Stats Request Messages

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ovs-print: Enable display of Open Flow 1.1 & 1.2 Queue Stats Response

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial Post
ovs-util: Enable decoding of Open Flow 1.1 & 1.2 Queue Stats Response

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v5
* Initial post
ovs-ofpctl: Enable queue-stats for Open Flow 1.1 & 1.2

Signed-off-by: Simon Horman <horms@verge.net.au>

---

v6
* The queue_id variable in do_dump_aggregate() should be uint32_t not
  uint16_t.

v5
* Initial Post

fix
Local Hack: Allow Open Flow 1.2 session to be negotiated

* request OFP12_VERSION
* Reset ofconn to OF1.2
* Allow OF1.2 to be used as a dump protocol
meta-flow: Remove mf_set_subfield and mf_set_subfield

These functions do not appear to be used any more.

Signed-off-by: Simon Horman <horms@verge.net.au>
openflow: Rename OFP_VLAN_NONE as OFP10_VLAN_NONE

* Remove duplicate definition of OFP_VLAN_NONE
* Rename OFP_VLAN_NONE as OFP10_VLAN_NONE as it appears to be
  only used by OpenFlow 1.0.

As suggested by Ben Pfaff.

Signed-off-by: Simon Horman <horms@verge.net.au>