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 707C8A00C4; Sun, 10 May 2020 16:06:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C41C51D501; Sun, 10 May 2020 16:06:05 +0200 (CEST) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by dpdk.org (Postfix) with ESMTP id 785A71D455 for ; Sun, 10 May 2020 16:06:04 +0200 (CEST) Received: by mail-wm1-f42.google.com with SMTP id m24so5378508wml.2 for ; Sun, 10 May 2020 07:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tfYJC1X6OYBCLb/SuHzMdn1VMdZ9d2gzF8gwSnfwpQs=; b=JegzIdVoSLZHwYdRoEiT/3Fop2vl8HY+F1DzfeTzZYS87dxoHfPdaL2rnB024nCuDk 6W36oyt8Lw6wsEXlJXUexV3jVB27UCheIsxZ+r1dSP1P3eZ4lWnTNkvIMxycukg3lHzD vG2lGa6w7FvHZjPHWWL5Z3dgdRsAdy9yJvVeOMgmRD44as6+6pWEfK/L95KKl5Q7P7Uu djRjS6+nYikzyqXR1uQEkNCDbfKUp6gcbEh7J6Zk7HhW/AoiUSvsiRSieK548ysrXNG8 DboLlqJz2JgrFPCZi+sd+RZJmM97qwd3Wvt9eHdjQvBLXNhqywdIh1HVKQ4RSjpY+Zqq 06FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tfYJC1X6OYBCLb/SuHzMdn1VMdZ9d2gzF8gwSnfwpQs=; b=mRtghRQIFpAfpzSFM3aTDtaZwjUmvNCxEt2pru5gPZkF8EDwtWDpWKLpfN0OaAMsJA C1UvavO2/VzNkIyFin1Zqhb6m/m2bhttBsx1Cg3UkcIXPDiHh8mpfAe7LfSdAHG4P6/q OK3dYsJGB/1R09DhwULTOk/tPpzuclbQgZo29e3bfRgVUPEmZMApOXqV3mtXEzNI3R7J 7cW52+7rQqihN8V5bjoBXN1xMgoWf4LBT9tXpO+oY7oCOuHTZ6i7t8uY1h1F0WRVmyQK nqjK17Itn785VPwlo8twH3nrztBrTIHwh/rS01CHoDAWD9kUjJvXhmd3+DSb5eRpDJL3 g+5w== X-Gm-Message-State: AGi0PuaVD0GURYS6TCOPeyL34Xzd+YgpZvcIgTM7kVEJQnL7gRE3hVMk 4F8qIXDJcQSM1TJgMTu9QiPS2DnMkvlPlvrb8utkVAmts20= X-Google-Smtp-Source: APiQypK7/v6PSWRJbSPlpM9IsYH0cxwMt3BmnEX9RUeKC9VXSc0QepQfQNGBy1uO4FycTl1IezJRzleA99crEANS3Lc= X-Received: by 2002:a1c:5502:: with SMTP id j2mr28113275wmb.56.1589119563776; Sun, 10 May 2020 07:06:03 -0700 (PDT) MIME-Version: 1.0 From: Prashant Upadhyaya Date: Sun, 10 May 2020 19:35:52 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-dev] Regarding rte_eth_rx_burst 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 recently started using X722 NIC which uses i40 PMD of DPDK. I am on DPDK 20.02. I am seeing that when I call the rte_eth_rx_burst with last argument as 1 (polling for 1 mbuf), then I am not receiving data via repeated calls. When I go for calls to rte_eth_rx_burst with last argument as 32, the function does return the mbuf's as received data. Is this expected ? Or this is a bug in the i40 driver handling this NIC ? The polls to rte_eth_rx_burst with last argument as 1 works well for the ixgbe PMD for sure since I have been using X520 successfully with last argument as 1. Regards -Prashant