From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) by dpdk.org (Postfix) with ESMTP id 0CF644BBC for ; Thu, 24 Oct 2013 06:38:48 +0200 (CEST) Received: by mail-lb0-f172.google.com with SMTP id c11so1477968lbj.31 for ; Wed, 23 Oct 2013 21:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UtBUQAjRDrHeL+Pz05bN1Lf0Rp1auqZp/JvRrkG/AiU=; b=NtrEc3NzNNpVOZ9FOegZie+E7MbOjGCPYe7c8dDz181m7rFTfZIwv4G99zGv7swVMR MMGVxhRQi0MP7tVdLOpY8+zZKl2O22/jupmlyjHYVZbeCDIjoUIUXIUDpvtTB9obKxbY Tki551rw6tMtKf2nnxYq4V/v5xKNfbjzW+ID1FaVs0bhaZq9UwR9ReRdlamXtbUrS7Vs 77gR/jt7/hI1fFI3xpx10iaRiHvWYkWS08jnofysu5RUrwEHT3iVlOxA5SN+DKgANfbF MnvVf/Q5xc88gX0FkjZ9GGnBSex1Kr2sRgHo9khXcJ2kSChJ23wq8LkFlivZGzKMgfF0 U6nA== MIME-Version: 1.0 X-Received: by 10.112.72.229 with SMTP id g5mr707247lbv.10.1382589577967; Wed, 23 Oct 2013 21:39:37 -0700 (PDT) Received: by 10.112.12.231 with HTTP; Wed, 23 Oct 2013 21:39:37 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Oct 2013 10:09:37 +0530 Message-ID: From: Jyotiswarup Raiturkar To: Prashant Upadhyaya Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] query about port queues 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: Thu, 24 Oct 2013 04:38:49 -0000 Thanks Prashant -Jyoti On Wed, Oct 23, 2013 at 7:52 PM, Prashant Upadhyaya < prashant.upadhyaya@aricent.com> wrote: > Hi Jyoti, > > You can configure the number of tx and rx queues via the software when you > are calling the rte_eth_dev_configure. > However you cannot allocate more than what the NIC supports. But you can > allocate less ofcourse. > > Typically the queues are used so that independent cores can do tx and rx > on a separate queue without locking. > > If you have configured 'n' rx queues, your must ensure that you read from > _all_ the queues because the packet can arrive on any of the rx queues > based on the algorithm by which NIC fans out incoming messages on the > queues (eg. RSS). You can transmit freely from any queue (eg. each core of > yours could have a tx queue each in your usecase) > > Regards > -Prashant > > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jyotiswarup Raiturkar > Sent: Wednesday, October 23, 2013 5:10 PM > To: dev@dpdk.org > Subject: [dpdk-dev] query about port queues > > Hello Devs > I'm new to DPDK and trying to understand the basics. I went through the > programming guide but I had one question regarding Tx and Rx queues per > port. Are they configurable entirely in software or do they depend on the > HW (NIC)? Does the L2 configuration (MAC address) apply to all the queues > on the port? (and hence will an application like say a network stack need > packets from all the queues in the port)? > Thanks > Jyotiswarup Raiturkar > > > > > > =============================================================================== > Please refer to http://www.aricent.com/legal/email_disclaimer.html > for important disclosures regarding this electronic communication. > > =============================================================================== >