On Wed, Jun 03, 2015 at 03:55:16PM +0100, Daniele Di Proietto wrote:
> Non pmd threads have a core_id == UINT32_MAX, while queue ids used by
> netdevs range from 0 to the number of CPUs.  Therefore core ids cannot
> be used directly to select a queue.
> 
> This commit introduces a simple mapping to fix the problem: pmd threads
> continue using queues 0 to N (where N is the number of CPUs in the
> system), while non pmd threads use queue N+1.
> 
> Fixes: d5c199ea7ff7 ("netdev-dpdk: Properly support non pmd threads.")
> 
> Reported-by: 차은호 <eunho....@atto-research.com
> Signed-off-by: Daniele Di Proietto <diproiet...@vmware.com>
> Signed-off-by: Mark D. Gray <mark.d.g...@intel.com>
> ---

Changing the mapping helped a lot, thanks!
Acked-by: Flavio Leitner <f...@redhat.com>



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

Reply via email to