Merge into master from pull request #137:
OFConnectionManager: drop more types of messages when the write buffer partially fills (https://github.com/floodlight/indigo/pull/137)
OFStateManager: allocate ind_core_table_t.name inline

It's small and we need the full length to pass to
of_table_stats_entry_name_set.
OFStateManager: track num_flows per registered table

This will be used by the table stats handler.
OFStateManager: add table operation to get table stats

This is called instead of the Forwarding API when any flowtables have been
registered with the new flowtable API.
OFStateManager: add weak symbol for indigo_fwd_table_stats_get
OFStateManager: fix flow checksum use of table_id

The bsn_flow_checksum extension uses the table id to determine which table and
bucket checksums to update. The checksum update is done in ft_add, which uses
entry->table_id. However, ft_entry_create was not initializing the table_id
fields. Instead, for OF 1.1+, the table id was set after the call to
indigo_fwd_flow_create. This was to support the OF 1.0 feature where the
switch could choose which table to insert the flow into.

The new flowtable API does not support returning a table id, and no Indigo
switches use this feature. I'm removing it. The new code is simpler and
initializes table_id when the flow checksum code expects it to.
Merge into master from pull request #140:
OFStateManager: fix flow checksum use of table_id (https://github.com/floodlight/indigo/pull/140)
Add a config for default OF version for async message.
Remove unused macro.
Merge remote-tracking branch 'origin/master' into table-stats

Conflicts:
	modules/OFStateManager/module/src/handlers.c
fix leaking socket desc while try to reconnect to a controller
Merge into master from pull request #143:
fix leaking socket desc while try to reconnect to a controller (https://github.com/floodlight/indigo/pull/143)
Merge into master from pull request #141:
Add a config for default OF version for async message. (https://github.com/floodlight/indigo/pull/141)
Merge into master from pull request #139:
Add operation to get table stats (https://github.com/floodlight/indigo/pull/139)
update loxigen-artifacts

* submodules/loxigen-artifacts 60b6e39...c4933b5 (17):
  > Artifacts from https://github.com/floodlight/loxigen/compare/7b7c3619cf68d3654b301cc92efd4341cddfe323...c8f68f067a7e49da5a1dd512456a089d626c3c27
  > Artifacts from https://github.com/floodlight/loxigen/compare/b082bcd13a0bb8270df593d3ae468b95450a55a5...7b7c3619cf68d3654b301cc92efd4341cddfe323
  > Artifacts from https://github.com/floodlight/loxigen/compare/ed09bfe4d391f4dbddffa36746b218ed3f5682c1...b082bcd13a0bb8270df593d3ae468b95450a55a5
  > Artifacts from https://github.com/floodlight/loxigen/compare/047e9c12739e1f63e11de602cf789295e9c4b3f2...ed09bfe4d391f4dbddffa36746b218ed3f5682c1
  > Artifacts from https://github.com/floodlight/loxigen/compare/030f41af9db21215b4f043a1d159bd474a6e5645...047e9c12739e1f63e11de602cf789295e9c4b3f2
  > Artifacts from https://github.com/floodlight/loxigen/compare/58a783110072c8a8cbc0d580d8f8dffcb71e8bfa...030f41af9db21215b4f043a1d159bd474a6e5645
  > Artifacts from https://github.com/floodlight/loxigen/compare/4087b17e3477cbc9d010d8f78f80cbff0b083882...58a783110072c8a8cbc0d580d8f8dffcb71e8bfa
  > Artifacts from https://github.com/floodlight/loxigen/compare/415d879292453a18b6080c75da2e2975b4513d2e...4087b17e3477cbc9d010d8f78f80cbff0b083882
  > Artifacts from https://github.com/floodlight/loxigen/compare/8dcf8a2618adfd827a20169c34401ed04a25d383...415d879292453a18b6080c75da2e2975b4513d2e
  > Artifacts from https://github.com/floodlight/loxigen/compare/1d8819a23e3decd195baa2d0306e9d887b17a50f...8dcf8a2618adfd827a20169c34401ed04a25d383
  > Artifacts from https://github.com/floodlight/loxigen/compare/f8bbbe2cfa971fc38dbbd49ec09bbf149bed4685...1d8819a23e3decd195baa2d0306e9d887b17a50f
  > Artifacts from https://github.com/floodlight/loxigen/compare/a5f488a034bcf3815716be675e071c87f3e7973b...f8bbbe2cfa971fc38dbbd49ec09bbf149bed4685
  > Artifacts from https://github.com/floodlight/loxigen/compare/43ee9a83c29119ee84931bb85275eeda07cf2f75...a5f488a034bcf3815716be675e071c87f3e7973b
  > Artifacts from https://github.com/floodlight/loxigen/compare/c77bebf074d5737483a133962725a8181ffdd2b8...43ee9a83c29119ee84931bb85275eeda07cf2f75
  > Artifacts from https://github.com/floodlight/loxigen/compare/feffbeb20c838ffeba38c71daec4d834cfb37900...c77bebf074d5737483a133962725a8181ffdd2b8
  > Artifacts from https://github.com/floodlight/loxigen/compare/c14212426540c182ce50cf707d8440b077fe805c...feffbeb20c838ffeba38c71daec4d834cfb37900
  > Artifacts from https://github.com/floodlight/loxigen/compare/ffc28e6e06a516230942239b83f33b5d28a3a0f1...c14212426540c182ce50cf707d8440b077fe805c
OFStateManager: fix of_bsn_table_set_buckets_size table_id type
Merge into master from pull request #146:
update indigo to latest loci (https://github.com/floodlight/indigo/pull/146)
OFConnectionManager: convert write queue list to a ringbuffer

This gets rid of the linear list append and the extra allocation/free.
OFConnectionManager: only set write-ready for the first message in the write queue

The CXN_WRITE_READY macro hides a slightly expensive function call.
OFConnectionManager: write as many messages as possible to the socket

The previous limit of 32 messages per tick was creating a bottleneck. I think
that in producer-consumer scenarios like this we should give the consumer
priority and not limit how much it can consume. Otherwise the work done by the
producer will be wasted when the message is dropped.