This implements a new "VLAN splinters" feature that works around
buggy device drivers in old Linux versions.

This feature is deprecated.  When broken device drivers are no longer in
widespread use, we will delete this feature.

This series has a few flaws I already know about:

  - The third and fourth patches have existing comments from Jesse that
    I haven't yet addressed.

  - There's a unit test failure that I need to fix.

  - The in-use VLANs based on flow table matches (see the final patch)
    don't refresh themselves automatically as they should.

Nevertheless, I think that it is ready for initial review.

Ben Pfaff (16):
  ofproto: Add "const" to ->rule_execute's "flow" parameter.
  bridge: Fix incorrect comments.
  ofproto-dpif: Factor NetFlow active timeouts out of flow expiration.
  ofproto-dpif: Support differing user/kernel packet parsing support.
  vswitchd: Remove special case for VLAN devices.
  netdev: Remove netdev_get_vlan_vid().
  netdev-linux: Reorganize slightly.
  vlandev: New library for working with Linux VLAN devices.
  vlan-bitmap: New function vlan_bitmap_from_array__().
  packets: New function eth_pop_vlan(), formerly dp_netdev_pop_vlan().
  bridge: Avoid reading other_config columns with ovsdb_idl_get().
  ovsdb-idl: Add assertion for synthetic records in ovsdb_idl_read().
  ofproto-dpif: Simplify invocation of send_packet().
  ofproto-dpif: Move ODP actions from facets to subfacets.
  ofproto-dpif: Separately track the initial VLAN TCI of arriving
    packets.
  Implement new "VLAN splinters" feature.

 NEWS                       |    5 +
 lib/automake.mk            |    2 +
 lib/dpif-netdev.c          |   20 +-
 lib/netdev-dummy.c         |    1 -
 lib/netdev-linux.c         |  161 ++----
 lib/netdev-linux.h         |    1 +
 lib/netdev-provider.h      |   11 -
 lib/netdev-vport.c         |    1 -
 lib/netdev.c               |   18 -
 lib/netdev.h               |    3 -
 lib/odp-util.c             |  347 +++++++-----
 lib/odp-util.h             |   19 +-
 lib/ovsdb-idl.c            |    9 +-
 lib/packets.c              |   21 +
 lib/packets.h              |    1 +
 lib/vlan-bitmap.c          |   26 +-
 lib/vlan-bitmap.h          |    3 +
 lib/vlandev.c              |  213 +++++++
 lib/vlandev.h              |   52 ++
 ofproto/netflow.c          |   27 +-
 ofproto/netflow.h          |    4 +-
 ofproto/ofproto-dpif.c     | 1304 ++++++++++++++++++++++++++++++--------------
 ofproto/ofproto-provider.h |   21 +-
 ofproto/ofproto.c          |   64 +++
 ofproto/ofproto.h          |   20 +
 tests/automake.mk          |    2 +
 vswitchd/bridge.c          |  375 +++++++++++--
 vswitchd/vswitch.xml       |   67 +++
 28 files changed, 2020 insertions(+), 778 deletions(-)
 create mode 100644 lib/vlandev.c
 create mode 100644 lib/vlandev.h

-- 
1.7.4.4

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

Reply via email to