From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by dpdk.org (Postfix) with ESMTP id 3E88A1D90 for ; Tue, 12 Dec 2017 08:17:12 +0100 (CET) Received: by mail-pf0-f178.google.com with SMTP id j28so13569399pfk.8 for ; Mon, 11 Dec 2017 23:17:12 -0800 (PST) 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=jyAiHm5s7popN9eBjwnED7hhbX1P5t9RTPHv37c/gf4=; b=dYTDjYVFVlDxqPtJsGJLJaZ2412LIOpQmt/2UyYZj9P0+jLhbE5b+s1QcdtXt+fbas 4+ZIw0aS79ri/BSn0ROOQg8pT8fi4XN6tEoitk0CqFSiUSvQWRZCGrW6e54vJU5cJvVy QBxv4Y96xZOOhsURS+lNbB9oQDsYp7xywth5Gaxut1pbzKRuYWvSThtn7+04ZP4WSPbC NoSIMTDjCMpO8z6w7f53tAsrBq/E9QtFMiC326VcFf9qFBh409OREr7EMlCvv/TJSdSq 76ER8MukTJzTLPoSNKG+jIHS82U8+/esagNKeECkXkRtNG5tFK2yY/Lvm194NqAguKZp xubQ== 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=jyAiHm5s7popN9eBjwnED7hhbX1P5t9RTPHv37c/gf4=; b=FMnb1mrxRDRD8YsvtbEghNc+5n/Fvqz1wEkFHtRt6e7aIoXCdcExRP5lwPT+Eq66FB gpsrWB7WrZT/jF9kvUF+KBDnnvcf7XO1oR19edcoB5otDVK3ob1uuQ5iAmX682U8Qvx2 nDE2RwUaf2DgWslR52q12mHohyExyvjqtjLDqJwiUHNCSH/2fkR+EiGBLQvvZLozJGsJ INW7hSaKqPEtPIDjPiR0uZZWIkx9WHlDdyqJ1U5v+xjNytLZBpohn1Hlx+Bgwz876aom 42fh7ciqEsFitUzVqwKfV4v0ULwGtVO+eQRxYuqdfdOeeKzmgu5Kfc4E0OQXG4f51kLa 2V7g== X-Gm-Message-State: AKGB3mLfgdQNq65XmtnNayfdhUBQLq/6qFaN67eMWj/VX7msBGua7yZG Qio7fVuiOpECUADVo3PvE2rQ6kUiLGg= X-Google-Smtp-Source: ACJfBouE5YSMoFVO6+WIxi9chCcSD30gmXlxNnxYPNhXxYXV4lf13Uys1BPeFsNF27unv8gm2TA9Gw== X-Received: by 10.98.46.7 with SMTP id u7mr1339283pfu.37.1513063031292; Mon, 11 Dec 2017 23:17:11 -0800 (PST) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id r13sm30470563pfl.157.2017.12.11.23.17.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2017 23:17:11 -0800 (PST) Date: Mon, 11 Dec 2017 23:17:09 -0800 From: Stephen Hemminger To: Pragash Vijayaragavan Cc: "Hristo.Trifonov" , "users@dpdk.org" Message-ID: <20171211231709.618fdf40@xeon-e3> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] port 0 not present on board error 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: Tue, 12 Dec 2017 07:17:12 -0000 On Mon, 11 Dec 2017 16:24:18 -0500 Pragash Vijayaragavan wrote: > $ ./l3fwd -l 1-4 > --no-huge -- -p 0x3 -L --config="(0,0,1),(1,0,2)" --ipv6 --parse-ptype > EAL: Detected 20 lcore(s) > EAL: Probing VFIO support... > EAL: Started without hugepages support, physical addresses not available Try setting up huge pages, that can help. > EAL: PCI device 0000:02:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1583 net_i40e > EAL: Requested device 0000:02:00.0 cannot be used Since you are using VFIO, that implies IOMMU support. With IOMMU on some systems the IOMMU channels overlap groups. See Linux kernel documentation vfio.txt for more information on how VFIO works and how to map out groups. When a device is in a group with another device, you must assign or unbind both devices in order for VFIO-PCI to work. On one system, I had unbind (which disabled) the on board NIC in order to use VFIO with a 10G or 40G device in the PCI-E slot since both NIC's shared the same group. Unfortunately, the easiest solution is just to find another system since this is a wiring/motherboard issue not something controlled by OS or BIOS. > EAL: PCI device 0000:02:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1583 net_i40e > EAL: PCI device 0000:04:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1583 net_i40e > EAL: Requested device 0000:04:00.0 cannot be used > EAL: PCI device 0000:04:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1583 net_i40e > EAL: PCI device 0000:08:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:08:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > L3FWD: Longest-prefix match selected > L3FWD: IPV6 is specifiednsoft parse-ptype is enabled > port 0 is not present on the board