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 197FDA00BE for ; Fri, 12 Jun 2020 16:48:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF62E1BFBB; Fri, 12 Jun 2020 16:48:00 +0200 (CEST) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by dpdk.org (Postfix) with ESMTP id 5DD6E1BFB6 for ; Fri, 12 Jun 2020 16:47:59 +0200 (CEST) Received: by mail-lj1-f181.google.com with SMTP id 9so11393434ljc.8 for ; Fri, 12 Jun 2020 07:47:59 -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=IM2pKhG0erZVi47BvFG+MNFUoSHgd5Pt84mUhLfaO5Y=; b=KUesKvAScNzIM2B6hY8EARh0ch4yK1aOsX1H2kTD46TEIlSTpsY/mGhGxbmKxMZIvh gNA+YsFW6XQ98G187psT80vgt7H8T6iQsSMrdaSw3duvTfptOCILbgJYidNEtVLFZ4aM xGW8BRvtV11nutp1yVUWo9tHl+8kCXVmhqaAJ6js3UUTxlMRIjCy4ZOGSENjtaBp1ipw QsuS6iqTb8rKBm4bHjmCXnZqHB719KTJE6kFzs/YuwrtkBQU2I4opNAlwpUbLytOeJ+j zk27h3hmVyTGv7xpF0dqFXV30hZdQ4ji0sqFeo0aBxBcS36lV7gh7/ry62b/lr10a+MZ 7ewA== 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=IM2pKhG0erZVi47BvFG+MNFUoSHgd5Pt84mUhLfaO5Y=; b=dvRP/422U+BuOZe9Cd3xM6ypczoirjDczpR2eXiEnJCfy7jmn6Lgu3VjFsnbRd6QTN wi5s/RndSpAIM7VlR9Ob8aB+irxKY2RScoaBGKQIpGC2D5KpE3k/LCsS/ZpW6rExOPKx xPQavLMUdGw6SeXlpCxa4tTcmG+m1OWUit7rPqOLFLYf15xfUyAhJlcP7oTtpNZwH/Yi NNUsRIPtTZH0u30lnFRnCuvuu+Aahbf0HlKjVXozxQDykmxtguEAZS0cIDwf+hYeUG/L lX0LT4rWJB4yLN0jfDhTwSYfI4AleCF3VRVLgVH/FXW/sx6zRsfLdNBpfPQB1QeXMfP4 RgYA== X-Gm-Message-State: AOAM530L5JjrYRc+0ogUPqydFFvfrfBT08KK9IYfUSCEB7+hItfC5zyY Jwu0is0qCWSn96y1leRKatxwmI7CcEGG78pvs+J1XZgzrSg= X-Google-Smtp-Source: ABdhPJzFs3j0ToVFbZnmmdTg+EIYgH/rY2uzjkdMr9M8NhJ0SbCOHIn3GOhPbVMFvXvA9AS28BARj0j+4lytt+gaUnE= X-Received: by 2002:a2e:a494:: with SMTP id h20mr7394874lji.252.1591973278412; Fri, 12 Jun 2020 07:47:58 -0700 (PDT) MIME-Version: 1.0 From: Georgia Panoutsakopoulou Date: Fri, 12 Jun 2020 17:47:47 +0300 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] Trouble locating functionality in code 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 all, I'm having trouble locating the part of code that associates a network card with the dpdk internally used port id. For example, when I bind two ports with pci slots 0000:86:00.0 and 0000:86:00.1 to dpdk driver igb_uio , how does dpdk populate this information and give a port id in each port? Is there a way to know this association without accessing dpdk structs by using functions like rte_eth_dev_get_name_by_port(portid, name)? I'm using dpdk app l2fwd and dpdk version 19.11. Thanks, Georgia