From owner-svn-src-all@FreeBSD.ORG Sun Mar 1 01:02:52 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84F31309; Sun, 1 Mar 2015 01:02:52 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (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 53DF5630; Sun, 1 Mar 2015 01:02:52 +0000 (UTC) Received: by iebtr6 with SMTP id tr6so39756788ieb.10; Sat, 28 Feb 2015 17:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qfSNgpGskJtBZolhOtZZYffa01OlX34LonczvNkoAmU=; b=Jb0j/O7E+v/R4CWz+K8of+IByNY5znzbonAPwv9Sm+X/JNLApR0g4ulVHZGOCOPIMC HtR/xKDWRNBsRXRtyonui2iYBkU9OK2kXP7AWeaZyglPbaAOLM4Lmh+kfMW0YehjOdC+ b32j4laYmXdtESTT/USohMjUgYfZdC4dBF3Qzhsz37aJDeRtzsytO52rQf/ryl7osSYm c2pPXFKB/TxzIqPgg+aOdf5ayTyEqgoIaEShRCFBUZAK3BLQhv/JMkgYFMfU0KkY+rWR a3o8UVWP7aM51avF+3qhnX3seAmRkl5t7BadV5XYuLkwZm9ywwSiOzSVz72dt4vWSMQE O70w== MIME-Version: 1.0 X-Received: by 10.107.168.5 with SMTP id r5mr27444871ioe.87.1425171771133; Sat, 28 Feb 2015 17:02:51 -0800 (PST) Received: by 10.107.156.75 with HTTP; Sat, 28 Feb 2015 17:02:51 -0800 (PST) In-Reply-To: <201503010059.t210xaDk001287@svn.freebsd.org> References: <201503010059.t210xaDk001287@svn.freebsd.org> Date: Sat, 28 Feb 2015 20:02:51 -0500 Message-ID: Subject: Re: svn commit: r279466 - head/usr.sbin/pciconf From: Ryan Stone To: Ryan Stone Content-Type: text/plain; charset=UTF-8 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2015 01:02:52 -0000 Here's some sample output for the capability: ecap 0010[160] = SR-IOV 1 IOV enabled, Memory Space enabled, ARI enabled 4 VFs configured out of 128 supported First VF RID Offset 0x0010, VF RID Stride 0x0001 VF Device ID 0x154c Page Sizes: 4096 (enabled), 8192, 65536, 262144, 1048576, 4194304 Please note that this looks at the standard PCIe capability in the device, and so it cannot be used to check whether a device driver supports SR-IOV in FreeBSD. To see what devices have SR-IOV supported enabled on your machine, check for device nodes in /dev/iov.