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 CD465A2E1B for ; Tue, 3 Sep 2019 11:48:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ADCEB1E8A0; Tue, 3 Sep 2019 11:47:59 +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 0070E1DF90 for ; Tue, 3 Sep 2019 11:47:56 +0200 (CEST) Received: by mail-qt1-f196.google.com with SMTP id t12so18957292qtp.9 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=Z/K7LfbyUQoCN6MwjLhsQzz4JaJyd9XCi9YL1Gu8FI5qkgUvJqoyqw1ijHeCtLcY5P j2x42dUsJbchRTpXbJLfH/JcV4nsUUjozP5y32EvITwK/mPc4k1FZLfvarzQO5DaeA+e pT73+oXNoQLYud/rmYVREzcqJfT0eSatSE1Zjecwa8QqvmNCwgAgAsd5udOl3fFxo7Gl Y6ZQglbULgGYkchDyzB+M8CEggTXArTXa1auZtIOpGKKqDR13pLrT/H7kagFGEiziEH8 SjA+uqEq/LOjnHmkXpCdWnqmSIt7NrsEvcgFNz4KFe00BR9/ZjtxurEUQVj3bZRvuix7 z0+A== X-Gm-Message-State: APjAAAX+VIWmRcLjp5ySJyw8d7GmqWl4LuxlikBxGibVQIo8LYKpjtEv CDysPwAjbIy34JXnK8VTDXDKNW0UpBKgiwGBPVL+7g== 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-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 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 >> >