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 03BBCA0350 for ; Wed, 24 Jun 2020 13:29:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 571231D68C; Wed, 24 Jun 2020 13:29:01 +0200 (CEST) Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by dpdk.org (Postfix) with ESMTP id 768BD1D44B for ; Wed, 24 Jun 2020 13:29:00 +0200 (CEST) Received: by mail-il1-f170.google.com with SMTP id x9so1727242ila.3 for ; Wed, 24 Jun 2020 04:29:00 -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=UPy58PUIblm9Uk4FeVVF4nwCypoky9Gk/pNSLCfT1U4=; b=Y3PRKR8wIRhHg1XspA21RmF3SFCvvqrBgEqgkn1+hkYhKaPxb0f00tZHeqGhZ4u5+C DRiGHf5+PY57Xb9s4bllyLfz0IhjLIEbWfWD2f5Wjf2saTJS9r7QuTrbi4vwNlEuG5mn Nvdv1tu9+TXmec+dIiE/MoXqDuhkZ9fbT7uVgvnh0BOsPVlDAEZK6ZxSpB4pOEcMaM4B Ehr0KqWTD4e2NK1vltyep4ZaLOFTJ4+M8lDFaaLkNmninbXtpvZRrM5JmHDZ9LZGVlEG QCUBHR8iNfNbDyIeg0cyAH25RD16p0/F/pG2sFyGMUC/8crAvPl+lQcAOHoul4xrjRTK KAEg== 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=UPy58PUIblm9Uk4FeVVF4nwCypoky9Gk/pNSLCfT1U4=; b=tEOpGcWp6htHTzGyZWUHI4ugpj/XVhaTjTN+cd8OHFvwKXviUprM2ETcq9ztOlkAIq 8vMSJE31eKRfvCDp23voMwYHe0vSuaXQHonlVLy9T+rCQ2Xf/8yy+JUmBwx2MkUjUhwR BsiZbIOMuJfYDZz+WQwU9K/g74JsDOuQH91hY7Hb9nsuq9FC4Ov5ZmNOhP0072vnUPNJ hUYhflAKtJOVqtIwvWlPu+LcFptG5S+Ld0R0XC1vEIvrbbcdbM3B/4nDzWa7nPOv+AzI va0xD7DutokRCkm7redwambu4J9/vgD4fejW1qtBJBLdnzWcZyynXtjo7GjunEiRRXrL PJ4A== X-Gm-Message-State: AOAM532P21xNwN9S3n+JABuoSVwFqZ3Lo+45n98HNqG3hckTP0IAe/cZ 4lbLWWnhyiBMNWBEygTpLIISZ6pwqZYx0SDmCiyLvOMc X-Google-Smtp-Source: ABdhPJwJbpoM9l8aZGb5E8+KOyV7dOUiufiVskinR+n7VffJCgARBdL7se5On506GzgXav0v4G1zn324kzVDq1MW5Ro= X-Received: by 2002:a05:6e02:4ce:: with SMTP id f14mr6880706ils.2.1592998139559; Wed, 24 Jun 2020 04:28:59 -0700 (PDT) MIME-Version: 1.0 From: David Aldrich Date: Wed, 24 Jun 2020 12:28:49 +0100 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] A question about l2fwd 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 have a question about the l2fwd example, which concerns a basic question about how dpdk works. The main processing loop in l2fwd is *l2fwd_main_loop()* which calls *rte_eth_rx_burst()* to retrieve packets from the rx_queue. My question is: what processing loop is responsible for transferring packets from the ethernet device to the rx_queue? I ask this because we have written our own application based on l2fwd and no packets are being returned by our app's call to *rte_eth_rx_burst(). *However, packets are returned in the case of l2fwd. I'm trying to identify the difference between the non-working and working code. Best regards David