From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 9999BA046B for ; Tue, 28 May 2019 16:02:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 84E884C99; Tue, 28 May 2019 16:02:19 +0200 (CEST) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 6FD6B1D7 for ; Tue, 28 May 2019 16:02:17 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id r22so8666481pfh.9 for ; Tue, 28 May 2019 07:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5RtJqS2RC1cwn68igtpot8CPT5UtHfzV3L/VyPH1BSk=; b=Za/wbfO7LBu3q6vctpGExjWa5kO7ilS7Hj1pILO3HfJjCPl/ZFI0pjGUTukbmvGb/O B576eCxc3pjI0j4Ur9/fWmbhWx+kJigTXZPNChk1fQh5UnEqexT082eBwcfsmpmo+o+K DeromFyli8nVClTAWwn0AphctAq0a7+HTy/CUAU1UPctFlKI7q20revxetX4XmhCH+7+ Mh649c6fpU4PkPjY8HF7rydrxwfU8wKDuzVVsSBRea4tDBsBpld0jjmETDySzjUEiQ/U AoX0I/NazCTCH6JJA3nqsWECmod1bn9Dd/TStyozNgWdQqgAIa9dF/JfjvDrHyMoexiu PXow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5RtJqS2RC1cwn68igtpot8CPT5UtHfzV3L/VyPH1BSk=; b=HnPtw/tXUEFQOgg8bNjeBC04PhuUO/qenRr5jdDJrN6oWjJ9aQGKWVX67S/6a/PfeJ V2iFZJm4pgBY+N1WWB+abvl4rxN0Ml38+2DViIT8oZBCj9KZmsMJnGoHkLaNcLm5iCBw ddmglBkSkpydT1yZz10Lh7JSLZ0PPi70auCXv7JEpVE6YgllPG9GLfg1f6q39yCi6/b1 qTdhIpZqcAGqG4JMmm0M5Voc6iytaNlD5179xvUBb2U6P0GTIUHNWtiKWjTYOPMIqBLa kwB0Yz5FX3stgNBTWuVJJWu3MGD6rlZiNl3bPRxHnbs5bMVyG2bH7r/dTqJJt8+1F0xB llPQ== X-Gm-Message-State: APjAAAUtrX8A2XyB1j7b4UamRAaSvPpFY1CEo+ZP+AEx4xLM0jV9m8sf gsYzzuaqWqEaDW9O7ynd0KvPow== X-Google-Smtp-Source: APXvYqxVBbAUZVhue2GfSSD0ZOv/CDuXeBGeZbNyVvS9O6tzrtEFQsrEHxRcQcb6NJ3kFDMzYFOOHg== X-Received: by 2002:a63:cf:: with SMTP id 198mr131669327pga.228.1559052136442; Tue, 28 May 2019 07:02:16 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id e66sm17560139pfe.50.2019.05.28.07.02.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 May 2019 07:02:16 -0700 (PDT) Date: Tue, 28 May 2019 07:02:14 -0700 From: Stephen Hemminger To: Sara Gittlin Cc: users@dpdk.org Message-ID: <20190528070214.0920c905@hermes.lan> In-Reply-To: References: <20190527075203.5a08c48d@hermes.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] pktgen - !PANIC!: *** Did not find any ports to use *** 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" On Tue, 28 May 2019 08:33:35 +0300 Sara Gittlin wrote: > Hello > According the dpdk release notes - my NIC - Onboard NIC: *Intel(R) > X552*/X557-AT > (2x10G) was tested > > Tested Platforms > > ---------------- > > > #. SuperMicro 1U > > > - BIOS: 1.0c > > - Processor: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz > > > #. SuperMicro 1U > > > - BIOS: 1.0a > > - Processor: Intel(R) Xeon(R) CPU D-1540 @ 2.00GHz > > *- Onboard NIC: Intel(R) X552/X557-AT (2x10G)* > > Thank you > > -Sara > > On Mon, May 27, 2019 at 5:56 PM Sara Gittlin wrote: > > > Thank you Stephen > > i can run pktgen on the host with same 2 VF's > > Regards > > -Sara > > > > > > On Mon, May 27, 2019 at 5:52 PM Stephen Hemminger < > > stephen@networkplumber.org> wrote: > > > >> On Mon, 27 May 2019 17:44:17 +0300 > >> Sara Gittlin wrote: > >> > >> > Hello , > >> > I'm running pktgen on a ubuntu-16.0p4 VM w 3 CPU's, > >> > I added 2 SRIOV VFs devices to the VM - and i can see them w lspci or > >> > dpdk-devbind --status > >> > 00:08.0 Ethernet controller: Intel Corporation Ethernet Connection X552 > >> > Virtual Function > >> > 00:09.0 Ethernet controller: Intel Corporation Ethernet Connection X552 > >> > Virtual Function > >> > >> Most likely these devices are missing/not supported by DPDK driver. > >> Look at the numeric id's (lspci -n) and compare them with the list > >> of pci ids in the driver source. > >> > >> In the past with Intel devices it also helped to look at the Linux > >> kernel driver. Sometimes the missing id's were there and some small > >> changes to the MAC code was necessary to get them to work. Walking backwards from PCI to device. 1. The PCI id table for lspci is in /usr/share/misc/pci.ids The entry for X552 is: 15a9 X552 Virtual Function Therefore the PCI vendor:device is 8086:15a9 4. On Linux this device is under ixgbevf as #define IXGBE_DEV_ID_X550EM_X_VF_HV 0x15A9 static const struct pci_device_id ixgbevf_pci_tbl[] = { {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_VF), board_82599_vf }, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_VF_HV), board_82599_vf_hv }, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540_VF), board_X540_vf }, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540_VF_HV), board_X540_vf_hv }, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550_VF), board_X550_vf }, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550_VF_HV), board_X550_vf_hv }, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_VF), board_X550EM_x_vf } {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_VF), board_x550em_a_vf }, /* required last entry */ {0, } }; Conclusion: you are using X552 on Hyper-V. 5. In DPDK, similar table is ixgbe_ethdev. /* * The set of PCI devices this driver supports (for 82599 VF) */ static const struct rte_pci_id pci_id_ixgbevf_map[] = { { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_VF) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_VF_HV) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540_VF) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540_VF_HV) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550_VF_HV) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550_VF) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550EM_A_VF) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550EM_A_VF_HV) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550EM_X_VF) }, { RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550EM_X_VF_HV) }, { .vendor_id = 0, /* sentinel */ }, }; So the device is supported... A different possibility is that since you are running on Hyper-V (at least according to the device ids) is that vdev_netvsc device is trying to setup tap failsafe and messing the port numbers around. Try disabling it by setting this in the config. CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n PS: Top posting is not preferred on open source mailing lists.