From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com [209.85.213.47]) by dpdk.org (Postfix) with ESMTP id 8A8DC6C9B for ; Thu, 31 Mar 2016 13:42:44 +0200 (CEST) Received: by mail-vk0-f47.google.com with SMTP id e6so99744202vkh.2 for ; Thu, 31 Mar 2016 04:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=PBvTbC9ZTkqK2f3kevmu/TmbDKMv7GQh14fpO35XWVo=; b=z8Le2Fojrglrp5FbVTrC8duWMFu2EKXKWcUXU9h8d8xr5HpeoQPDiurqK8QS8FIsKm y21JpTXoMq8m3a9Jaj2GhkIxFGTYy2xD+X5OPNSs4cUYQWqJ3xVLjr71/+Mt+iQIV9Xq hvfSmNePalB0BmypSsQAQjNCOue+6I1Yd5tdQikbtJ9t6s2SyrdLoPxs7AqSTWi4Zg48 3E2pKFb+N2uuDEr0Ic2Gxp4gy8VrusH9FWbnmlFT6sq4KRE9B5toM235gfdmDjdJQWTs 2U+2Ot+WzOjbrmLCN1BYljpzwY7HR4L2ZIBJv1SDn0rxiLBAbmZr9BM6WM4XIqIACPMv yaCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=PBvTbC9ZTkqK2f3kevmu/TmbDKMv7GQh14fpO35XWVo=; b=RIQjpVhnCjyJr4ID1FgSkFhg9LdioZWET28hnJVmEmNF1bpdimppSkXvc02M721DhT Ipf5Rgq9FgRCnUNr3qKT3TwqOkX4kKhCMh/2qVcFiZ7oXyu490FRFD7GHkdZr2M3Tqmg 5CovE9LA/Y0mNhkbx4ja4rK9gPl4H5wT4zqiOWCEW7ZetgE7hcAQfMa05sYcIQFIFxL9 G7PvfzSAeXcMYBJNPTX/+RTWJS7jQYYCOC+7VUOeL5gZVvjn0v+2j/fzU1HrUafsoYDu wEIe87Rztp3SxHwqoBzxNFvDH044dCJV0+QII98m/hvzOccCfYNmWEOQWxuzZRE7eXOb P5MA== X-Gm-Message-State: AD7BkJJtEKw1KCEcDKZP4QqsfnlrSeqerzFxdtYUVZDNJP6gcD8FW2+WkfSdi9q43OcNsNjLJpKoXjIsTO+2/w== MIME-Version: 1.0 X-Received: by 10.31.41.195 with SMTP id p186mr2006423vkp.20.1459424564073; Thu, 31 Mar 2016 04:42:44 -0700 (PDT) Received: by 10.176.0.115 with HTTP; Thu, 31 Mar 2016 04:42:44 -0700 (PDT) In-Reply-To: References: <20160329131619.GB22104@bricha3-MOBL3> Date: Thu, 31 Mar 2016 17:12:44 +0530 Message-ID: From: Mohan Prasad To: Bruce Richardson Cc: "Wiles, Keith" , dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] DPDK: receive single packet at a time 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, 31 Mar 2016 11:42:44 -0000 Could not get it working by disabling the vector PMD, Do you have any example where it works? Thanks, Mohan On Wed, Mar 30, 2016 at 11:06 AM, Mohan Prasad wrote: > Hi Bruce, > > Could not get it working by disabling the vector PMD, Do you have any > example where it works? > > Thanks, > Mohan > > On Tue, Mar 29, 2016 at 6:46 PM, Bruce Richardson < > bruce.richardson@intel.com> wrote: > >> On Tue, Mar 29, 2016 at 06:31:58PM +0530, Mohan Prasad wrote: >> > Hi, >> > >> > I have tried this and it does not work >> > >> >> What type of NIC are you using. If you are using ixgbe or i40e, try >> disabling >> the vector PMD in your build-time configuration to see if it makes a >> difference. >> >> However, why do you want to receive just a single packet at a time. Why >> not just >> receive a burst of packets and then process them one at a time? It's much >> more >> efficient that way, and you should get better performance from your >> application. >> >> /Bruce >> >> >> > Thanks, >> > Mohan >> > On Mar 29, 2016 6:26 PM, "Wiles, Keith" wrote: >> > >> > > >Hi, >> > > > >> > > >Is there any option to receive single packet at a time with dpdk? >> > > >> > > Not sure if this is the answer you are looking for, but if you just >> > > request a single packet with >> > > >> > > struct rte_mbuf *mbuf; >> > > rte_eth_rx_burst(port_id, queue_id, &mbuf, 1); >> > > >> > > will return only one packet as a time. >> > > > >> > > >Thanks, >> > > >Mohan >> > > > >> > > >> > > >> > > Regards, >> > > Keith >> > > >> > > >> > > >> > > >> > > >> > >