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 1EFB3A2E1B for ; Tue, 3 Sep 2019 11:23:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF6B21C1EB; Tue, 3 Sep 2019 11:23:45 +0200 (CEST) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by dpdk.org (Postfix) with ESMTP id AF9EF1C1CB for ; Tue, 3 Sep 2019 11:23:44 +0200 (CEST) Received: by mail-qt1-f179.google.com with SMTP id o12so7328764qtf.3 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=mJmbdzixd5ozsnboRvLHRdeEzMFjIFULEAaTUL/cl9B6SbamdQ3rxXCPKCsa1sWWYP Df74grTj7Tnz0rjvL0xYWQOQvfKByR+Q0+y6kUD4UwiogKSuObOXPK8edvS65zQIIqWO VYIPw3M46twicLkyE7ZoTCzlI2ZfDxcjMErTloO1mPRRw7Z8Sx6OpJHKBwRPDVW9fWco XWiklp5Qcv/oyhiW2At3DQQpiGZ1iURc6yEzkVXn2SIoxPZ9ymdA3WPde9y+ZUXaD5tI D1xtxnb62Zs0wsO+c7V/t0VEzsATimFX/3EG1dAN4pd54jj5SRJHMfgCLK2iJlmYj+5f 4Tyg== X-Gm-Message-State: APjAAAWSfTf2+FTq5TfEBj0iUkj13HmOZnGpnRdvjsDEzXRVfQLTMD0U AOqPJy2wkbCW+Xs3ogHm3SD077amzrmMxahmK5Mk0A== 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-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, 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 >