From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by dpdk.org (Postfix) with ESMTP id 364D35592 for ; Tue, 29 Mar 2016 15:21:16 +0200 (CEST) Received: by mail-vk0-f48.google.com with SMTP id z68so17683688vkg.3 for ; Tue, 29 Mar 2016 06:21:16 -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=srT+TnqivKXBOUW2lFmjRvsi9X86aLfmO8KQQOfg/Jk=; b=StFP6eDM6mcGQe8Vrjh8BWMxuVV41b7XYJRmDoC8MF5D/pfGJIwEXn9sMEQqRlUnhu PBh2332xq6qZ+grgnnqgyQ12JJx9jHkC2d7ndefSvwTbfEl2zL3nMwF9LYlpXAqgjrhW 1nrH9lu6QxtJamAe52JscTMYEXJOt7izU1ZYzxr6DzGfv4ZAeKb63XR3gotFcRPLJM+P 47+HwcVaMiF+XCdZQMyKwRns3mjg0OaobLFCAPjJgT5Io5AVxMCzvpSSHuq4LjKYIfk3 /V6NkPOiHbWorG9pznwcwJ9V7Q9O0yXi2nMonYAz2dbPE3coBAEMGeSYE8qr/jc8qbyT b80g== 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=srT+TnqivKXBOUW2lFmjRvsi9X86aLfmO8KQQOfg/Jk=; b=AV4q9l8h2oRScsTQ4gcWn+NKYf6awcLo/nklKpjX3jWAor0gtHc5YCSyiWF4VeOndV K32T3Y4I4706QxGL4CL5BPUhwxk1t9YvGSw4a9Pn/k98RZuWbTYB8EAfKSMxZabxRQsJ 193u0887bhrTXzoM1naD9X1urFuMjbOo/UQPpqj0w12MxbgwtN2s5mQ+avBbmC371lEo K4+t5TASk1ZwBWp5W5/hsA4hGRHrg0G9z8bVF7/+3vVpPjdne2G4KcrFmlVu5xC8dfXt qdVxE3Lgvsd3TKmBb7RF5Z/1+C66dhWVykCLgnSNXaLSHh7v537/BoRjX1fANBsDGTqp k6ZA== X-Gm-Message-State: AD7BkJKoGIra3h359HhQgEavwFX/T9F6uu/QrYLzuzmS3Gs2gteCpLoLYmr/Ju+bwQExyt1qiFEVuv1/cAWAYQ== MIME-Version: 1.0 X-Received: by 10.31.166.200 with SMTP id p191mr1165026vke.53.1459257675672; Tue, 29 Mar 2016 06:21:15 -0700 (PDT) Received: by 10.176.1.171 with HTTP; Tue, 29 Mar 2016 06:21:15 -0700 (PDT) In-Reply-To: <22886052-4A55-4564-B11B-FF3224989B36@intel.com> References: <22886052-4A55-4564-B11B-FF3224989B36@intel.com> Date: Tue, 29 Mar 2016 18:51:15 +0530 Message-ID: From: Mohan Prasad To: "Wiles, Keith" Cc: "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: Tue, 29 Mar 2016 13:21:16 -0000 Even I am using "82599ES 10-Gigabit SFI/SFP+ Network Connection" card only. I am able to send single packet but not able to receive single packets, I can receive burst only. I am just building an application for tcp connection on dpdk. Anyways will try disabling vector PMD and give it a try Thanks, Mohan On Tue, Mar 29, 2016 at 6:38 PM, Wiles, Keith wrote: > From: Mohan Prasad > Date: Tuesday, March 29, 2016 at 8:01 AM > To: Keith Wiles > Cc: "dev@dpdk.org" > Subject: Re: [dpdk-dev] DPDK: receive single packet at a time > > > >Hi, > >I have tried this and it does not work > > Then something else is wrong as this work in Pktgen-DPDK, I can send one > packet and receive one packet even when I ask for 32 packets at a time. Are > you receiving any packets? > > I am using a 82599 NIC and if you are using some other type of NIC, I will > not be able to help much. > > >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 > > > > > > > > > > > > > > > > > > > > > Regards, > Keith > > >