From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f172.google.com (mail-ua0-f172.google.com [209.85.217.172]) by dpdk.org (Postfix) with ESMTP id 977D52BFE for ; Fri, 8 Sep 2017 15:36:01 +0200 (CEST) Received: by mail-ua0-f172.google.com with SMTP id k23so3949230uaf.4 for ; Fri, 08 Sep 2017 06:36:01 -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=x28WRVM8e/aT8HG2grHSQNKOBb2SOhxSOWrQt+2ZytU=; b=vh3w3n2BmHp45Ym4BlgSPM8KHDjhLUHCHYRY3cTtH4c+zPzt581pkLljXKghlKtrxX EOD/PyAGzCS1WHuuylv9wIWmtjM2Na2guoq+3sMwPGgoxVEZWycqQ6YBaxt4xnWz8UXq irXkjQaWocMEZOMZXG9X3+o1TfS7vrqIcSLP28XXNE/BIuRYDbvoWJjcHhVeKm/Phras npX4C3Y8v2nH7kONHJygiHI+ykLmk6iZSEcv/LdR/3mWdYat7JhgKO6YaY+isszy6Abi BInMg5uHMeX3eVruTGUUByHN3x/JFLf1J0R0QCt4W2HMuZt6dFoSXMlUqgwphU3HOwYN S+yg== 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=x28WRVM8e/aT8HG2grHSQNKOBb2SOhxSOWrQt+2ZytU=; b=SA4iusQXbHGyZesg8WX3GjLah3wbu9r4d26IZHm8oC0qSZb1f9a+jyB5LM+44O8VkL jo/SJKxG+jI8g7UsO5NKUkpzjfxezRYAndooiHWJV4j4kaFbGopHWZD/LqoI/XXwlMmi Y2VBtmZpexxG0SGIOYfx+I8D8fG6yoxqjMlG4rhMFgeYJlW9Y3WAxq2b8WW8+ESOtxOo XwyzYJnutgMqzgfE7i6FaAoeNjPsyo7xg6nZJFs449WrocG7e73aGpm0lSKg7/2O4GGe 6U7gYBCuNUlkgeG0fodru6dMoeszF1VH18o+sHZSWw8C6pjynAgYDeCPTWd423w7HKpN eQjw== X-Gm-Message-State: AHPjjUh28OMIqzOpItPsoWPFQUwexXVomQGzRY8UWd/xLv956NerjEN7 Pwy2XU6Sweah88lZu9JksYRiF7E1EiCR X-Google-Smtp-Source: ADKCNb4YzeXa96tUNS3wnnoq5U+wEe8G5LaimeGR30TapGZRGqNPes3btkNZHPjGGa9MCKDvC84YkwgQzYPpuLHarpY= X-Received: by 10.176.22.49 with SMTP id k46mr2068501uae.66.1504877760414; Fri, 08 Sep 2017 06:36:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.172.8 with HTTP; Fri, 8 Sep 2017 06:35:59 -0700 (PDT) From: george.dit@gmail.com Date: Fri, 8 Sep 2017 06:35:59 -0700 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] Retrieve NIC vendor name using PCI vendor ID 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: , X-List-Received-Date: Fri, 08 Sep 2017 13:36:02 -0000 Hi all, I would like to ask how one could retrieve the name of a NIC's vendor using the PCI vendor ID. For example, is there any mapping between PCI_VENDOR_ID_INTEL and a const char* that returns e.g., "Intel"? Moreover, why are the vendor IDs redefined by DPDK instead of being reused from Linux ? It would be more convenient if a single RTE library could expose those IDs to the applications. Currently I see those IDs being spread across the different drivers. Thanks in advance, -- Georgios Katsikas Industrial Ph.D. Student Network Intelligence Group Decision, Networks, and Analytics (DNA) Lab RISE SICS E-Mail: georgios.katsikas@ri.se