From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by dpdk.org (Postfix) with ESMTP id 606B6231C for ; Sat, 9 Aug 2014 17:57:03 +0200 (CEST) Received: by mail-ig0-f169.google.com with SMTP id r2so3823551igi.0 for ; Sat, 09 Aug 2014 08:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=WkzInGPHsMOvZfQxO8xL6BXg07rZR1jrgE5B7qeYdLE=; b=MoVYCFohWtaiWAArCUV0zl6WAK/5eMj87o+32P+nt+FjEDlhRQiDf4/23vpjh56/ns 9ni3DRyL622KsVYmXzh4nPGUDmdlYfoSDh+uWEEy6MEwyYWBd37+gIZAsrKfYkMW1mfi 7ns35pyDDddeXe5NN7il4F+9Tn4scBcMmhVdYgfuRbn/t48cXg2EseOQi34ipdDYqtaE iN+XxTvEy91Ji//sfynSDF+1hDiIakt8xxyzAM1YBYu4c322aWNm4RW0giSq6mzGf8iQ DTtfL42dIqSysxrBlaVo8RcKf1Mg2VpDRb1XE1Rp2mQQTPMVlM0PlIJWAH0FAQCrr+SV 4NQQ== X-Received: by 10.43.63.134 with SMTP id xe6mr2287525icb.97.1407599984551; Sat, 09 Aug 2014 08:59:44 -0700 (PDT) MIME-Version: 1.0 Sender: kay21s@gmail.com Received: by 10.64.206.166 with HTTP; Sat, 9 Aug 2014 08:59:24 -0700 (PDT) From: Kai Zhang Date: Sat, 9 Aug 2014 11:59:24 -0400 X-Google-Sender-Auth: cg6cz0OXIq80_maweOwVEhbx9Z0 Message-ID: To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Problem in multi-queue receiving X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2014 15:57:04 -0000 Hi there, I have a problem for multi-queue receiving. For a specific application, I am not using the lcore abstractions in DPDK. I launch rx and tx threads seperately. For one port with N queues, I launched N rx threads and N tx threads, with each thread in charge of receiving or sending only one queue. The tx threads work on their own queues well. However, all received packets only go to queue 0 rx thread, and other rx threads receive nothing. My code is at : https://github.com/kay21s/dpdk/blob/master/examples/pthread/main.c It has a default NUM_QUEUE=2, which means port 0 is configured with 2 queues, and 2 rx threads and 2 tx threads are launched. Is there any problem in my implementation? or DPDK does not support it? Thanks a lot! Kai