From owner-freebsd-virtualization@freebsd.org Sun Nov 6 04:20:02 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1196CC322BC for ; Sun, 6 Nov 2016 04:20:02 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7AC61AC2 for ; Sun, 6 Nov 2016 04:20:01 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id i88so73263827pfk.2 for ; Sat, 05 Nov 2016 21:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=zbfTwCFgUhQmgpwsAAH4nUAjk/P57wSDxw+8qMoMd2o=; b=u/jdstiyt0ap0p6d6EMuOxnFqyPyE3lAgQ9gXGbBWubv+1G/5k9Fs8iagADlpxd1dK xyrXPcNze7uy3XVy9CnEbTwZeCe0q5jEwk62UsFgQXdTDRKD/LtOUui5yOrfHCBB2zl5 o63OxGO2u0XHhg5dkdZydPDDBvl4KBrz1lbLn9drs/wR2uZ1DJhVhC1k9sDlMr6CGdnR nd8QkUIWj2dkdu2lHv7nlgnx9tvzjqkJdLbWOgqGy44FekMAKnNArGQyYeNR9nLRt4AP V+ma0JiXjLuncR6fnswlExnqd3OevI4jDFRU67SupUWgfLOFt0O2mce841ZL9FSgX199 gAAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=zbfTwCFgUhQmgpwsAAH4nUAjk/P57wSDxw+8qMoMd2o=; b=NEbTahrb2n3WQ4fJf5FMvI0nweN+jqswSdkSpwCiuVfPBtsCBgrZAfaMdfwlSUKnI/ /xk912SgiA7gEIVSxD5Tvf2/6wX+7mVdc7Jsq49VULJtqZBIcuyum4tUQ+wfsKzEHVqN vlklvJEfrBPYoVLUSynIxKfRBTvDloS9fBIIDNTVjjjbycmVvPPCjACDc8J+2HF6RxEs ter4Ep8kTf+AexKK6ZxCiUbqZ4wbEOGtwW+QQyXtWmVMsEdV5w33KdGxfE8gJMDkrKHg JwDBad+7yrWBpgYYGRqj8t9fnPSIBZq3LaonvaoQ850PDLW5yK8FFW/172b/WCsgGlBN AJHA== X-Gm-Message-State: ABUngve6cig686IJbzoyGBxU6FnyCbHSipE6/aegVI7P49KipwBE3uZwjC5uFZhrmuqPkA== X-Received: by 10.99.167.67 with SMTP id w3mr1227876pgo.1.1478406000761; Sat, 05 Nov 2016 21:20:00 -0700 (PDT) Received: from ?IPv6:2601:2c2:200:12c7:202:c9ff:fe4e:1dc0? ([2601:2c2:200:12c7:202:c9ff:fe4e:1dc0]) by smtp.gmail.com with ESMTPSA id j68sm30510402pfk.95.2016.11.05.21.19.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Nov 2016 21:19:59 -0700 (PDT) To: freebsd-virtualization@FreeBSD.org From: Rajil Saraswat Subject: PCI pass-through does not work Message-ID: Date: Sat, 5 Nov 2016 23:19:55 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 04:20:02 -0000 Hello, Following the docs (https://wiki.freebsd.org/bhyve/pci_passthru), i specified pptdevs="3/0/0 3/0/1" in loader.conf for my onboard intel NICs. However, the ixgbe driver still picked up the devices and they appeared in the ifconfig output. Do i need to disable the ixgbe driver in the kernel? Here is the pciconf -v -l output ix0@pci0:3:0:0: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Controller 10-Gigabit X540-AT2' class = network subclass = ethernet ix1@pci0:3:0:1: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Controller 10-Gigabit X540-AT2' class = network subclass = ethernet Thanks, Rajil