From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173]) by dpdk.org (Postfix) with ESMTP id A047D2BF1 for ; Sun, 18 Mar 2018 17:51:24 +0100 (CET) Received: by mail-qt0-f173.google.com with SMTP id h4so9917215qtn.13 for ; Sun, 18 Mar 2018 09:51:24 -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=6DDSxynMctF6bZRlAOhoJmUaqy7LYPym/57tg6cUovk=; b=sKnvj/n/1wE8mR0DznH2bBH3FPlASOvF+iALMv7IuCfwYlD2Ph869lUxgBmw4vgnKC zD0lLMHQcx/J0QyomtzDvrLZtm7Rt7WlzBsXI5tYKk/RswjHsE6Ghxpq1/XgG5ecrLm+ 0VsIbIiIUzTuhjR/TjMuLZOGsPmX6qUK8uvxcb6QObNE3+2IR3PbS7xjsnzCz3y/kAQb p0QXGXoGS9gVUaLr2F72qlA2b2tYDggX0d9I5D/x6FCzaYT4bmtRylbKST089hseQNKH P9zSPMshLdJU2MS8pHw2zQK/twYls2n2eNVOk8fLJeuVBg+GH2FvG+GhcGmE6usEPFOG ZA0Q== 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=6DDSxynMctF6bZRlAOhoJmUaqy7LYPym/57tg6cUovk=; b=pAJtwDYWQB+H5uxdEgAlNwJlKa6sLedHefMzZmBq86X51WSe9kFmskFrviE+X7qudz Xhj0+9/ytTauoTirkeq9owWXtCwPA8VB5N0R2CQP0lHMC97i4lddS8BrWBaek/FsPxqY iVHpCgz/2BbdUS04YvtEomJSpBUivwheRBrNFCmAjZIApnQpWleWJ0vqOQ5RlHPsKiP0 j0jpucmj2ok3ri+McP/LFGPxLlQo5WZ7ppU8DpSU0W/pylEUwT8qM86j9fwMhh8Z+fyU IEn/jJWqwN2Zn2hN28sKKSr30Yr35fko9sCLJGRGBSd3EzsD3UYeFCCCAK3nV4nZJHp8 W/FQ== X-Gm-Message-State: AElRT7FCoghrN8g8PvRnKO5LemDbA9ZL9biVBatqN5/E432OkEi9pQj3 9vQtgl+T6HBebAIM1VTAaFwuPnh6bZw4XVZ5tg/xYvzo X-Google-Smtp-Source: AG47ELt5OxmgBD+V35Wdcj7rj66zelTyIXqVb2KgytkYzZ0G83v6jyfE/a1cXS+t57se7kO9mhF1TP8z0dBMQ+hipP8= X-Received: by 10.200.14.205 with SMTP id w13mr13607781qti.284.1521391883907; Sun, 18 Mar 2018 09:51:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.37.208 with HTTP; Sun, 18 Mar 2018 09:51:23 -0700 (PDT) From: Anupama Laxmi Date: Sun, 18 Mar 2018 22:21:23 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Intel SRIOV Virutalization using DPDK 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: Sun, 18 Mar 2018 16:51:24 -0000 Hi, These are the 10 G NIC cards on the host machine: lspci | grep 10-G 04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) 04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) *One Physical Function * per Intel=C2=AE 82599 10 Gigabit Ethernet Controll= er NIC port and *63 Virtual Functions* assigned to each physical function. With DPDK SRIOV the application on the guest machine during initilailization does pci probe and get the internal pci address of the Virtual functions (assigned to the VM). Below DPDK API's being used: rte_eal_init rte_pci_probe() rte_eth_dev_count(); Based on the virtual function pci address/ mac address or other means I want to obtain the physical NIC port its assigned to on the host machine. Is there a way to determine the physical function/physical port from the virtual function based on system commands or DPDK api's ? Also can these 10G NIC cards/ports be UP at the same time ? Can Virtual Machine scan the Vf's from both 10 G NIC cards at the same time ? Or only one of those 10G NIC cards can be UP at a time ? Please let me know. Best Regards, Anupama