learning-switch: Don't limit message queued by --with-flows.
authorBen Pfaff <blp@nicira.com>
Wed, 1 Jun 2011 17:53:53 +0000 (10:53 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Jun 2011 17:55:25 +0000 (10:55 -0700)
commit5c48e7a9f2489ce5189db406cba485c62f0f6a14
treed6097874bf0684a201635e3e32df8d04817b2ace
parent1b807595c4e6b4348444852bda8814e92412ad41
learning-switch: Don't limit message queued by --with-flows.

queue_tx() intentionally limits the number of outstanding OpenFlow messages
queued to the switch.  This was unintentionally being applied to the
messages queued to the switch at startup by ovs-ofctl's --with-flows
command.  This patch should fix the problem, by calling rconn_send()
directly instead of through queue_tx().

Ahmed reported that with this patch there was still a problem when 30,000
flows were specified in the file.

Reported-by: Ahmed Bilal <numan252@gmail.com>
AUTHORS
lib/learning-switch.c