From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1732BA2E1B for ; Tue, 3 Sep 2019 11:47:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D495F1E4DD; Tue, 3 Sep 2019 11:47:57 +0200 (CEST) Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by dpdk.org (Postfix) with ESMTP id 008E91E4DD for ; Tue, 3 Sep 2019 11:47:56 +0200 (CEST) Received: by mail-qt1-f196.google.com with SMTP id y26so19014829qto.4 for ; Tue, 03 Sep 2019 02:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iith.ac.in; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6kfhpyDl32/UY/Odvir8VA+dYPI56EcgYeTUOQOlT+c=; b=QcfdaEWIvU1fxnKJ+IJetqiV9gOb5iobKZh9V4PhTr5BFqZz9cRLnBRqc+pxpoYf8y 1/r341pmB9zLvc27yoEtkp1mdqnssfqtot4UMd0oVAPT3P01NjqZiRot25i/zr4nepT/ yuMZhlttnT+ILIfU/t4L6i72KK2peQpRm4pPc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6kfhpyDl32/UY/Odvir8VA+dYPI56EcgYeTUOQOlT+c=; b=Z46L/GfOANZ+HwBAPPdUXJB7KZVIl39QPGspoERJTETNIpTYD0WeIFoP0qnO0kS9jF S9fyfjHN1ba6QLMRhYo5lZpfY1CTzW/LzhdvufDqioujjrHWOfqjCMiU0tUT623v4tko QWs975rGyZqXljd8Jqa/q5StE8C+WUO6xKkhTc5fSO/QGKA+8InunZ6+bPIQCgz2q2Po e3pBiGmMTrZN6nz8dhm+yxKr0nzjmdKIDQ/HGzDBk0qo3n8gcisT8SCB0DKgVpEGEWdB uaG5AgVPj3KXFOCKQDbLisYaFcZ8CES1eBgz3vVsX8soghB0SGymowLTOydhVW2QSIVN M2fQ== X-Gm-Message-State: APjAAAXnxxMsAdr0fx972G2jCOaN+elQhCIH/bIUT5LQMhSe6QYZtV5A D8eN8FGTBRQBHdB/iwTo4wbC5fUG8TySyZp5/4Jbdg== X-Google-Smtp-Source: APXvYqwypfP1Ux/ccEEB5jWkM2x2D4ddVQfxoiJbsp7pBxbmzZDZ9GslezOiUSjmfQYQiih5aOhBa8KY1IB0ZBmyCfg= X-Received: by 2002:ac8:5554:: with SMTP id o20mr33283870qtr.236.1567504076302; Tue, 03 Sep 2019 02:47:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Perugu Hemasai Chandra Prasad Date: Tue, 3 Sep 2019 15:17:45 +0530 Message-ID: To: "Wang, Haiyue" Cc: "users@dpdk.org" , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] unable to receive packets less than 4 with rte_eth_rx_burst Api -regarding. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Haiyue, It is working ,thanks for your response. can you please tell what kind of performance limitation we have if RTE_I40E_DESCS_PER_LOOP value is less than 4 ? Thanks & Regards, Hemasai On Tue, Sep 3, 2019 at 2:53 PM Perugu Hemasai Chandra Prasad < hemasaiperugu@5g.iith.ac.in> wrote: > Hi, > I tried changing "RTE_I40E_DESCS_PER_LOOP" located in i40e_rxtx.h to 1 and > recompiling DPDK but it didn't work. Is there any procedure to make it work > for rx_burst of 1 packet? > > On Tue, 3 Sep, 2019, 12:32 Wang, Haiyue, wrote: > >> Some PMD Vector Rx for performance has an hidden limitation like : >> >> /* nb_pkts shall be less equal than RTE_I40E_MAX_RX_BURST */ >> nb_pkts = RTE_MIN(nb_pkts, RTE_I40E_MAX_RX_BURST); >> >> /* nb_pkts has to be floor-aligned to RTE_I40E_DESCS_PER_LOOP */ >> nb_pkts = RTE_ALIGN_FLOOR(nb_pkts, RTE_I40E_DESCS_PER_LOOP); >> <------ ;-) >> >> #define RTE_I40E_DESCS_PER_LOOP 4 >> >> BR, >> Haiyue >> >> > -----Original Message----- >> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Perugu Hemasai >> Chandra Prasad >> > Sent: Tuesday, September 3, 2019 13:00 >> > To: users@dpdk.org; dev@dpdk.org >> > Subject: [dpdk-dev] unable to receive packets less than 4 with >> rte_eth_rx_burst Api -regarding. >> > >> > Hi All, >> > I am trying to receive packets transmitted by another DPDK >> > application running on different system. I am able to transmit packets >> with >> > a burst value of 1 using rte_eth_tx_burst Api, but unable to receive >> > packets with a burst value less than 4 using rte_eth_rx_burst Api. can >> > anyone please tell me the reason behind that? Is that because of any >> EthDev >> > configuration?. How to receive packets with a burst value of 1? >> > >> > Thanks & Regards, >> > Hemasai >> >