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 734E7A2E1B for ; Tue, 3 Sep 2019 11:23:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE6831C2F5; Tue, 3 Sep 2019 11:23:47 +0200 (CEST) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by dpdk.org (Postfix) with ESMTP id D2BC31C1EB for ; Tue, 3 Sep 2019 11:23:44 +0200 (CEST) Received: by mail-qt1-f177.google.com with SMTP id g4so18896835qtq.7 for ; Tue, 03 Sep 2019 02:23:44 -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=6pevoobQqBhB2r8Ez10I0QVj7QAY0JiSv3W76OoBW+U=; b=WC1YyLV5OLv6CVsAXiSMvLrBmmm9sUvmzt/H84oRNJ+0EbE1gSc34XfgoM4sUABSzf AqD9TD4xaK5Oiz8HscHnrnGwRwmpOPyd1AG3XZeUoJO+MuDM09QFyz3uMSugtHfb0XYs C/2xvRd2otK78zSr1BVDne6pPQen5G+w4krRo= 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=6pevoobQqBhB2r8Ez10I0QVj7QAY0JiSv3W76OoBW+U=; b=PlWAktLd8fSp6BKUtwVRTjbfIC2hgRHfOSV/+B+z2IdUZ+wwvPGsP2Zj50g31AB4yh A590Qtbhkn44NCkyLfX4NMhgkhSTHHqupyJ0fWsthZRSHzcvuCXx6Q5pp9szRH/7s0y0 IV3uEYir5PgWKDF+tauDdQPSNzjO33gSP5t5d2a/GATnFimwtfz+mnv5cxp9kT5LfOFM px6rBJBI9JloRdEKyrR5KfoXLmMVGVhJLfWYMzWt4Bit6FOVQc1Gj0dsdcgbfqTOkSDH O1nZPq7ubBperNtV2zggWgeuvARmVdb1JBSDztvr+Wa5nYOW4oEk4IlRDBoVcd0RAwkk /MYA== X-Gm-Message-State: APjAAAWshS4IjNl+ZIEFpqpI1oC1frSAhEMWamQZGk8dJpkmGQLeVq+7 LCJR0lEGKN2k+LF6/kTiEwb3i7gDzkHVYta24qpOKw== X-Google-Smtp-Source: APXvYqz1ypI6Ma5El2lDC6h/MzE4e/2Q9KRs4ezI6SXZzsiobIgvRY/cK45NImHU706o/DS2JZtgBiiVj+p0LQBLfes= X-Received: by 2002:ac8:60a:: with SMTP id d10mr31876676qth.31.1567502623923; Tue, 03 Sep 2019 02:23:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Perugu Hemasai Chandra Prasad Date: Tue, 3 Sep 2019 14:53:31 +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-users] [dpdk-dev] unable to receive packets less than 4 with rte_eth_rx_burst Api -regarding. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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 >