On 3 February 2016 at 03:31, Ilya Maximets <i.maxim...@samsung.com> wrote: > In multiqueue mode several pmd threads may process one > port, but different queues. Flow may not depend on queue. > It's true at least for vhost-user ports. > > So, while miss upcall processing, all threads (except first > for that port) will receive error = ENOSPC due to > ukey_install failure. Therefore they will not add the flow > to flow_table and will not insert it to exact match cache. > > As a result all threads (except first for that port) will > always execute a miss. > > Fix that by mixing pmd_id with the bits from the ufid > for ukey->hash calculation. > > Also, this allows to reassign queues among pmd threads > without restarting them and deleting the megaflow cache. > > Signed-off-by: Ilya Maximets <i.maxim...@samsung.com>
Thanks, I made some minor changes to the commit message, dropped the cast from get_ukey_hash() and pushed the patch to master. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev