From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f50.google.com (mail-vk0-f50.google.com [209.85.213.50]) by dpdk.org (Postfix) with ESMTP id C881B5592 for ; Tue, 29 Mar 2016 15:01:59 +0200 (CEST) Received: by mail-vk0-f50.google.com with SMTP id e185so17002474vkb.1 for ; Tue, 29 Mar 2016 06:01:59 -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=MCygSQcfHh/dIg5P4hqm0dmL5KMMXJUvmYHY9KQ69dY=; b=ySZQcET1d3JQPa0HseIYc3iSWfo8xzaOWdGqPY/Pzcpn/DoLc4+7A9P9HByQlmmk65 pDaBHrlHNoYJkGMU7mmPpvmdgYCPvS9HU26Cx+spFLDJpy2+KhaiubpjOpSJ3VxigcSw xBhyHm6TuZX3KhtTUYDuQSgTiyDTmbdW/46/VEMU9F6qxGdIgF6Hg/DI0bbuU1VPK1qD jjsxulI3vcRyhek4Dhy4HfdvOYJvxZamL1TyPdEDO0uEw4uLLFXgHSvxcgUBjS/Nd1OY t0DX/iFa51jhhG0FX43vIbeYq8e7bD5ep2ksUhmf2DCrwPkNfF9/vQTkjDQ2/KmV92AI brRA== 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=MCygSQcfHh/dIg5P4hqm0dmL5KMMXJUvmYHY9KQ69dY=; b=bzCYWnM2o4a+vPfMnJ9PAxzkGDOH5K5vRjcTIpO2qglqlQfNizzaYL8SVsIrJ6QH0d PT4RYEnoR1T9ovSa/1Ve8DsZ2PEHwjoI2qCHmbSHjlmRJydzZDw0kcBxkFIWMInULc89 M3/MkpYpudP4vUnKDKoyuaJgET/NEXEjEyM3prl+3pZrcvUQu5HKAM5CsjsIgvj2VDRu wyF5dyE4/Mvnsb1HZhjB2G1clSxCXKUDuXVkkZjeSPPF+yVthjF6ldLn2WNuDCBerxuA 6abFdHWR2TxGQSGZQ+IVUFjV9DitISqjVQZLZelQhiTfGjeCrVXuzueFQqApte4NHpcn q8Yw== X-Gm-Message-State: AD7BkJK1P8uSCrjD6nwPiqQAy9snxkEua1gaX7GEGanFeDw8Z6oI3NTWclhoWsX6rO+ZQfv41JcU5jhwH/KaCw== MIME-Version: 1.0 X-Received: by 10.31.148.144 with SMTP id w138mr1020948vkd.44.1459256519258; Tue, 29 Mar 2016 06:01:59 -0700 (PDT) Received: by 10.176.1.171 with HTTP; Tue, 29 Mar 2016 06:01:58 -0700 (PDT) Received: by 10.176.1.171 with HTTP; Tue, 29 Mar 2016 06:01:58 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Mar 2016 18:31:58 +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:02:00 -0000 Hi, I have tried this and it does not work 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 > > > > >